Skip to content

[upstream-sync] Support attachment providers for target states (upstream PR #1745) #100

@github-actions

Description

@github-actions

Upstream Change Summary

Type: architectural-change
Difficulty: Medium
Recommendation: Adopt

Upstream introduced "attachment providers" for target states in rust/core/src/engine/target_state.rs. This is an architectural extension to the target state subsystem (which already tracks destructive/lossy changes per upstream PR #1736, tracked in recoco as #36). Attachment providers allow targets to supply additional state metadata during execution.

Upstream References

Relevant Upstream Files / Areas

  • rust/core/src/engine/target_state.rs — attachment provider trait and integration
  • rust/py/src/target_state.rs — Python binding layer (exclude from recoco)

Recoco Considerations

Integration Notes

This is part of a larger set of target state architectural changes in the v1 alpha series. Related upstream changes include #1739 (reprocessing on target_id/schema_version) and #1740 (child_invalidation on all targets) — both of which are Python-connector-only but conceptually related. This specific change has Rust core impact and should be adopted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    claudeCreated or actioned by Claude AIupstream-syncIssues for syncing updates with our upstream (cocoindex-io/cocoindex)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions