Skip to content

fix(ci): stop asserting deleted Android copy#102857

Closed
steipete wants to merge 1 commit into
mainfrom
codex/fix-native-i18n-baseline
Closed

fix(ci): stop asserting deleted Android copy#102857
steipete wants to merge 1 commit into
mainfrom
codex/fix-native-i18n-baseline

Conversation

@steipete

@steipete steipete commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Related: #102809

What Problem This Solves

Fixes an issue where every full CI run fails in the native-app i18n inventory after the Android orphan-screen cleanup removed the last $deviceModel · $appVersion source string.

Why This Change Was Made

The inventory test still contains many active Android and Apple source assertions, including Kotlin interpolation coverage. This removes only the assertion for the deleted settings-screen copy; it does not weaken inventory generation or production behavior.

This test-only main repair is required to validate the active Google Chat, Gemini, model-catalog, and CLI-audio fixes currently in the landing queue.

User Impact

No product behavior changes. Full CI can validate new changes again instead of failing on copy deleted by #102809.

Evidence

  • Before: node scripts/run-vitest.mjs test/scripts/native-app-i18n.test.ts failed exactly one assertion at line 53.
  • The test file, generated native-source inventory, and entire apps/android tree had identical Git object IDs on the failing PR head and current origin/main, proving baseline ownership.
  • After: the same focused command passes all 5 tests.
  • git diff --check passes; diff is one deleted stale assertion.

@steipete

steipete commented Jul 9, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by the stronger repair now on main in 2786239.

That change replaces the deleted Android copy sentinel with the active Preview · $domain source, so the inventory test keeps direct coverage for bare Kotlin interpolation while removing the stale assertion introduced by #102809. The focused 5-test inventory suite and native inventory check pass. Closing this deletion-only branch in favor of the landed fix.

@steipete steipete closed this Jul 9, 2026
@steipete

steipete commented Jul 9, 2026

Copy link
Copy Markdown
Contributor Author

Land-ready at f3d7d4f699451e33bd0d4e6883a187de4e495832.

@steipete

steipete commented Jul 9, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by 27862390809a750e2a6a210f6b166c5f2aa506a4 on main, which replaces the deleted Android string with the active Preview · $domain inventory sentinel. That is slightly stronger than this deletion-only patch because it preserves a live interpolation assertion.

The exact-head matrix here was green, and current main now contains the same baseline repair in its better form, so this PR is no longer needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainer Maintainer-authored PR size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant