Repository navigation
test(integrations): live Pidgeon tier asserts held sends without emailing anyone - #1051
Merged
Merged
Conversation
…l, then deletes it Pidgeon's test mode now records a held send's approval and its draft.approval_requested event without emailing anyone. The live tier reads both while the run's address exists, then deletes the draft so no run leaves one in the account's approval queue. Co-Authored-By: Claude Opus 5.5 <[email protected]>
… end Once the run's address is swept the draft can't be found, so a failed check would leave it in the approval queue. Co-Authored-By: Claude Opus 5.5 <[email protected]>
allisonmahmood
force-pushed
the
test/pidgeon-held-send-approval
branch
from
October 29, 2026 20:11
d7d9ddf to
93a5f28
Compare
1 of 2 tasks
allisonmahmood
added a commit
that referenced
this pull request
Oct 29, 2026
## What changed This adds release 24's What's new entry, written from `9ee90e3`. It covers everything merged since release 23's `through` (`ed80fc7`) and sets the `patchy` release to `0.24.0` in `packages/patchy/package.json` and `CURRENT_RELEASE`. This is the first of three releases for #986. In it, tier 1 stops reaching anything outside its own patch, and the shell stops requiring Patchy's code on a page. | Change | PRs | | --- | --- | | Improved: Company data goes through a patch's own rules. Company connections, other patches' shared data and the member directory are read from server code (tier 2) only. A browser-only patch reaches its own tables and files. One that already read these stops getting that data until it moves to tier 2, and the CLI's refusal names the fix. | #1047 | | Fixed: Plain pages no longer say they could not start. A page that never loads the SDK isn't covered by "This patch could not start" after ten seconds any more. | #1044 | Two merged PRs get no line, because nobody using Patchy would notice them. #972 is the Patchy MCP docs pass and #1051 is live Pidgeon test churn. #1050 is release 23's own entry. ## Look at - **The entry**, at the top of `releases` in `packages/core/src/whatsNew.ts`. - **Rollback safety, from the live commit `0aa8d48` (release 23) to `9ee90e3`:** - No PR in the range is labelled `one-way`, and none adds a migration. - #1047 changes no stored data. A revert puts tier 1's direct connection, shared and member reads back. Repos that moved to tier 2 meanwhile stay valid on release 23. - #1044 is broker-only. Release 23's shell shows a page without the SDK the way it did before. **Rollback line:** If this release misbehaves, roll back to `0aa8d48` (release 23). ## How it was verified - **Tests.** `whatsNew.test.ts`, `WhatsNewPages.test.ts` and `schemas.test.ts` pass (21 tests), and prettier passes on the changed files. - **The range.** #1047 and #1044 each had GPT 6.1 Sol reviews with every finding resolved and an acceptance PASS with notes. They landed with all 12 required checks green on their rebased heads, `rollback-rehearsal` against release 23 included. Their conflict resolutions got a separate Sol review with no findings. - **Deploy state.** The live commit, pinned from `/healthz/deep`, is `0aa8d48` (release 23). The Deploy run updated last (#25) succeeded, and none is unfinished. - **Known effect.** One patch in production is a tier 1 patch that reads the member directory. Its member reads stop until it's republished at tier 2. Its owner has been told. ## Release impact - [ ] **Breaking** — requires action from anyone already running this - [x] **Not breaking** — no action required Text and version numbers only. The `0.24.0` bump tells CLIs and patch repos installed before this deploy to upgrade, as every release does. - **What does a revert leave behind?** Nothing. - **Does the release before it still work with that?** Yes. Built by Claude Opus 5.5 (`claude-opus-5-5`) in Claude Code, through T3 Code. Co-authored-by: Claude Opus 5.5 <[email protected]>
1 of 2 tasks
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.
What changed
Every CI run of the live Pidgeon tier emailed Allison an "approve this send" request. The suite sends a first-contact message through the test key so Pidgeon holds it for approval, and test mode still notified a person about it. Pidgeon fixed that on their side today: a send held with a test key still gets its approval and its
draft.approval_requestedevent, but no one is emailed.The live tier now checks the parts Pidgeon still records. While the run's address exists, it reads the held draft's approval (
pending,first_contact) and finds itsdraft.approval_requestedevent. Then it deletes the draft, so no run leaves one in the account's approval queue.Look at
PidgeonOperations.live.ts, the held-send test: after the existingpending_approvaland replay assertions it readsGET /drafts/{id}/approval, waits for the event onGET /events?type=draft.approval_requested&identity_id=…, and deletes the draft however those checks end. Then it asserts the approval reads not found.eventuallynow passes through what its effect requires, so it can poll Pidgeon through the harness's own source.The event log only lists events for addresses that still exist, and every run deletes its addresses when it ends. So the checks run before the sweep, and drafts held before this change can't be found through the API.
How it was verified
The operations live file passed against Pidgeon's test mode with the test admin key:
effect-tsgo tsc -p tsconfig.test.jsonand Oxlint are clean. Not checked here: that no approval email reached the inbox, which only the account's owner can see.Release impact
Breaking — requires action from anyone already running this
Not breaking — live test tier only; nothing ships
What does a revert leave behind? Nothing. The test stops asserting the approval and stops deleting its held draft.
Does the release before it still work with that? Yes.
Made by Claude Opus 5.5 (
claude-opus-5-5) in Claude Code, running in T3 Code.🤖 Generated with Claude Code