11---
22name : e2e-routine
33description : >-
4- Nightly regression routine for the Bytebase Playwright e2e suite: decide
5- whether main moved, build the frontend-embedded binary, run the licensed
6- suite on a disposable server, classify every red test (product regression,
7- spec rot, flake, test isolation, infra, flipped lock), attribute an owner,
8- file or propose Linear BOT issues, open a test-only adaptation PR, and record
9- the run ledger. Use it as the prompt target of the cloud scheduled task, or
10- locally with /e2e-routine from a worktree. Not for exploratory QA or writing
11- new specs (that is bytebase-e2e-testing) and not for verifying one change
12- (that is verify).
4+ Nightly regression run of the EXISTING Bytebase Playwright e2e suite. It
5+ writes no new tests: decide whether main moved, build the frontend-embedded
6+ binary, run the suite on a disposable server, and for every red test decide
7+ whether the product broke (bug: Linear issue with an owner) or the test is
8+ outdated (spec rot: test-only adaptation PR), with flake, isolation, infra
9+ and flipped-lock as the other outcomes; then record the run ledger. Use it
10+ as the prompt target of the cloud scheduled task, or locally with
11+ /e2e-routine from a worktree. Not for exploratory QA or writing new specs
12+ (that is bytebase-e2e-testing) and not for verifying one change (that is
13+ verify).
1314---
1415
1516# E2E regression routine
@@ -33,7 +34,9 @@ issue body is `references/issue-template.md`; the ledger format is
3334- ** Processes** : never kill a process you did not start. The harness owns its
3435 server (PID file, port 18234 with fallback). A port conflict is reported, not
3536 resolved by killing.
36- - ** Linear** : team ` BOT ` only, parent = the issue in ` E2E_ROUTINE_UMBRELLA ` .
37+ - ** Linear** : the team in ` E2E_ROUTINE_LINEAR_TEAM ` only (default ` BOT ` , the
38+ agent-issue team from docs/agents/issue-tracker.md), parent = the issue in
39+ ` E2E_ROUTINE_UMBRELLA ` .
3740 Create issues and comments only when ` E2E_ROUTINE_FILE_ISSUES=1 ` ; otherwise
3841 write proposals into the report. Never edit, retitle, close, reassign or
3942 relabel an existing issue. Search before creating; one issue per mechanism.
@@ -50,7 +53,8 @@ issue body is `references/issue-template.md`; the ledger format is
5053| Variable | Default | Meaning |
5154| ---| ---| ---|
5255| ` E2E_ROUTINE_FILE_ISSUES ` | ` 0 ` | ` 1 ` files into Linear; ` 0 ` writes proposals only |
53- | ` E2E_ROUTINE_UMBRELLA ` | none | the BOT umbrella issue (parent of filed issues, target of the run comment) |
56+ | ` E2E_ROUTINE_UMBRELLA ` | none | the umbrella issue (parent of filed issues, target of the run comment) |
57+ | ` E2E_ROUTINE_LINEAR_TEAM ` | ` BOT ` | the only Linear team the routine may create issues in |
5458| ` E2E_ROUTINE_SLACK_CHANNEL ` | none | when set and the Slack connector is attached, post the report summary there |
5559| ` E2E_RESULTS_ROOT ` | ` /tmp/e2e-routine ` | run directories |
5660| ` E2E_LEDGER_BRANCH ` | ` claude/e2e-ledger ` | ledger branch |
@@ -147,8 +151,8 @@ the violated expectation.
147151
148152## Phase 5: Act
149153
150- ** PRODUCT** : search ` BOT ` (` list_issues team=BOT query=... ` ) and the umbrella's
151- open children. Existing open issue: comment (template at the end of
154+ ** PRODUCT** : search the routine's team (` list_issues team=$E2E_ROUTINE_LINEAR_TEAM query=... ` )
155+ and the umbrella's open children. Existing open issue: comment (template at the end of
152156` references/issue-template.md ` ). Otherwise create per the template: parent
153157umbrella, label ` Bug ` , priority per ` triage.md ` , assignee = attributed owner
154158(none when unassigned, with candidates in the body), attach
0 commit comments