Repository navigation
docs: record CI and stacked pull request practices - #202
Merged
Merged
Conversation
…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>
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.
This lands the documentation commit left on
redesign/playground-tabs-and-chromeafter #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.