Skip to content

Track pending app release transitions#397

Merged
kacy merged 2 commits intomainfrom
feat/release-lifecycle-phase3
Apr 9, 2026
Merged

Track pending app release transitions#397
kacy merged 2 commits intomainfrom
feat/release-lifecycle-phase3

Conversation

@kacy
Copy link
Copy Markdown
Owner

@kacy kacy commented Apr 8, 2026

Summary

Track app release rows through an explicit pending-to-in-progress transition before terminal apply outcomes.

What Changed

  • create local and cluster app release rows as pending
  • move the shared apply executor to mark in_progress only when backend work begins
  • simplify the shared apply lifecycle tests with common tracker helpers

Why

Phase 3 rollout-state work needs release lifecycle state to reflect execution timing instead of treating row creation as work already in progress.

Validation

  • YOQ_SKIP_SLOW_TESTS=1 zig build test -Doptimize=ReleaseSafe -Dtest-filter='execute marks completed releases on backend success'
  • YOQ_SKIP_SLOW_TESTS=1 zig build test -Doptimize=ReleaseSafe -Dtest-filter='recordAppReleaseStart stores app-scoped deployment metadata'
  • YOQ_SKIP_SLOW_TESTS=1 zig build test -Doptimize=ReleaseSafe -Dtest-filter='app apply route preserves partially failed release metadata across reads'
  • YOQ_SKIP_SLOW_TESTS=1 zig build test -Doptimize=ReleaseSafe -Dtest-filter='execute marks failed releases on backend error'
  • YOQ_SKIP_SLOW_TESTS=1 zig build test -Doptimize=ReleaseSafe -Dtest-filter='app apply then rollback routes preserve release transition metadata'
  • git diff --check

@kacy kacy marked this pull request as ready for review April 9, 2026 01:19
@kacy kacy merged commit ca63e5f into main Apr 9, 2026
6 of 7 checks passed
@kacy kacy deleted the feat/release-lifecycle-phase3 branch April 9, 2026 01:19
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