Skip to content

fix(tooling): queue self-updates and stop tests leaking temp files - #62

Merged
WillieCubed merged 2 commits into
mainfrom
fix/merge-queue-and-temp-dirs
Sep 28, 2026
Merged

WillieCubed merged 2 commits into
mainfrom
fix/merge-queue-and-temp-dirs

Conversation

@WillieCubed

Copy link
Copy Markdown
Contributor

TL;DR

transit-mapper's patch updates now merge themselves like every other repository's, and the test suite no longer leaves temporary directories behind.

Overview of Changes

Merge queue

transit-mapper merges through a merge queue. The Standard update workflow asked for a rebase auto-merge, which GitHub records on a merge-queue repository but never adds to the queue, so transit-mapper#170 sat green until I queued it by hand. The workflow now reads the default branch's rules and, when a merge queue is one of them, turns on auto-merge without naming a method, which puts the pull request in the queue.

Temporary directories

The commit-hook and contribution-helper tests created temporary directories and never removed them; several hundred had piled up on a development machine. Each of those files now creates one root at load, puts every temporary directory under it, and removes it after its tests. Running them now leaves nothing behind.

Testing

`pnpm check` passes. A new proposal test shows a merge-queue repository gets gh pr merge --auto with no method, and the existing ones cover a repository without a queue.

Follow-ups

None.

🤖 Generated with Claude Code

WillieCubed and others added 2 commits September 28, 2026 12:39
In a repository with a merge queue, the update asked for a rebase
auto-merge, which GitHub records but never adds to the queue, so
transit-mapper's patch updates waited for someone to queue them. The
update now leaves the method to the queue when the default branch has
one.

The commit-hook and contribution-helper tests also created temporary
directories they never removed; hundreds had piled up. Each file now
keeps them under one root that is deleted after its tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Publish merge-queue support for self-updates
as a patch release of the shared web standard.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@WillieCubed
WillieCubed merged commit 323d5f5 into main Sep 28, 2026
1 check passed
@WillieCubed
WillieCubed deleted the fix/merge-queue-and-temp-dirs branch September 28, 2026 19:45
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