Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/staging-debug-release-train.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ concurrency:
jobs:
debug:
outputs:
artifact-upload: ${{ steps.debug_upload.outcome }}
artifact_upload: ${{ steps.debug_upload.outcome }}
runs-on: ubuntu-latest
timeout-minutes: 180
environment: staging-debug
Expand Down Expand Up @@ -191,7 +191,7 @@ jobs:
printf '{"outcome":"%s"}\n' "${{ needs.debug.result }}" > artifacts/staging-debug/debug-job-result.json
printf '{"outcome":"%s"}\n' "${{ steps.download.outcome }}" > artifacts/staging-debug/evidence-download-result.json
printf '{"outcome":"%s","productionPromotion":false,"stagingWorkflowRerun":false}\n' "${{ needs.debug.result }}" > artifacts/staging-debug/result.json
printf '{"outcome":"%s"}\n' "${{ needs.debug.outputs.artifact-upload }}" > artifacts/staging-debug/debug-artifact-upload-result.json
printf '{"outcome":"%s"}\n' "${{ needs.debug.outputs.artifact_upload }}" > artifacts/staging-debug/debug-artifact-upload-result.json
- name: Upload complete staging-debug evidence
id: final_upload
if: always()
Expand Down
6 changes: 3 additions & 3 deletions reports/release-manifest-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
},
{
"path": ".github/workflows/staging-debug-release-train.yml",
"sha256": "3218c5a3e36935ee3cab37c41527ca16696da1dd2115464bc3e13367e3afb874",
"sha256": "b9f0a7c014d9d4b50699209009c46d9cf68e68787e10baffc324f941cc0edb1d",
"sizeBytes": 12070
},
{
Expand Down Expand Up @@ -617,8 +617,8 @@
},
{
"path": "tests/baseline/ross-staging-debug.test.mjs",
"sha256": "e7544cb854f08bec817878f107a90c9fde8de14cc654c08f8cc2b266b6935f66",
"sizeBytes": 20673
"sha256": "f6be049d97023ca7f01193d357dc02f4b5bb14c23fdf675f824961dfa2285d7d",
"sizeBytes": 20903
},
{
"path": "website/package-lock.json",
Expand Down
3 changes: 3 additions & 0 deletions tests/baseline/ross-staging-debug.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ test("debug workflow is diagnostic, cleanup-safe, and cannot promote", () => {
assert.match(workflow, /cleanup:[\s\S]*needs: debug[\s\S]*staging-debug-lifecycle\.sh cleanup/);
assert.match(workflow, /Immediate defensive cleanup in approved staging context[\s\S]*if: always\(\)/);
assert.match(workflow, /cleanup:[\s\S]*FLY_API_TOKEN: \$\{\{ secrets\.STAGING_FLY_CLEANUP_TOKEN \}\}/);
assert.match(workflow, /artifact_upload: \$\{\{ steps\.debug_upload\.outcome \}\}/);
assert.match(workflow, /needs\.debug\.outputs\.artifact_upload/);
assert.doesNotMatch(workflow, /needs\.debug\.outputs\.artifact-upload/);
const fallback = workflow.slice(workflow.indexOf(" cleanup:"));
assert.doesNotMatch(fallback, /environment: staging-debug/);
assert.match(workflow, /STAGING_SUPABASE_URL/);
Expand Down