Repository navigation
fix: remove stale demo catalog locations - #129
Conversation
Load sample entities through examples/all.yaml and check configured file locations exist before they reach a demo deployment. Co-authored-by: OpenAI Codex <noreply@openai.com>
|
Configuration and regression proof for The new checks reproduced six missing-file failures before the fix. After the fix,
|
|
Final-head CI passed on 0b8b145. The Build workflow completed mise run install, mise run lint, mise run test and mise run build successfully. This resolves the local Docker verification gap. CodeQL, actions analysis and both Socket Security checks are green. Regression proof and new test names are recorded above. No screenshot applies to this configuration and test slice. |
|
Merged during the scheduled sweep as 2cdb9eb; child #128 is now closed and parent #85 remains open. Verified the merged main tip locally with |
Fresh demo installs tried to load three missing catalogue files from both the local starter and production configuration. Remove those stale locations and keep
examples/all.yamlas the aggregate entry point, with regression coverage for every configured file location.Part of #85.
Closes #128.
This is a configuration and test slice. No page, layout or plugin registration changed, so a screenshot is not applicable. The configuration diff and test transcripts below are the behaviour evidence.
Verified locally
mise run installpassed with existing peer dependency warnings. The YAML parser is an explicit backend test dependency using the version already in the lockfile.mise run lintpassed across all five packages.mise run test -- --runInBand --verbosepassed 43 tests in seven suites. One existing test remains skipped in one skipped suite.mise run buildwas attempted once and blocked by the unavailable local Docker daemon. The required Build workflow must pass the Docker gate before merge.git diff --checkpassed.The new
catalogLocations.test.tscases parse both real YAML configs without substituting production secrets, resolve file locations frompackages/backend, check each file is readable and non-empty, and assert both configs still load the aggregate sample catalogue. Before changing the configs,mise run test -- --runInBand --verbose catalogLocationsfailed on all six stale references, proving the test detects this regression.The retained aggregate location includes guest users, groups, templates and the Acme sample entities. Existing
app-config.local.yamlcopies are preserved bymise run install; if they still contain the deleted locations, remove those same entries manually. This test checks top-level file locations and does not claim to exercise catalogue ingestion, wildcard expansion or a deployed demo. Public demo verification and the remaining parent-epic work stay open.The final-head Build workflow passed
mise run install,mise run lint,mise run testandmise run buildon0b8b145. The Docker gate is verified in CI despite the unavailable local daemon. CodeQL, actions analysis and both Socket Security checks also passed. The regression proof comment preserves the new test names and passing transcript.