Skip to content

Fix Smoke Services probe setup ordering - #11314

Merged
lpcox merged 2 commits into
mainfrom
copilot/fix-smoke-services-probe-order
Nov 8, 2026
Merged

lpcox merged 2 commits into
mainfrom
copilot/fix-smoke-services-probe-order

Conversation

Copilot AI commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

Smoke Services invoked its sandbox probe before AWF installation and local image preparation, causing shell expansion to fail on unset AWF_SMOKE_IMAGE_TAG before any service checks ran.

  • Ordering: Update compiler post-processing and regenerate the lock so execution follows: AWF installation → smoke-image preparation → connectivity probe → Copilot.
  • Regression coverage: Assert all prerequisites precede the probe, relocation is idempotent, and the exported run-specific tag reaches Redis PING, PostgreSQL readiness, and SELECT 1 through mocked process boundaries.
  • Constraints: Preserve the probe command, timeout, domain allowlist, and restricted host-service ports 5432,6379.

Copilot AI changed the title [WIP] Fix smoke services probe runs before AWF smoke images initialize Fix Smoke Services probe setup ordering Nov 8, 2026
Copilot AI requested a review from lpcox November 8, 2026 16:33
@lpcox
lpcox marked this pull request as ready for review November 8, 2026 16:51
Copilot AI adaptive review requested due to automatic review settings November 8, 2026 16:51

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues were identified for the change that places the Smoke Services connectivity probe after prerequisite setup and before Copilot execution.

No open issues 🎉

What changed in this PR

Fixes #11313 by moving the Smoke Services connectivity probe after AWF installation and local image preparation, while keeping it before Copilot execution.

Changes:

  • Updates compiler post-processing and the generated lock to enforce prerequisite ordering.
  • Adds regression coverage for ordering, idempotent relocation, and run-specific image-tag propagation through mocked service checks.
  • Preserves the probe command, timeout, domain allowlist, and restricted host-service ports 5432,6379.
File Description
scripts/​ci/​smoke-services-workflow.test.ts Checks prerequisite ordering and idempotent probe relocation.
scripts/​ci/​smoke-image-preparation.test.ts Checks prepared-tag propagation and all three mocked service checks.
scripts/​ci/​apply-general-workflow-patches.ts Relocates the probe immediately after smoke-image preparation.
.github/​workflows/​smoke-services.lock.yml Applies the corrected execution order in the generated workflow.

Review effort: Balanced (auto)

@github-actions

github-actions Bot commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

✅ Copilot review passed with no inline comments.

@copilot Add the ready-for-aw label to this PR to trigger agentic CI smoke tests.

@lpcox
lpcox merged commit 7f65cca into main Nov 8, 2026
34 of 39 checks passed
@lpcox
lpcox deleted the copilot/fix-smoke-services-probe-order branch November 8, 2026 17:28
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.

fix: Smoke Services probe runs before AWF smoke images initialize AWF_SMOKE_IMAGE_TAG

3 participants