Repository navigation
Delphi on Postgres: queue runs, run-bound results, readers behind a switch - #3004
Closed
colinmegill wants to merge 6 commits into
Closed
colinmegill wants to merge 6 commits into
colinmegill wants to merge 6 commits into
Conversation
…3, 24, 27) The migration runner returns with the deploy sequence production needs: a one-time reconcile records the existing schema, then apply adds only the release's migrations (the job queue, Delphi job records, the large-job lane, and per-step job runs). Migrations run before old services stop, so a refusal leaves the previous version serving. The server refuses to start while a migration in the release is pending. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018NVGBuYCk4EZmiz4csUv9s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018NVGBuYCk4EZmiz4csUv9s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018NVGBuYCk4EZmiz4csUv9s
…ind a switch Delphi runs through the job queue as dependent per-step jobs; each step's result is stored in Postgres tied to its run. Readers (server routes, the report) can read from Postgres behind a switch that defaults to DynamoDB, so merging changes nothing until the switch is turned on. An importer command copies existing DynamoDB results into the new tables; it is not run automatically. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018NVGBuYCk4EZmiz4csUv9s
…d at the default) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018NVGBuYCk4EZmiz4csUv9s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018NVGBuYCk4EZmiz4csUv9s
Member
Author
|
Superseded by the rebuild on edge. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #3003 (Release B).
Observable changes: none by default. The reader switch defaults to DynamoDB; Delphi's queue path and the importer are present but inactive until turned on.
What it adds: Delphi through the queue as dependent per-step jobs (embeddings, clusters, topics, narrative); results stored in Postgres tied to their run; server routes and the report able to read them behind the switch; an importer command for existing DynamoDB results.
Proof (work box): the end-to-end scenario passes with DynamoDB stopped (math verified, per-step retries, nine result families bound to four runs, three report routes in a browser, importer 34 imported / 5 archived / 1 quarantined); default replay 272/272 byte-exact. The full server unit suite was flaky on the box (varying failures, a native Jest crash); hosted CI is the witness here, and the box flakiness is tracked separately.
🤖 Generated with Claude Code
https://claude.ai/code/session_018NVGBuYCk4EZmiz4csUv9s