Repository navigation
Commit b9063ce
<!-- claude-projects-attribution: {"github_login":"os-tesla"} -->
_Requested by **Tesla** · [project
thread](https://claude.ai/code/project/chan_01AXsQkLFKRdQCqQ3RTr6JaoKAHLK79xmvJyPStopRpPQ2)_
Part of #25677
Part of #25711
Clause-②: no
Metadata-protocol: none
Follow-up to #25745 (4a), per ruling 30 = B: the two Test UI / Test Core
reds that #25745 caused once it merged are fixed here, on the same card.
Test-only; nothing is released, so this carries `skip-changeset`.
## What changes
**1. Test UI shard 3/16:
`ui/packages/cli/src/__tests__/app-generator.test.ts`.** The
release-lockstep test read `ui/.changeset/config.json`, which #25745
deleted (Changesets reads one config per repository). It now reads the
config through `changesetConfigPath()` from
`ui/scripts/workspace-root.mjs`, the helper every other reader of the
Changesets config already uses: the tree's own config when standalone,
the monorepo root's when nested under `ui/`.
**2. Test Core 5/8:
`packages/lint/src/validate-jsx-pages.production-witness.test.ts`.** The
witness asserted that the SDUI manifest contains the `html` component.
objectui#13449 retired `html`, and the manifest #25745 regenerated from
the in-tree `ui/` has 106 components, without it. The witness now pins
the html tier by two of its intrinsic tags (`a`, `p`). The shipped pages
never used the raw `html` component, and the clean-run witness in the
same file still checks them.
## Verification (this branch, on `main` 2a61f08)
- `app-generator.test.ts`: 48/48 pass. Without fix 1: 1 failed / 47
passed (ENOENT on `ui/.changeset/config.json`).
- Test UI shard 3/16, built the CI way (the 7-package turbo build, then
`pnpm --dir ui run test --shard=3/16`): 361 files passed, 1 skipped;
4,724 tests passed, 102 skipped.
- `validate-jsx-pages.production-witness.test.ts`: 5/5 pass. Also green:
`@objectstack/sdui-parser` 225/225, the cli sdui test files 79/79,
app-showcase metric-filter 7/7.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_0149BHSXfCdQywGaLdpRAtWe
---------
Co-authored-by: Claude <noreply@anthropic.com>
1 parent e167956 commit b9063ce
3 files changed
Lines changed: 11 additions & 3 deletions
File tree
- packages/lint/src
- ui
- packages/cli/src/__tests__
- scripts
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
62 | 67 | | |
63 | 68 | | |
64 | 69 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| 83 | + | |
83 | 84 | | |
84 | 85 | | |
85 | 86 | | |
| |||
741 | 742 | | |
742 | 743 | | |
743 | 744 | | |
| 745 | + | |
| 746 | + | |
744 | 747 | | |
745 | | - | |
| 748 | + | |
746 | 749 | | |
747 | 750 | | |
748 | 751 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
190 | | - | |
| 190 | + | |
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
| |||
0 commit comments