Skip to content

ci: add Build job (release profile) for branch-protection parity - #52

Merged
ajianaz merged 1 commit into
developfrom
ci/build-job
Aug 28, 2026
Merged

ajianaz merged 1 commit into
developfrom
ci/build-job

Conversation

@ajianaz

@ajianaz ajianaz commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

What

Adds a Build job (cargo build --workspace --release) to ci.yml.

Why

Branch protection was just aligned with the uteke standard (rulesets on develop + main: deletion, non-fast-forward, PR required, and the full required-check list — Check/Format/Clippy/Build/Test/Cargo Audit/Trivy FS Scan/Cora Review/CLA Check/Source Branch). The rulesets reference a Build check that ci.yml didn't produce — PRs would have blocked forever. This adds the missing job (release-profile compile catches optimizer-only errors the dev-profile Check misses; uteke parity).

Testing

YAML validated; job mirrors uteke's ci.yml Build job.

The new develop/main rulesets (uteke parity: deletion + non-fast-forward
+ PR + required checks) list 'Build' as a required status check — but
ci.yml had no Build job, so PRs would block forever waiting for it.
Adds cargo build --workspace --release: catches optimizer-only errors
the dev-profile Check job misses.
Comment thread .github/workflows/ci.yml
build:
name: Build
runs-on: ubuntu-latest
steps:
@github-actions

Copy link
Copy Markdown

🔍 Cora AI Code Review

❌ Blocked — critical issues found.

🔴 Error (1)

  • .github/workflows/ci.yml:58 — The new build job pins actions/checkout@v7, but no such major version of actions/checkout exists (latest is v4/v5). The workflow will fail to resolve the action and the job will error immediately, breaking the 'required check on main' as described in the comment. The existing job in this file presumably uses an older tag; this new job should match it.

Review powered by cora-code · BYOK · MIT

@ajianaz

ajianaz commented Aug 28, 2026

Copy link
Copy Markdown
Contributor Author

Re: CodeCora finding on actions/checkout@v7 — false positive, empirically disproven: the Build job itself ran and passed on this PR (48s, run 33138318704/job/98743257917), and every job in this file (lines 18/27/37/48) already uses @v7 across dozens of green CI runs — same version as the uteke repo's workflows. v7 exists on this runner/registry; the reviewer's version knowledge is stale. All 13/13 checks green.

@ajianaz
ajianaz merged commit bfe9afd into develop Aug 28, 2026
12 of 13 checks passed
@ajianaz
ajianaz deleted the ci/build-job branch August 28, 2026 03:23
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