fix(ci): retain failed Telegram QA evidence (#105367)

* fix(ci): retain failed Telegram QA evidence

* docs(agents): clarify gh jq boundary

* docs(agents): require full checkout SHAs

* docs(agents): quote zsh Git object refs
This commit is contained in:
Peter Steinberger
2026-07-12 14:09:07 +01:00
committed by GitHub
parent a8b3a51f01
commit eb9bd4e457
3 changed files with 16 additions and 1 deletions

View File

@@ -550,6 +550,13 @@ describe("release Telegram QA workflow", () => {
expect(
runStep?.run?.indexOf("run_qa_attempt preflight --scenario channel-canary"),
).toBeLessThan(runStep?.run?.indexOf("for attempt in 1 2") ?? -1);
const finalizeStep = job?.steps?.find(
(step) => step.name === "Finalize trusted Telegram process-boundary evidence",
);
expect(finalizeStep?.env?.RUN_LANE_OUTCOME).toBe("${{ steps.run_lane.outcome }}");
expect(finalizeStep?.run).toContain('--arg runLaneOutcome "$RUN_LANE_OUTCOME"');
expect(finalizeStep?.run).toContain('if $runLaneOutcome == "success" then 2 else 1 end');
});
it("serializes stderr behind the workflow-command pause", () => {