Skip to content

fix(app): treat in-progress conversation 404 as benign#9260

Draft
Git-on-my-level wants to merge 1 commit into
mainfrom
fix/flutter-process-in-progress-404
Draft

fix(app): treat in-progress conversation 404 as benign#9260
Git-on-my-level wants to merge 1 commit into
mainfrom
fix/flutter-process-in-progress-404

Conversation

@Git-on-my-level

@Git-on-my-level Git-on-my-level commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

Merge order & dependencies

PR Dependencies
9250 None — merge first (unblocks CI)
9252 None — parallel with #9253, #9254
9253 None — parallel with #9252, #9254
9254 None — parallel with #9252, #9253; #9255 should merge after this
9255 Merge after #9254 (registers teardown tests). Merge after #9250 recommended.
9256 Independent code PR; PR6b prod deploy after merge. Related #9255 not blocking.
9257 Draft. Merge after #9255 (workflow contract CI).
9258 Draft. Independent; merge after wave 1.
9260 Draft. Independent; merge after wave 1.
9261 Draft. Merge after wave 1; PR10c proxy routing follow-up optional.

Summary

  • Treat HTTP 404 from processInProgressConversation as expected null when WS auto-finalize races the client.
  • Stop crash-reporting benign 404; add hermetic Dart unit test and agent-flutter verification step in e2e SKILL.

Related: #8749

Test plan

cd app && fvm flutter test test/backend/process_in_progress_conversation_test.dart
# All tests passed!

Merge with a regular merge (no squash).

Closes #9241

Made with Cursor

Review in cubic

When WebSocket auto-finalize races POST /v1/conversations, HTTP 404 means
the in-progress pointer is already gone — return null instead of reporting
to Crashlytics. Extract interpretProcessInProgressConversationResponse for
hermetic tests and document the E2E verification path.

Verification: cd app && fvm flutter test test/backend/process_in_progress_conversation_test.dart (3 passed)

Closes #9241

Co-authored-by: Cursor <cursoragent@cursor.com>

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 3 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Re-trigger cubic

@Git-on-my-level Git-on-my-level marked this pull request as draft July 8, 2026 02:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Flutter: benign 404 recovery when processing in-progress conversation races WS auto-finalize

1 participant