You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Move E2E scorecard orchestration into the scorecard modules #6963
The E2E scorecard job already delegates trace timing, job summarization, and Slack block construction to scripts/scorecard/, but 113 lines of scorecard orchestration and 28 lines of Slack publication remain inline in .github/workflows/e2e.yaml.
Issue #6927 owns the module-format migration of the existing scorecard files. This task begins after that boundary is settled.
Work
Add a directly testable scorecard coordinator to the existing scorecard owner.
Move run-mode parsing, requested-selector rendering, summary assembly, output payload creation, and Slack response validation out of YAML.
Keep secret selection and the decision to expose webhook secrets only on refs/heads/main declarative in the workflow.
Preserve the separate no-secret compute step and fixed secret-bearing publisher.
Scheduled, full manual, and selective runs retain the same counts, failed-job links, trace warning behavior, channel selection, fallback text, and Slack blocks.
The publisher accepts only the precomputed allowlisted channel/payload shape and never loads workflow-ref code through GITHUB_WORKSPACE.
Webhook secrets remain unavailable to branch-dispatched runs and selective preview posts remain opt-in.
Direct module tests replace workflow-source execution tests where behavior moved.
npm run typecheck:scorecard, focused E2E-support tests, and npm run typecheck:cli pass.
Activity
refactor(ci): move E2E scorecard orchestration into a coordinator mod…