Repository navigation
fix(server): keep PowerPoint slides with alternate relationship prefixes - #41454
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
70f3fd5 to
f7dda2e
Compare
EvidenceUploaded the same synthetic two-slide PPTX through the composer on both commits. Slide 2 uses Proven: the scenario fails on base and passes on head. Base skips Slide 2; head includes
Scenario and synthetic deck generator The scenario displays server extraction directly; it does not use a model response as evidence. Not shown:
|
…a Merge * apps/web/src/components/chat/MessagesTimeline.browser.test.tsx * apps/web/src/components/chat/MessagesTimeline.tsx • 94c20e7fcd Overlay branch overlay/web-turn-fold-reading on top of origin/main via Merge |\ | • 001d736 Overlay branch overlay/web-turn-fold-reading on top of origin/main via Merge | |\ | | • ce6a5bf Overlay branch overlay/web-turn-fold-reading on top of origin/main via Merge | | |\ | | | • 9a98823 Overlay branch overlay/web-turn-fold-reading on top of origin/main via Merge | | | |\ | | | | • ab537b3 Overlay branch overlay/web-turn-fold-reading on top of origin/main via Merge | | | | |\ | | | | | • a256fb3 Overlay branch overlay/web-turn-fold-reading on top of origin/main via Merge | | | | | |\ | | | | | | • 43e493c feat(web): keep a turn's work open when it ends while you are reading it • | | | | | | d1a6c35 fix(server): keep PowerPoint slides with alternate relationship prefixes (pingdotgg#41454)


Problem
PowerPoint attachment text can omit a slide when the file uses a different prefix for relationship attributes. If
links:id="rId2"comes before the numericid="257", the numeric ID overwrites the relationship ID in the local-name lookup and the agent sees a skipped-part notice.Change
Resolve slide relationship IDs using the declared Office relationships namespace. The declaration may be on the slide ID, the slide list, or the presentation. The existing fallback still handles older inputs with undeclared prefixes.
Scope
Small fix for server-side PowerPoint attachment text. Targeted searches found no equivalent fix. #38377 limits extraction to the actual slide list. This change resolves the relationships within that list.
Verification
I compared archives with the same slide data, changing only the relationship prefix and attribute order. I then replayed a two-slide deck with section metadata through the extraction worker.
The existing PowerPoint attachment test now includes both prefixes and fails on base when it reaches the second slide. Targeted replays cover both attribute orders, the Strict namespace, and a local namespace declaration. fast-check passed 120 cases and Jazzer.js completed 160 bounded runs. Stryker killed 19 of 21 mutants on a source-derived copy. The survivors remove the qualified-name guard and are outside the exercised slide ID shape.
Fallow and CodeScene flagged complexity, and CodeScene also flagged two additional fixture lines crossing the test-file size threshold. Both advisory gates failed. The analysis ran on a two-file snapshot. Runtime tests ran on Linux.
vp run check:changed --concurrency 1passed with 51 tests, typecheck, format, lint, Knip and GraphQL. The same check passed again after rebasing onto 5e12857. Normal commit hooks passed.Independent review: Gemini 4 Neon medium on Antigravity and Opus 5.5 high approved.
Reviewed with sol-loop: 1 round with GPT-6.2 Sol on high. Sol verdict: approved.
Created with GPT-6.2 Sol in Codex through T3 Code.