Skip to content

Fix TUI Inbox and Outbox resource selection - #190

Merged
LIghtJUNction merged 1 commit into
mainfrom
fix/tui-mailbox-resource-selection
Sep 30, 2026
Merged

LIghtJUNction merged 1 commit into
mainfrom
fix/tui-mailbox-resource-selection

Conversation

@LIghtJUNction

Copy link
Copy Markdown
Contributor

Refs #82.

Mailbox records contain their own message ID and a separate resource reference. The TUI previously selected the message ID and called discovery.get on it, so opening an Inbox/Outbox entry failed with not_found. Resolve and display resource.id for mailbox pages, reject missing/malformed references without falling back to delivery IDs, and preserve ordinary resource list selection.

Add 16 focused regressions for Inbox/Outbox, frozen mappings, malformed references, access denial/retry, and ordinary lists; add two real PostgreSQL/signed-HTTP mailbox flows guarded by full-row/read-only evidence.

Validation: against original source the focused suite gives 15 failed / 1 passed; after the fix 16 pass. All 72 non-PostgreSQL TUI checks pass, full Ruff check/format (589 files), Python 3.15 compilation, wheel/sdist build and package-content verification pass locally with locked dependencies. Four PostgreSQL TUI tests were deselected locally because initdb is unavailable; CI must run them and the full contract/deployment gates before merge. No production deployment or protocol/write behavior change.

@LIghtJUNction
LIghtJUNction marked this pull request as ready for review September 30, 2026 08:02
Copilot AI balanced review requested due to automatic review settings September 30, 2026 08:02

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 30, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
🔒 Security Review ✅ Completed 2026-09-30T08:18:56.818722Z 6500fdb Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

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