You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test(web): investigate attachment preview readiness failures in CI #512
CI run 40425332429 failed one browser test: preserves rtf document text through the worker and attachment viewer in apps/web/src/components/files/AttachmentFilePreview.browser.test.tsx.
The assertion at line 2629 received undefined for the iframe's srcdoc. The run finished with 6,201 passing tests and one failure across 504 web test files; Check and CI Gate propagated that failure. The attachment test and viewer are unchanged by PR #507 and come from base 802f8a0472f760830d7e26fe53844f6c75265e3f.
A focused run of the RTF, EPUB and ODS round-trip cases passed all three on Node 26.12.1. The source uses a default vi.waitFor around a viewer that lazily imports modules and starts a real conversion worker. This suggests a readiness-sensitive test failure, but no user-visible RTF defect is established yet.
Investigate the readiness boundary and make the smallest correction that retains the real worker-to-viewer assertions. Do not increase test timeouts, add retries or skip coverage. Keep this independent of the held-Action presentation repair in PR #507.
Validation should include the focused cases, the owning browser test file and required changed-file checks.
changed the title [-]test(web): investigate RTF preview readiness failure in CI[/-][+]test(web): investigate attachment preview readiness failures in CI[/+]on Oct 27, 2026
The single bounded rerun also failed, with four cases in the same unchanged attachment-preview test file: Word 100-page rendering hit the global test ceiling; notebook saved output had zero iframes at its readiness assertion; RTF and EPUB had no iframe srcdoc at theirs. The full run recorded 6,198 passed tests and four failures across 504 files.
Second-attempt web log. All failures are on the same source revision as the first attempt. No further unchanged-source reruns are planned. The separate repair should cover this observed set while preserving format conversion, full pagination and bounded output assertions; no timeout increase, retries or skipped coverage. This is not yet proof of a user-visible viewer defect.
Activity
[-]test(web): investigate RTF preview readiness failure in CI[/-][+]test(web): investigate attachment preview readiness failures in CI[/+]lastobelus commentedon Oct 27, 2026
The single bounded rerun also failed, with four cases in the same unchanged attachment-preview test file: Word 100-page rendering hit the global test ceiling; notebook saved output had zero iframes at its readiness assertion; RTF and EPUB had no iframe
srcdocat theirs. The full run recorded 6,198 passed tests and four failures across 504 files.Second-attempt web log. All failures are on the same source revision as the first attempt. No further unchanged-source reruns are planned. The separate repair should cover this observed set while preserving format conversion, full pagination and bounded output assertions; no timeout increase, retries or skipped coverage. This is not yet proof of a user-visible viewer defect.
test(web): bound Word fixtures and await notebook outputs