feat: add v1 PR workflows with opt-in deb checks - #60
Conversation
|
Warning Review limit reachedNext included review available in 27 minutes. View limit detailsLimit details: You’ve used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (5)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Code Review ResultsScope: merge-base ac12e8a → Reviewers: correctness, testing, maintainability, project-standards, api-contract, adversarial
P2 -- Moderate
P3 -- Low
Coverage
|
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
d9f6517 to
17fc5cf
Compare
|
Force-pushed review fixes, folded into their commits:
Findings 1 and 2 are verified by canary runs on halos-browser-trust PR 4, now in the PR description table: a package in |
Summary
Adds the v1 PR-side workflows from the interface plan (issue 49). A repository no longer opts out of deb checks:
checks.ymlhas no packaging in it, and a deb repository adds an explicit call tobuild-deb.yml. The legacypr-checks.ymlstays unchanged for callers on@main.Changes
checks.yml: tests, version-check (optional action, now.ymlor.yaml), and the nested version-bump-check.runs-onapplies to every job.build-deb.yml: builds with the caller'sbuild-debaction, finds packages in the repository root andbuild/, and fails when there are none. Lintian runs on each package unlesslintian: false. The zero-package failure and thebuild/lookup address the silent pass from issue 32 for callers of the new workflow; the legacy workflows keep that behaviour until they are removed.version-bump-check.yml:.coderabbit.yamland.coderabbit.ymlno longer count as package-affecting files. This was the only change in the hatlabs copy that halos-org lacked.examples/debandexamples/npmpr.yml, each ending in astatusjob that needs every other job and passes only if all of them succeeded. They trigger on everypull_requestwithout a branch filter, so a stacked PR is checked before it is retargeted to main.build-deb.ymlhas no release mode yet; changelog generation, renaming and artifact upload come with the release pipeline (issue 52).Verification
Canary PRs pointed
pr.ymlat this branch and were closed afterwards:./halos-browser-trust_0.1.0_all.debif: falseinstatus.needsstatusfailsbuild/, invalidbogus.debin root./bogus.debandbuild/halos-browser-trust_0.1.0_all.debbuild/bogus.debwithlintian: falseuses: ./.github/workflows/version-bump-check.ymlran asversion-bump-check.yml@refs/heads/feat/v1-pr-checksat the branch head, so a relative nested call follows the caller's pinned ref. This settles one of the plan's deferred questions for branch refs; the rc canaries confirm it for tags.statusexpression was also checked locally against success, skipped, failure and cancelled results.Not exercised by a run: the
action.yamlspelling of check-versions, a caller without a run-tests action, a non-defaultruns-on, a PR changing only.coderabbit.yaml, a cancelled upstream job instatus(checked as a local expression test), and the nested call under a tag (rc canaries).Closes #51
🤖 Generated with Claude Code