Repository navigation
Don't fail FW Lite UI tests when the Argos upload is rejected - #2820
Conversation
Set ignoreUploadFailures on the Argos reporter in the ui and e2e Playwright configs, so a rejected upload (e.g. screenshot quota exhausted) logs a warning instead of failing the job. Closes #2819 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Important Review skippedAuto incremental reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
|
Replace ignoreUploadFailures with a small wrapper around the Argos reporter: a rejected upload now emits a ::warning annotation, visible on the PR checks, while the run's status still reflects test results only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The override returned Promise<void>, which isn't assignable to the base
reporter's Promise<{status: "failed"} | undefined> and failed svelte-check.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Task's prefixed output puts "[test:ui-standalone]" before every line, so GitHub ignored the ::warning/::notice workflow commands from Playwright and the Argos reporter. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
AI summary
Summary
Turn on the Argos reporter's built-in
ignoreUploadFailuresoption in both FW Lite Playwright configs. Argos still logs the error, then prints "Upload failure ignored" instead of failing the run.ArgosReporter.onEnd upload() catch log "❌ Error while creating the Argos build" - return { status: "failed" } // job goes red + warn "Upload failure ignored" // job reflects test resultsfrontend/viewer/tests/ui/playwright.config.tsfrontend/viewer/tests/e2e/playwright.config.tsEvidence
APIError: You have reached the maximum screenshot capacity...→ELIFECYCLE exit code 1@argos-ci/playwright6.4.2 (reporter.d.ts), andonEndonly returnsfailedwhen it is unset.Merge Danger
Door: two-way
Revert the two lines to restore failing on upload errors.
Blast Radius: CI-only
Argos upload problems (quota, auth, network) now only show in the job log, not as a red check, so a broken Argos integration could go unnoticed for a while.
Test plan
frontendjob is green when tests pass, even if Argos rejects the uploadCloses #2819
🤖 Generated with Claude Code