Fix attachment missing-message diagnostics - #214
Merged
Conversation
Agent: mamercus
Contributor
Author
|
[REVIEW] GO — #214 @ 49cbe6a — lens: correctness+security+gates, reviewer Hostus (1 of 1) Reviewed the complete diff from freshly fetched base Commands and gates:
Security/correctness trace:
Blocking P0/P1 findings: none. Non-blocking follow-ups: none. |
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.
Summary
not_foundwhen an exact attachment message ID is absent from the active inbox store.missing_required_inputonly for the distinct case where a resolvable prefix was supplied instead of the exact full ID required by the attachment byte route.Root cause
The hosted attachment route already accepts the exact hosted message identity and a known-positive attachment downloads successfully. The prior failure was produced by addressing that identity against the local active store, where the message does not exist; the CLI collapsed that case together with the prefix-mismatch case and reported
missing_required_input.Legacy metadata-only attachments remain a separate data-migration boundary. This PR does not invent content, bypass the supported route, mutate mailboxes, or perform a migration.
Validation
not_foundexpected,missing_required_inputreceived).Tracking
Todos task:
336c812e-c87a-4bda-b612-eba60d4368d8Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.