Skip to content

Reintroduce compiler matrix support (exclude imported discussion categories) - #39737

Closed
pelikhan with Copilot wants to merge 3 commits into
mainfrom
copilot/recreate-matrix-support
Closed

pelikhan with Copilot wants to merge 3 commits into
mainfrom
copilot/recreate-matrix-support

Conversation

Copilot AI commented Jun 17, 2026 •

Copy link
Copy Markdown
Contributor

This PR restores matrix compilation support from #39725, with one explicit constraint: imported on.discussion.categories are not merged. It re-enables matrix-aware execution/aggregation paths while keeping discussion-category trigger behavior unchanged.

  • Matrix model + schema surface

    • Reintroduced matrix frontmatter/config handling in compiler types and main workflow schema.
    • Added matrix helpers/config plumbing used across compilation stages.
  • Matrix-aware job generation

    • Updated main/safe-output compilation paths to emit matrix-compatible job wiring.
    • Added matrix artifact naming/suffix behavior so per-axis outputs remain distinguishable and composable.
  • Judge aggregation path

    • Reintroduced the judge job that consolidates matrix-run artifacts/safe outputs into downstream-consumable agent outputs.
    • Hardened output wiring by assigning the merge step ID directly in step construction (instead of post-hoc insertion).
  • Downstream compatibility adjustments

    • Updated threat-detection/safe-job source-job handling required when matrix outputs flow through judge/downstream stages.
    • Kept imported discussion-category merge logic out of this restoration scope.
outputs := map[string]string{
	"output_types": "${{ steps.merge-matrix.outputs.output_types }}",
	"has_patch":    "${{ steps.merge-matrix.outputs.has_patch }}",
}

// merge step is defined with explicit ID at construction time
"      - name: Merge matrix safe outputs\n",
"        id: merge-matrix\n",

Copilot AI changed the title Recreate matrix compiler support from #39725 (without discussion categories) Reintroduce compiler matrix support (exclude imported discussion categories) Jun 17, 2026
Copilot AI requested a review from pelikhan June 17, 2026 06:04
@pelikhan pelikhan closed this Jun 17, 2026
@github-actions
github-actions Bot deleted the copilot/recreate-matrix-support branch June 25, 2026 03:00
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