Skip to content

Fix OpenSea inbox reuse - #23

Merged
chapati23 merged 1 commit into
mainfrom
fix/opensea-inbox-reuse
Apr 24, 2026
Merged

Fix OpenSea inbox reuse#23
chapati23 merged 1 commit into
mainfrom
fix/opensea-inbox-reuse

Conversation

@gisk0

@gisk0 gisk0 commented Apr 24, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • reuse an existing AgentMail inbox for OpenSea instead of creating a fresh inbox every run
  • keep persisting the reused inbox locally where supported
  • add tests for reusable inbox selection

Root cause

Cloud Run does not persist runtime-written env files across invocations, so the OpenSea source kept creating new AgentMail inboxes until AgentMail returned . The source then failed and the briefing silently dropped the OpenSea section.

Validation

  • bun run typecheck
  • bun test
  • bun run knip
  • trunk check --fix src/sources/opensea-voyages.ts tests/opensea-voyages.test.ts

@chapati23
chapati23 merged commit 5f4635d into main Apr 24, 2026
2 checks passed
@chapati23
chapati23 deleted the fix/opensea-inbox-reuse branch April 24, 2026 09:10
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.

2 participants