Skip to content

fix: keep review diffs and OpenCode tests current - #3

Merged
rega10 merged 4 commits into
mainfrom
fm/fm-review-misc-findings-clean
Jul 22, 2026
Merged

rega10 merged 4 commits into
mainfrom
fm/fm-review-misc-findings-clean

Conversation

@rega10

@rega10 rega10 commented Jul 22, 2026 •

Copy link
Copy Markdown
Owner

Intent

Fix two small pre-existing review findings without importing unrelated codex-lock or backend work.

  • Make fm-review-diff.sh use the worktree's currently checked-out branch when a GitLab merge-request URL cannot resolve a provider-specific head, rather than silently preferring a stale fm/<task-id> branch.
  • Keep OpenCode watcher tests ahead of the Node 22 guard, and invoke their ESM heredocs with --input-type=module, so Node 20 runs the OpenCode coverage while only Pi TypeScript runtime tests are skipped.

Testing

  • bash tests/fm-review-diff.test.sh
  • bash tests/fm-pi-watch-extension.test.sh
  • bash -n bin/fm-review-diff.sh tests/fm-review-diff.test.sh tests/fm-pi-watch-extension.test.sh
  • bin/fm-lint.sh
  • Full no-mistakes behavior suite completed. Two unchanged cross-suite fixtures failed transiently (fm-backend-cmux.test.sh and fm-turnend-guard.test.sh); both files are identical to origin/main and both passed immediately in isolated reruns.

Scope

The branch changes only bin/fm-review-diff.sh, tests/fm-review-diff.test.sh, and tests/fm-pi-watch-extension.test.sh.
It does not touch bin/fm-teardown.sh or bin/backends/herdr.sh.

Pipeline

Validated by no-mistakes run 01KY4BDZNAK28CP2QWN424BCEX; the PR was created manually because the pipeline associated the pushed branch with an unrelated historical PR.

@rega10 rega10 changed the title fix: use current review branches and preserve watcher coverage fix: keep review diffs and OpenCode tests current Jul 22, 2026
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