Skip to content

docs: rewrite the agent docs and fix the last test isolation leaks - #3425

Merged
datlechin merged 3 commits into
mainfrom
refactor/test-final
Oct 15, 2026
Merged

datlechin merged 3 commits into
mainfrom
refactor/test-final

Conversation

@datlechin

Copy link
Copy Markdown
Member

Why

The agent docs, rules and skills still described the old test system: shards, gate jobs, the quarantine file and lint-as-tests. A 10-iteration soak of the Unit plan also found four tests that leak state past their case.

Change

  • AGENTS.md, CONTRIBUTING.md, RELEASING.md, the PR template, tests.md, plugin-system.md, ui-lifecycle.md and the fix-issue and release skills rewritten for the current system. New ci.md and ui-tests.md rules.
  • The MCP transport takes its pairing service by injection. Production passes .shared; each pairing test gets its own, so the rate limiter no longer carries over.
  • WelcomeViewModelTests no longer retains itself. The Settings and sync tests wait for their late defaults writes.
  • scripts/clean-test-residue.sh lists what older test runs left behind. Dry run unless --apply.

Verified

Unit plan, 10 iterations with -run-tests-until-failure: 0 failures. A Unit run leaves no new EphemeralDefaults dirs. verify.sh agent-docs passes.

Not in this PR

@datlechin
datlechin merged commit 1cf6b2f into main Oct 15, 2026
1 check passed
@datlechin
datlechin deleted the refactor/test-final branch October 15, 2026 01:33
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