Skip to content

feat(common): add modified_since to StartProjectReindexPayload#1388

Open
ebarroca wants to merge 1 commit into
release/1.3from
perf/zeno-bulk-indexer
Open

feat(common): add modified_since to StartProjectReindexPayload#1388
ebarroca wants to merge 1 commit into
release/1.3from
perf/zeno-bulk-indexer

Conversation

@ebarroca

Copy link
Copy Markdown
Contributor

Summary

Adds an optional modified_since?: string (ISO-8601 datetime) field to StartProjectReindexPayload. When set, the reindex workflow processes only documents whose updated_at is >= the supplied time and writes in-place into the live alias's current index — no fresh versioned target, no alias swap. Omit for the existing full-reindex behavior.

Mirrors the modified_since parameter already supported by fullProjectReindexWorkflow in the studio repo; this exposes it through the public payload type so the client SDK and admin UI can plumb it through.

Companion PR

This is the submodule half of vertesia/studio#5367, which:

  • Plumbs modified_since through POST /reindex in zeno-server
  • Adds a date-picker modal to the admin reindex UI in composable-ui (full reindex stays the default — set a date for incremental)

The studio PR pins the submodule pointer to this branch tip.

Backwards compatibility

Optional field, omitted in existing callers → full reindex (current behavior). No breaking change.

Test plan

  • Already validated end-to-end on the studio-side branch deployment against a 16k-doc project: incremental + full-reindex paths both succeed, alias topology preserved correctly for each mode.
  • Reviewer can grep for modified_since to confirm the field surfaces in generated openapi / client typings consumers in the parent repo.

🤖 Generated with Claude Code

@ebarroca
ebarroca requested a review from a team as a code owner May 31, 2026 01:24
ISO-8601 datetime that, when set, scopes a project reindex to documents
whose updated_at is >= the supplied time. Writes in-place into the live
alias's current index (no fresh versioned target, no alias swap), mirroring
the modified_since path already supported by FullProjectReindexWorkflow.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@ebarroca
ebarroca force-pushed the perf/zeno-bulk-indexer branch from f8c25a1 to c099e31 Compare June 2, 2026 01:18
@ebarroca
ebarroca changed the base branch from main to preview June 2, 2026 01:18
@mincong-h
mincong-h changed the base branch from preview to release/1.3 June 23, 2026 09:59
@github-actions

Copy link
Copy Markdown
Contributor

This pull request has been marked as stale due to inactivity for 30 days.

If this is still a priority, please add a comment or push an update to keep it active.

Otherwise, it may be closed to keep the backlog manageable.

@github-actions github-actions Bot added the stale label Jul 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant