Skip to content

test(integrations): live Pidgeon tier asserts held sends without emailing anyone - #1051

Merged
allisonmahmood merged 2 commits into
mainfrom
test/pidgeon-held-send-approval
Oct 29, 2026
Merged

allisonmahmood merged 2 commits into
mainfrom
test/pidgeon-held-send-approval

Conversation

@allisonmahmood

@allisonmahmood allisonmahmood commented Oct 29, 2026 •

Copy link
Copy Markdown
Owner

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_requested event, 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 its draft.approval_requested event. 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 existing pending_approval and replay assertions it reads GET /drafts/{id}/approval, waits for the event on GET /events?type=draft.approval_requested&identity_id=…, and deletes the draft however those checks end. Then it asserts the approval reads not found.
  • eventually now 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:

Pidgeon live run lv9f8712: 123 calls, 3 keys minted, at most 2 active at once; swept 0 stale keys and 0 stale addresses before, 1 keys and 2 addresses after.
 Test Files  1 passed (1)
      Tests  9 passed (9)

effect-tsgo tsc -p tsconfig.test.json and 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

@github-actions github-actions Bot added area:integrations Company connections and integration implementations size:s Under 100 changed lines labels Oct 29, 2026
allisonmahmood and others added 2 commits October 29, 2026 21:10
…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
allisonmahmood force-pushed the test/pidgeon-held-send-approval branch from d7d9ddf to 93a5f28 Compare October 29, 2026 20:11
@allisonmahmood
allisonmahmood merged commit 53a12dc into main Oct 29, 2026
22 checks passed
@allisonmahmood
allisonmahmood deleted the test/pidgeon-held-send-approval branch October 29, 2026 20:23
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:integrations Company connections and integration implementations size:s Under 100 changed lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant