Skip to content

test(layout): register the StepFun provider test in both layout maps - #5335

Merged
lidge-jun merged 1 commit into
devfrom
codex/260920-stepfun-layout-registration
Sep 20, 2026
Merged

lidge-jun merged 1 commit into
devfrom
codex/260920-stepfun-layout-registration

Conversation

@lidge-jun

Copy link
Copy Markdown
Owner

Summary

  • dev is red at 5b7f777522a0860566b77233db625f0fdefd742f: tests/ layout > every test file resolves to a domain fails on shard 1/4 and macOS 1/2, and membership oracle > the live tree and the fixture agree entry by entry fails on shard 4/4.
  • feat(provider): add StepFun provider support #5313 added tests/providers/stepfun-provider.test.ts without registering it. The name matches no seed pattern in scripts/test-layout/layout.json, so resolveTarget returns null and the file resolves to no domain, and the fixture has no entry for it either.
  • This registers it as providers in both scripts/test-layout/layout.json and tests/fixtures/test-layout-expected.json, which is where the file already sits.

Verification

  • Replayed resolveTarget from scripts/test-layout/schema.ts over the live tests/ tree: unresolved, stragglers and misplaced are all empty after the change, and stepfun-provider.test.ts was the only entry in unresolved before it.
  • The two registries agree key-for-key and value-for-value at 1440 entries each, and both files parse as JSON.
  • Local suites, typecheck and builds were not run in this lane; exact-head hosted CI on this pull request is the execution evidence.

Checklist

  • Scope stays focused and avoids unrelated cleanup.
  • Docs or release notes were updated when needed.
  • Security-sensitive changes were reviewed for secrets, auth, and unsafe defaults.

Co-authored-by: Flowershangfromthebranches <flowershangfromthebranches@users.noreply.github.com>
@lidge-jun
lidge-jun requested a review from Ingwannu as a code owner September 20, 2026 12:21
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 20, 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-09-20T12:23:15.180742Z 09fb734 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.

@lidge-jun
lidge-jun merged commit d9cb0eb into dev Sep 20, 2026
6 of 7 checks passed
@lidge-jun
lidge-jun deleted the codex/260920-stepfun-layout-registration branch September 20, 2026 12:21
@coderabbitai

coderabbitai Bot commented Sep 20, 2026

Copy link
Copy Markdown
Contributor

Review Change StackReview Change Stack

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

⚙️ Run configuration

Configuration used: Repository: lidge-jun/opencodex/.coderabbit.yaml

Review profile: ASSERTIVE

Plan: Advanced

Run ID: 6b4bdae7-0e6e-4678-8cbf-69b5aaf89a8a

📥 Commits

Reviewing files that changed from the base of the PR and between d6d8744 and 09fb734.

📒 Files selected for processing (2)
  • scripts/test-layout/layout.json
  • tests/fixtures/test-layout-expected.json
 __________________________________________________
< Your concurrency story is mostly a horror story. >
 --------------------------------------------------
  \
   \   (\__/)
       (•ㅅ•)
       /   づ
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

Copy link
Copy Markdown
Contributor

✅ Deterministic PR hygiene checks passed.

@github-actions github-actions Bot added the chore Maintenance, CI, tests, refactors, or build changes (not a user-facing bug or feature). label Sep 20, 2026
lidge-jun added a commit that referenced this pull request Sep 20, 2026
…ntories"

This reverts commit e10b98f.

The same registration landed on dev as #5335 while this stack was in flight, and the rebase kept
both because the two insertions chose different neighbours. Two entries for one key is not a
second registration, it is a JSON object whose last value silently wins, so the duplicate goes
rather than the one already on dev.
lidge-jun added a commit that referenced this pull request Sep 20, 2026
…ntories"

This reverts commit e10b98f.

The same registration landed on dev as #5335 while this stack was in flight, and the rebase kept
both because the two insertions chose different neighbours. Two entries for one key is not a
second registration, it is a JSON object whose last value silently wins, so the duplicate goes
rather than the one already on dev.
lidge-jun added a commit that referenced this pull request Sep 20, 2026
…ntories"

This reverts commit e10b98f.

The same registration landed on dev as #5335 while this stack was in flight, and the rebase kept
both because the two insertions chose different neighbours. Two entries for one key is not a
second registration, it is a JSON object whose last value silently wins, so the duplicate goes
rather than the one already on dev.
lidge-jun added a commit that referenced this pull request Sep 20, 2026
* fix(desktop): keep proc-macro symbols in the release profile

cargo applies profile.release strip to build scripts and proc macros. A stripped proc-macro dylib cannot be loaded by rustc, so the release build failed at ctor_proc_macro with a bare can't-find-crate that named the macro instead of the profile. The dev profile compiled the same graph.

* docs(devlog): lock the desktop stabilization roadmap

* docs(devlog): state per-phase acceptance evidence

* fix(cli): report a dashboard bundle older than its sources

The dashboard is a build artifact served from gui/dist, so a checkout that moves
forward without bun run build:gui keeps serving the previous bundle. Nothing
fails: the proxy answers, the page loads, and every feature added since the last
build is absent, which reads as the feature being broken rather than unbuilt. A
five-day-old bundle hid the whole menu-bar and widget section of the Usage page
that way.

ocx status now compares the newest source mtime under gui/src against the served
bundle and names the rebuild. It reports and never rebuilds: a proxy that
compiled a frontend while starting would trade silent staleness for a slow,
surprising start.

Unknown is not stale. A packaged install ships no gui/src beside the bundle, and
a missing bundle is a separate condition, so neither raises the warning.

* docs(devlog): plan the wp2 build-state guards

* build(desktop): give the local build a path that needs no signing key

tauri build always writes the updater archive, because createUpdaterArtifacts is
true and plugins.updater.pubkey is set, and then refuses to finish without
TAURI_SIGNING_PRIVATE_KEY. Both bundles already exist when that happens, so a
local build reports a failure for a signing step it was never meant to perform
and a wrapper cannot tell it apart from a real one.

bun run build:local turns the artifact off for that invocation instead of
leaving the key required and unmet, so nothing is skipped unsigned. Selecting
bundle targets is not enough: createUpdaterArtifacts is a config flag, so
--bundles app,dmg still produced the updater archive and still failed. The
committed config is unchanged and the release path still refuses to publish an
unsigned updater artifact.

* fix(ci): stop the desktop lockfile shadowing the root one and name the freshness test for its domain

Two failures on the exact head of this branch, both real.

The widget job installs the desktop workspace with --frozen-lockfile on Bun 1.3.14. A bun.lock
written inside desktop/ by a newer Bun shadows the root lockfile for any command run from that
directory, so the job failed with "Unknown lockfile version" followed by "lockfile had changes,
but lockfile is frozen" before it built anything. That file was committed by accident; the root
lockfile is the only one this repository keeps, and .gitignore now says so.

tests/server/gui-bundle-freshness.test.ts was registered as server in both inventories, but the
gui domain seed claims ^(?:dashboard|gui|models|qwen|tencent)-, so resolveTarget answered gui and
the membership oracle reported the file twice - once as a wrong target against the fixture and
once as a seed disagreeing with the table. Renaming it to server-gui-bundle-freshness.test.ts puts
the name in the domain that owns it rather than pinning an override, which is what that guard is
there to prevent.

* test(layout): register the StepFun provider test in both inventories

tests/providers/stepfun-provider.test.ts landed on dev without an entry in either inventory, and
no regex seed resolves its name, so the membership oracle has been failing on dev and on every
branch cut from it since. Registering it under providers restores the gate for everyone rather
than only for this stack.

* Revert "test(layout): register the StepFun provider test in both inventories"

This reverts commit e10b98f.

The same registration landed on dev as #5335 while this stack was in flight, and the rebase kept
both because the two insertions chose different neighbours. Two entries for one key is not a
second registration, it is a JSON object whose last value silently wins, so the duplicate goes
rather than the one already on dev.

---------

Co-authored-by: codex <codex@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Maintenance, CI, tests, refactors, or build changes (not a user-facing bug or feature).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant