Skip to content

ci(id): run Roc library expect tests in CI — roc-test check + recipe (#813) - #3779

Merged
dezren39 merged 1 commit into
mainfrom
queue/4856-813-roc-test-ci
Nov 1, 2026
Merged

dezren39 merged 1 commit into
mainfrom
queue/4856-813-roc-test-ci

Conversation

@dezren39

@dezren39 dezren39 commented Nov 1, 2026 •

Copy link
Copy Markdown
Member

What

Wires the Roc library expect blocks into a real CI gate, per #813 (queue task 4856):

  • just roc-test (pkgs/id/justfile): runs roc test on examples/roc-world/RocJson.roc (29 expects), Screen.roc (15), and Key.roc (13) with the pinned compiler, echoing roc version so the log proves which nightly ran. If roc is not on PATH the recipe exits 1 with an explicit refusal — the silent-skip behaviour of the world_compile.rs Rust tests is exactly what this check exists to replace.
  • roc-test flake check (pkgs/id/flake.nix): mkCheck "roc-test" "roc-test", in step with the recipe per the repo rule. The pinned nightly (nix/roc.nix, nightly-2026-10-04-130536d) is already in the checks' nativeBuildInputs via nix-common, so no new inputs are needed. Also added to the ci recipe list, so the default aggregate check covers it.
  • PR gate: roc-test added to .github/scripts/id-pr-checks.txt — without this, the guard in check-id-pr-checks.sh would (correctly) fail the PR for an unlisted flake check.
  • just-recipes.json regenerated (just just-recipes) so the just-recipes-drift check stays green.

Verification

The roc-test job in this PR's id-check run is the effectiveness proof the task asks for: it executes all 57 expects under the pinned nightly and goes red on any failure or missing prerequisite. Existing checks are untouched apart from the additive list entries.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

@dezren39
dezren39 requested a review from a team as a code owner November 1, 2026 16:20
@coderabbitai

coderabbitai Bot commented Nov 1, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 33 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 6c3c4260-a51f-4556-b1f5-d28a47ed09d0
Commits

Reviewing files that changed from the base of the PR and between 50c9170 and cf2d1fa.

Files selected for processing: 4
  • .github/scripts/id-pr-checks.txt
  • pkgs/id/flake.nix
  • pkgs/id/just-recipes.json
  • pkgs/id/justfile
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-01T16:22:20.097380Z cf2d1fa PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@dezren39
dezren39 merged commit 49ce14d into main Nov 1, 2026
1 check passed
@dezren39
dezren39 deleted the queue/4856-813-roc-test-ci branch November 1, 2026 16:27
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.

1 participant