Skip to content

fix(ci): require a passing Linux Burrito build for packaging changes (EXT-83) - #318

Merged
ruby-automation merged 1 commit into
mainfrom
ext-83-require-burrito-check
Nov 23, 2026
Merged

ruby-automation merged 1 commit into
mainfrom
ext-83-require-burrito-check

Conversation

@bougyman

@bougyman bougyman commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

Fixes EXT-83.

PR #311 dropped castore from the production dependency graph. Both Linux workflows still tried to compile it. The Burrito regression failed, but the required Test check passed. Release PR #317 then hit the same error.

Changes

  • Let Mix compile makeup_syntect and its dependencies for the host. The release still prepares mdex_native for musl separately.
  • Make the existing required Test check wait for the quality checks and the Burrito result. A packaging change requires a successful native build and cross-user test.
  • Check the packaging diff on PR edits. Include the toolchain pins and the musl patch script in that diff.

Verification

  • mix precommit passed.
  • A fresh production build compiled the host makeup_syntect NIF and the musl mdex_native NIF.
  • Exercised the workflow scripts locally with 12 combinations of job results and three Git comparisons, including a failed comparison.

Original packaging failure · Release PR failure

Copilot AI balanced review requested due to automatic review settings November 23, 2026 19:45
@bougyman bougyman changed the title fix(ci): require a passing Linux Burrito build for packaging changes … fix(ci): require a passing Linux Burrito build for packaging changes (EXT-83) Nov 23, 2026

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.

🟢 Approval recommended

No active review issues block approval of the strengthened CI gates for packaging changes.

No open issues 🎉

What changed in this PR

This PR strengthens the required Test check so packaging changes must pass the Linux Burrito regression build before merge, alongside the existing quality checks.

Changes:

  • Adds a final gate that checks quality, change detection, and packaging results.
  • Expands packaging input detection and reruns it on PR title or description edits.
  • Compiles makeup_syntect with its dependencies in CI and release builds, and documents the required checks.
File Description
documents/​quality-gates-decision.adoc Documents the required quality and conditional packaging checks.
.github/​workflows/​main.yaml Includes child dependencies when compiling the host NIF.
.github/​workflows/​ci.yaml Adds the required result gate and strengthens packaging change detection.

Review effort: Balanced

@ruby-automation
ruby-automation merged commit 8f7e513 into main Nov 23, 2026
9 checks passed
@ruby-automation
ruby-automation deleted the ext-83-require-burrito-check branch November 23, 2026 19:52
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.

3 participants