Skip to content

fix(backend): classify bounded sync error reason in schema inventory - #23780

Merged
Git-on-my-level merged 1 commit into
mainfrom
lane/gcs3-schema
Oct 27, 2026
Merged

Git-on-my-level merged 1 commit into
mainfrom
lane/gcs3-schema

Conversation

@Git-on-my-level

Copy link
Copy Markdown
Member

The main backend unit shard fails because syncUploadErrorReason reads the server's bounded error envelope, and the app schema scanner counts that helper as an unmodeled successful response DTO. The inventory reports its jsonDecode at app/lib/backend/http/api/conversations.dart:904 and fails test_inventory_openapi_route_response_decode_migration_complete.

Register only (conversations.dart, syncUploadErrorReason) in the existing bounded error-discriminator classification. The parser regression uses the real production registrations and proves that an adjacent ordinary response decoder, and a helper with the same name in another file, remain normal response-decode sites. Scanner rules and the strict raw-decode gate remain enforced; no application response behavior or runtime flags change.

Lead ruling 15197c authorizes this narrow, separate main-red repair. Local reproduction before the change: exact backend/test.sh file, 1 failed / 12 passed. After the change, the same harness passes all 14 tests, including the new parser regression and strict inventory gates. Command: omi-heavy run -- nice -n 19 env BACKEND_PYTEST_WORKERS=1 BACKEND_UNIT_TEST_FILE_LIST=/Volumes/Ephemeral/scratch/gcs3/schema-tests.txt bash backend/test.sh. Lead owns merge. No deployment is needed for this tooling-only repair; it unblocks the separately gated GCS config PRs.

Failure-Class: none
This fixes a tooling classification false positive; no shipped runtime failure class or customer behavior is changed.

Product invariants: INV-MEM-4 -- inventory metadata only; no memory or custody persistence changes.
UI-Evidence: none -- reason: schema inventory/parser test only
Owns: gcs3

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-27T05:23:52.105597Z 174848e PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

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.

1 participant