Skip to content

feat(plugin): cover goroutine mode and exact replay for v0.2.0 - #586

Merged
hmdsefi merged 1 commit into
mainfrom
release-0.2.0-plugin
Nov 2, 2026
Merged

hmdsefi merged 1 commit into
mainfrom
release-0.2.0-plugin

Conversation

@hmdsefi

@hmdsefi hmdsefi commented Nov 1, 2026

Copy link
Copy Markdown
Owner

The plugin's skill still says faultline v0.1.x cannot run goroutine code. This updates it for v0.2.0 and sets the plugin version to 0.2.0.

  • skills/faultline/SKILL.md: the determinism: line of a goroutine-mode report (exact or level 3), what a re-run that passed means for a best-effort seed, keeping -toolexec=faultline-toolexec in a replay and running faultline-toolexec prepare when the build asks for it, writing a goroutine-mode test, and a new answer for a flaky test with no faultline test: say what the code must take as values (listener, dialer, filesystem) before faultline can run it.
  • skills/faultline/rules.md: rules split into event mode and goroutine mode (p.Net, p.FS, p.Rand, p.Go, p.Do, no mutex across a blocking shim call, no os.Exit), goroutine-mode causes of a determinism failure and the toolexec message, and what faultline cannot do.
  • skills/faultline/artifacts.md: the leak kind, determinism_level, goroutines.txt, toolexec-gaps.txt, stall.txt and the goroutine-mode record kinds.
  • skills/replay/SKILL.md: a replay command with the wrapper, and a best-effort seed whose trace hash differs.
  • agents/triage.md: coverage gaps in a determinism failure, and a directory with only stall.txt.
  • evals/flaky-test-without-faultline: the reply now passes when it says the replication code must take its listener and dialer as values (or be ported to the node API) and offers a faultline test; it fails when it says faultline cannot run goroutine code at all.

How it was checked: every API, file name and message the skill names was checked against the code on main (process.go, exact.go, report.go, watchdog.go, artifact/report.go, shims/), and tech-writing/lint.sh is clean. The eval suite was not run for this change. The docs pages the skill links (docs/guides/goroutine-mode.md, docs/guides/exact-replay.md) come with the v0.2.0 docs PR, which merges first.

@coderabbitai

coderabbitai Bot commented Nov 1, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

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

@hmdsefi
hmdsefi merged commit 1097f1e into main Nov 2, 2026
18 checks passed
@hmdsefi
hmdsefi deleted the release-0.2.0-plugin branch November 2, 2026 16:59
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