Skip to content

fix(platform): satisfy lint and tests in use-compact-age test - #4386

Closed
yannickmonney wants to merge 1 commit into
mainfrom
fix/compact-age-test-ci
Closed

yannickmonney wants to merge 1 commit into
mainfrom
fix/compact-age-test-ci

Conversation

@yannickmonney

@yannickmonney yannickmonney commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

Passing children in the createElement props object breaks the platform lint gate. Rename the compact-age test to .tsx and render LocaleProvider with JSX children, satisfying its required children type without suppressing lint. Preserve all existing assertions and update the manual coverage table's test path. No product code changes.

Verified with existing dependencies and /opt/node/bin/node:

  • Home hooks under vitest.ui.config.ts, one worker: 3 files, 29 tests passed.
  • Home hooks under the Vitest client project, one worker: 3 files, 29 tests passed.
  • Home panel importing the hook under the UI config, one worker: 1 file, 36 tests passed.
  • Scoped type-aware oxlint: passed.
  • Scoped oxfmt: passed, including commit hook formatting.
  • Scoped TypeScript config using the repository compiler options and the changed test's import closure: passed.

The failed logs at 1994b8a8 show the lint violation; Unit and UI aggregate failures report cancelled lanes, with no separate assertion failure in those logs.

TALE-895. Also reports the shared main-breakage repair for TALE-359 and TALE-357. Independent review and merge remain required.

@yannickmonney

yannickmonney commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor Author

Report for TALE-895 (1d547168-bf8b-4a94-84c7-6e7e89d706db), TALE-359 (3729d02a-eb44-42b2-a68e-1bec2cebbcd6) and TALE-357 (92d0b86a-e357-42a8-9696-6e72bcab6673):

Main was checked first: 113ef5c93f still contained the offending children prop. PR #4386 renames the compact-age test to .tsx and uses JSX children for LocaleProvider. All assertions are preserved; only the manual coverage reference also changes. Product code and lint rules are untouched.

Existing-dependency local checks passed using /opt/node/bin/node: Home hooks in both UI and client configs (29 tests each, one worker); Home panel importing the hook (36 tests, one worker); scoped type-aware oxlint; scoped oxfmt; scoped TypeScript over the test's import closure. The 1994b8a8 failure logs show lint failure and Unit/UI aggregators failing on cancelled lanes, not separate observed assertion failures.

At the 40-minute task limit, CI has 32 passing checks, no failures, 21 pending checks and 15 expected skips. Lint, Format, Type check, Performance, all four UI shards, Unit platform shard 1/2 and workspace Unit tests passed. Unit platform shard 2/2, the UI aggregate, Browser, Knip, integration scope and other build/E2E/readiness jobs remain pending. Full green CI has not been observed; the watch was stopped to respect the task time limit. Independent review and merge are required; no self-acceptance or merge performed.

This is the requested PR-comment fallback: the workspace connector returned workspace_status as unavailable/not granted, so direct comments on the three cards cannot be made through the granted interface. Plan, patch, scoped type config and CI evidence are in the task delivery box.

@yannickmonney

Copy link
Copy Markdown
Contributor Author

Superseded by ac7f3f5 on main

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