Skip to content

ci(sap-e2e): upload the run bundle flowproof already writes - #481

Open
HappyDevs1 wants to merge 1 commit into
mainfrom
ci/sap-e2e-upload-diagnostics
Open

ci(sap-e2e): upload the run bundle flowproof already writes#481
HappyDevs1 wants to merge 1 commit into
mainfrom
ci/sap-e2e-upload-diagnostics

Conversation

@HappyDevs1

Copy link
Copy Markdown
Collaborator

Summary

  • The nightly sap-e2e job has failed every cron-triggered run since 2026-07-31 (15/15). A manual workflow_dispatch run outside that window passed cleanly, all four flows green — which points at a nightly SAP-side maintenance/batch window colliding with the 0 3 * * * schedule, not a flowproof regression.
  • Diagnosing this required inferring the cause from console text alone. flowproof run already writes per-step PNG frames and report.html into the suite's run directory on every invocation (--recording-detail defaults to full) — the workflow just never kept that bundle past the job, so the actual failing SAP screens were never available to look at.
  • This adds one actions/upload-artifact@v4 step, if: always(), pointed at examples/sap/.flowproof/runs/ — no application code changes. Retention is set short (14 days) since the frames are real screens off the reference SAP system and may show live order/material data.

Test plan

  • sap-e2e.yml YAML validated locally (python3 -c "import yaml; yaml.safe_load(...)")
  • Next scheduled or manually dispatched run on the sap self-hosted runner uploads a sap-e2e-run-<run_id> artifact containing report.json / report.html / frame PNGs, including on failure
  • Confirm artifact retention/visibility is acceptable given it may contain reference-system business data (order numbers, material names)

🤖 Generated with Claude Code

The nightly sap-e2e job has failed every cron-triggered run since
2026-07-31 (a manual dispatch outside that window passes cleanly, which
points at a nightly SAP-side maintenance/batch window rather than a
flowproof regression). Diagnosing it required inferring from console
text alone: flowproof run already captures per-step PNG frames and a
report.html into the suite's run dir on every invocation
(recording-detail defaults to full), but the workflow never kept that
bundle past the job, so the actual failing screens were never available
to look at.

Upload examples/sap/.flowproof/runs/ as a build artifact, unconditionally,
so the next failure comes with the frames instead of a guess.
Copilot AI lite review requested due to automatic review settings August 14, 2026 07:59

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

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.

2 participants