Repository navigation
test(web): move attachment preview tests closer to upstream - #870
Merged
lastobelus merged 1 commit intoNov 26, 2026
Merged
Conversation
Restore the upstream PDF parsing-readiness scenario instead of carrying the removed reload fixtures. Keep the required preview API adaptations and documented CI readiness waits, and let image retry await its rendered result without preloading the lazy module. Carry-Group: incubator Carry-Upstream: https://redirect.github.com/pingdotgg/t3code/pull/31104 at 7f6f47b Carry-Observation: These fixture removals span upstream-bugfixes and subsequent incubator API/recovery adaptations in the same PDF scenarios; they must replay after that inseparable integration to converge on the upstream replacement. Carry-Evidence: #513 and #515 Implemented by GPT-6.1 Sol through the Codex harness.
lastobelus
marked this pull request as ready for review
November 26, 2026 20:03
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. |
Owner
Author
|
@codex review |
|
Codex Review: Didn't find any major issues. Chef's kiss. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
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.
Problem
AttachmentFilePreview.browser.test.tsxhad drifted further from upstream than LastCode needs. Upstream #31104, pinned at7f6f47b27b44456f1c8214d3b566b375c09f629e, added PDF parsing-readiness waits and deliberately removed older reload tests. LastCode's carried commits (downstream changes replayed onto upstream) had brought those tests back. This adds maintenance work when syncing with upstream.Change
act, under the existing test deadline. It no longer preloads the module before rendering. It then checks the error and retry result with semantic assertions.This removes a net 202 lines. Against upstream baseline
bf961f8121c6336915ecf7b3f97ce6e68ab38fd7, the file's diff shrinks from 289 additions and 75 deletions to 85 additions and 73 deletions.Remaining upstream differences
ArrowDown, then pressesEnter. This keeps a recovery timing fix.WorkspaceBrowserPreviewfrom its extracted module and pass its requiredrevisionprop. The exact upstream baseline failed four workspace preview tests because the expected export was missing.The other historical repairs have already converged upstream.
Scope
This changes one browser test file to reduce upstream drift. It makes no production, deadline, retry, skip or mock changes.
The source commit has one
incubatorcarry-group trailer. Its cleanup overlaps later API and recovery integrations in the same fixture hunks, so it must replay after them.Verification
d26905e8fbc47684b690c99e5dbb040ce79fe4c2with base917ed2e7bbd4393775cf76d682f998029f0fdccf.Local review: 2 rounds with gpt-6.1-terra (xhigh) at d26905e, approved.
Implemented by GPT-6.1 Sol through the Codex harness.