Skip to content

refactor: update node type registry for per-field _updated_at timestamps#1156

Merged
pyramation merged 2 commits into
mainfrom
feat/per-field-updated-at-tracking
May 14, 2026
Merged

refactor: update node type registry for per-field _updated_at timestamps#1156
pyramation merged 2 commits into
mainfrom
feat/per-field-updated-at-tracking

Conversation

@pyramation
Copy link
Copy Markdown
Contributor

@pyramation pyramation commented May 14, 2026

Summary

Removes stale_strategy and include_updated_at_field parameters from the node type registry for SearchVector, DataFileEmbedding, and DataImageEmbedding. The SQL generators now always create {field_name}_updated_at with no configuration needed.

What changed:

  • SearchVector: removed stale_strategy (was column/null/hash) and include_updated_at_field params, updated description
  • DataFileEmbedding: removed stale_strategy and include_updated_at_field params
  • DataImageEmbedding: removed stale_strategy and include_updated_at_field params

Review & Testing Checklist for Human

Risk: green — TypeScript-only changes, removing parameters that the SQL generators no longer accept.

  • Verify no existing blueprints in production use stale_strategy or include_updated_at_field (if any do, they'll be silently ignored by the SQL generator since it no longer reads those keys)

Notes

  • Companion PR: constructive-io/constructive-db#1148 (SQL generators)
  • Closes constructive-io/constructive-planning#849

Link to Devin session: https://app.devin.ai/sessions/2b5a29d83d3f478e8d3d972653b4879c
Requested by: @pyramation

Part of constructive-planning#849

- SearchVector: include_stale_field -> include_updated_at_field,
  descriptions updated for {field_name}_updated_at timestamptz
- DataFileEmbedding: same parameter rename and description updates
- DataImageEmbedding: same parameter rename and description updates
- All stale_strategy descriptions updated to reflect new field naming
@devin-ai-integration
Copy link
Copy Markdown
Contributor

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

…e type registry

Simplifies SearchVector, DataFileEmbedding, and DataImageEmbedding:
- Remove stale_strategy parameter (was column/null/hash)
- Remove include_updated_at_field parameter
- _updated_at timestamp is now always created by the SQL generator
- Update description to reflect simplified behavior
@pyramation pyramation merged commit ca5bc98 into main May 14, 2026
37 checks passed
@pyramation pyramation deleted the feat/per-field-updated-at-tracking branch May 14, 2026 06:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant