Skip to content

Add operation spans for deploy journey stages - #5321

Open
benbjohnson wants to merge 2 commits into
masterfrom
benbjohnson/deploy-journey-stage-spans
Open

benbjohnson wants to merge 2 commits into
masterfrom
benbjohnson/deploy-journey-stage-spans

Conversation

@benbjohnson

Copy link
Copy Markdown
Contributor

Deploy journey analysis currently has to reuse planning or image-preparation spans for logical stages that have no operation span of their own. Add deployment_configuration, validate_image_inputs, deployment_readiness, and finalize_deployment spans so those stages can report their own duration and outcome.

Readiness wraps checks per Machine in both the normal and recovery rollout paths. The normal state wait also gains wait_for_machine_state, matching the recovery path. Finalization contains the terminal release update, statics finalization/cleanup, and DNS checks; nonfatal finalization errors mark this span without changing command success. Existing deployment ordering and returned errors are preserved.

Validation: deploy package tests pass with a temporary FLY_CONFIG_DIR; full flyctl binary builds. Tests verify configuration/finalization ancestry, validation error recording, and readiness ancestry in both rollout paths.

Changes: non-test code +141 / -82 lines; test code +96 / -0 lines.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 24, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-24T01:30:45.405688Z 8aecf40 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

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