Skip to content

docs: record CI and stacked pull request practices - #202

Merged
hhkaos merged 1 commit into
mainfrom
redesign/playground-tabs-and-chrome
Nov 26, 2026
Merged

hhkaos merged 1 commit into
mainfrom
redesign/playground-tabs-and-chrome

Conversation

@hhkaos

@hhkaos hhkaos commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

This lands the documentation commit left on redesign/playground-tabs-and-chrome after #200 merged the playground changes. It records how to run the full CI pipeline and how to avoid leaving a stacked pull request on a merged base branch.

…deleted

Two rules from the playground rework, both of which cost something.

**`pnpm lint` is the first CI step and the one that gets skipped**, because
build/typecheck/test feel like the real verification and a lint rule feels
like style. It is not: `no-useless-assignment` found a dead initialiser in
`apps/embed/src/playground.ts` that four local green runs had walked past,
and the first anyone heard of it was a red PR. The `Tests:` bullet above
under-stated the bar by naming only `pnpm test`.

The bullet gives the command that prints the steps rather than listing them,
following this file's own rule — and that is not ceremony: writing it
immediately showed the pipeline has seven steps where the session that hit
this had claimed six and run six. A list in prose is the thing that goes
stale; the workflow file cannot.

**Stacking PRs needs the base branch deleted on merge, not just merged
first.** GitHub retargets a child PR only when its base branch is deleted, so
merging the base and keeping the branch lets the child merge into a branch
whose contents are already on `main` — where it stops. The work reaches no
release and the issues it names stay open, because a PR closes issues only
when it merges into the default branch. That stranded the adopters picker and
the query-param work and took a third PR to land.

The bullet names the check that would have caught it
(`git log origin/main..origin/<branch>` must be empty) and the cheap proxy:
an issue still open after its PR merged means the PR did not reach `main`.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@hhkaos
hhkaos merged commit 817c837 into main Nov 26, 2026
1 check passed
@hhkaos
hhkaos deleted the redesign/playground-tabs-and-chrome branch November 26, 2026 21:54
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