docs(e2e): README for the e2e lane — harness contract, CI sharding, board-lock spec patterns - #265
Open
claudegoogl-sudo wants to merge 2 commits into
Open
claudegoogl-sudo wants to merge 2 commits into
claudegoogl-sudo wants to merge 2 commits into
Conversation
…ec patterns The e2e lane had no discoverable entry point: the harness contract (throwaway instance, single worker, no retries, 3-shard CI split) and the board-lock resilience pattern learned in the signoff-policy de-flake lived only in config comments and commit messages. Surface both in tests/e2e/README.md. Co-Authored-By: Paperclip <noreply@paperclip.ing>
…README Second half of the e2e entry point: how a spec joins the shard partition (state rules, durations manifest, multi-user escape hatch) and how to debug a CI failure from the per-shard artifacts instead of guessing from the aggregate job. Co-Authored-By: Paperclip <noreply@paperclip.ing>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follows
CONTRIBUTING.mdPR template — sections present: Thinking Path, Linked Issues or Issue Description, What Changed, Verification, Risks, Model Used, Checklist.Thinking Path
Linked Issues or Issue Description
No public issue tracks this; the gap is described here. The board-lock section records the pattern behind the
signoff-policy.spec.tscheckout-helper fix (the spec that intermittently failed with "Board checkout failed" and was hardened to accept a successful conflict-retry PATCH regardless of who the same request assigned the issue to).What Changed
tests/e2e/README.md(new): how to run the lane locally, the harness facts (throwaway instance viaonboard --yes --run, dedicated portPAPERCLIP_E2E_PORT/3199,local_trusted,reuseExistingServer: false), single-worker/no-retry rationale, the CI 3-shard deterministic partition (scripts/e2e-shard.mjs+ durations manifest, aggregate gate,PAPERCLIP_E2E_SKIP_LLM=true), the two out-of-lane multi-user specs and the ignore-list drift guard, and a "writing resilient specs" section covering the board-lock409/conflict-retry pattern and the benignheartbeat_run_eventsteardown warning.Verification
npx playwright test --config tests/e2e/playwright.config.ts --liststill resolves the same spec list (nothing moved).tests/e2e/playwright.config.ts,.github/workflows/pr.yml(e2e shard matrix + aggregate gate),scripts/e2e-shard.mjs, andpackage.jsonscripts (test:e2e,test:e2e:headed,test:e2e:multiuser-authenticated).Risks
Model Used
GLM via the Anthropic-compatible Claude Code endpoint (z.ai). Agentic coding session with tool use and extended reasoning; the session does not expose the exact GLM version string.
Checklist
tests/e2ehad no README)Fixes: #/Closes: #/Refs: #OR (b) described the issue in-PR following the relevant issue template (option b)#NNN/github.com/claudegoogl-sudo/paperclipURLs)docs/e2e-spec-authoring) and contains no internal Paperclip ticket id or instance-derived details--list)