Repository navigation
Promote edge to stable: deploy reconciles, then applies the job tables - #3005
Merged
Merged
Conversation
* migrations: the deploy reconciles, then applies the job tables (19, 23, 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 * migration runner tests: wording Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018NVGBuYCk4EZmiz4csUv9s * job table tests: expect the per-step job contract exactly 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>
…ables Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018NVGBuYCk4EZmiz4csUv9s
Delphi Coverage Report
|
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.
Ships #3003 only (edge was stable plus #3003).
Observable changes: on deploy, before stopping the old version, the migration runner reconciles once (records the existing schema as applied) and applies 19, 23, 24 and 27: new empty job-system tables. Nothing existing changes. The server refuses to start while a release migration is pending. If the runner refuses, the previous version keeps serving.
Rollback: redeploy the previous stable; the added tables are unused by it.
🤖 Generated with Claude Code
https://claude.ai/code/session_018NVGBuYCk4EZmiz4csUv9s