Skip to content

fix(id): rebuild roc-text-counter in roc-examples check and pin the enumeration (#7909) - #8535

Merged
dezren39 merged 1 commit into
mainfrom
queue/14275-7909-roc-text-counter
Nov 11, 2026
Merged

dezren39 merged 1 commit into
mainfrom
queue/14275-7909-roc-text-counter

Conversation

@dezren39

@dezren39 dezren39 commented Nov 11, 2026 •

Copy link
Copy Markdown
Member

What

Task 14275 for issue #7909: roc-text-counter was added to ROC_EXAMPLE_BUILDS in pkgs/id/tests/toolchain_pin.rs by the #3181 commit but never to the rebuild enumeration, so the roc-examples flake check never rebuilt its checked-in text-counter.wasm and no test noticed drift between main.roc and the wasm.

Changes

  • pkgs/id/scripts/rebuild-roc-examples.sh: add examples/roc-text-counter to the rebuild list (now 8 examples). The roc-examples flake check rebuilds via exactly this script, so text-counter.wasm is now rebuilt from main.roc with the pinned toolchain.
  • pkgs/id/tests/toolchain_pin.rs: new test rebuild_script_and_pin_list_cover_the_same_roc_examples asserts the rebuild script's example set equals the ROC_EXAMPLE_BUILDS set (oracle: the two enumerations of the Roc examples), plus a parser unit test — a future example cannot land in one list only.
  • .github/test-suite-registry.json: the id.roc.examples row now names the paths it actually covers, including pkgs/id/examples/roc-text-counter/** and the rebuild script.

Tests

  • rustfmt --edition 2024 --check on toolchain_pin.rs: clean.
  • Standalone rustc oracle replicating the new test's logic against the real files: rebuild set == pin set (8 examples, including roc-text-counter) — PASS.
  • Full cargo test --test toolchain_pin could not run on the laptop this shift: the laptop /home filesystem is at 100 percent (197M free of 3.3T) and the build died with No space left on device in unrelated dependency crates. CI (the roc-examples check itself, which runs cargo test --test toolchain_pin) is the verification venue for this PR.

Queue: task 14275, lane tmp-code-y.


Autofix with [code]smith
Open in [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 11, 2026 04:39
@coderabbitai

coderabbitai Bot commented Nov 11, 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 5 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: bbec494f-015c-47bf-8a44-3a2527731e89
Commits

Reviewing files that changed from the base of the PR and between a6579e4 and 03a1372.

Files selected for processing: 3

  • .github/test-suite-registry.json
  • pkgs/id/scripts/rebuild-roc-examples.sh
  • pkgs/id/tests/toolchain_pin.rs
  • 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 11, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-11T04:41:39.529117Z 03a1372 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.

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