Repository navigation
docs(email): say the "connection is being saved" 502/503 is retryable - #5969
Conversation
The npm docs already tell integrators to retry, but CONTRACT.md and the served spec page did not, so a consumer reading only those would send the user to reconnect. Closes amd#5667
|
Verdict: Approve with suggestions This brings the email agent's CONTRACT.md and its served spec page in line with the npm SPEC.md, SKILL.md and both CHANGELOGs: a "connection is being saved" error is temporary, so retry it instead of asking the user to reconnect. The 502/503 and
Real-world evidenceN/A: docs-only change, so no CLI, API, MCP or Agent UI behavior changed. No evidence bundle was produced, and this verdict comes from static review alone. The PR description shows the spec drift check passing ( 🔍 Technical detailsIssues 🟢 403 claim covers more than connector errors ( Make the same change in 🟢 The section is nested under the Attention view endpoint ( Verified against code
Strengths
|
A 403 also comes back from confirmation-gated routes when the send or archive token is missing or invalid, so telling integrators every 403 means reconnect would send users to re-link a working account. The section is promoted to its own heading because it covers every mailbox and agent route, not just the attention view it sat under.
|
Thanks @burgulvedant, good catch that CONTRACT.md and the spec page were the two places still telling integrators to reconnect on a transient error. I checked the 502/503 and I pushed the review bot's one suggestion. A 403 also comes back when a send or archive confirmation token is missing or invalid, so the docs now say which 403 means reconnect. I also gave the section its own heading, since it covers every mailbox route and not just the attention view. Merged current main too. 🔍 Technical details
|
No single 403 rule holds across the routes this section covers: the agent routes answer 401 for a revoked, missing or re-auth-required connection and 403 only for a missing scope, and a mailbox-route 403 can also mean the agent isn't granted or the Microsoft tenant doesn't match. The section now says only what the npm SPEC and SKILL say.
|
Correction to my earlier push: I've removed the 403 sentence. It wasn't right for every route this section covers. The agent routes answer 401 for a revoked or missing connection, and a mailbox-route 403 can also mean the agent isn't granted access or the Microsoft tenant doesn't match. The section now says what the npm SPEC and SKILL say, and the spec page is regenerated to match. |
The v0.25.2 notes stopped at the rc2 fixes, so the final would have shipped without the update offers, the live work timeline, the new-chat folder chip, and the memory, file-access and Agent UI fixes merged since. The notes now cover every PR since v0.25.1, add four known issues with workarounds (amd#5990, amd#6016, amd#6019, amd#6026), and credit all 20 outside contributors by commit author, including @samjamm1, who wrote amd#5857 and amd#5969 while @burgulvedant opened them. No version fields change. **The changelog must be refreshed right before tagging.** It lists the 152 commits on main today. This PR, amd#6023 (flagship 0.3.2) and its pin-lock PR add at least 3 more, and anything else that lands adds to that. Regenerate the list and the count from `git log v0.25.1..<final-sha>` on the commit being tagged. ## Test plan - [x] `python util/validate_release_notes.py docs/releases/v0.25.2.mdx --tag v0.25.2` - [x] `(cd docs && npx -y mintlify@latest validate)`: build validation passed - [x] Narrative word budget: 181 of 350 - [x] Changelog count, listed lines and `git log v0.25.1..origin/main --oneline | wc -l` all read 152; no unescaped `<` or `{` - [x] `python util/lint.py --release-versions` - [x] `pytest tests/unit/test_docs_json_release.py tests/unit/test_doc_version_gate.py tests/unit/test_check_doc_links.py tests/unit/test_amd_gaia_urls.py` (38 passed) - [ ] Before tagging: regenerate the Full Changelog against the final commit
Summary
The email agent's CONTRACT.md and its served spec page now say that the "connection is being saved" 502/503 is temporary and should be retried, not treated as a reason to reconnect.
Why
The npm SPEC.md, SKILL.md and both CHANGELOGs already tell integrators to retry. CONTRACT.md and the spec page did not, so an integrator reading only those would send the user to reconnect on a transient error. The docs bundled in one package contradicted each other.
Linked issue
Closes #5667
Changes
Test plan
Docs only, no behavior change.
Evidence
Docs only change, so every surface below is N/A (no Agent UI, MCP, CLI or HTTP behavior changed). The spec drift check output:
specification.html up to date
Checklist
Closes #N/Fixes #N/Refs #N).python util/lint.py --all,pytest tests/unit/).