Repository navigation
chore(scripts): move frontend/dev/*.sh into scripts/frontend-dev/ (#718) - #728
Merged
Merged
Conversation
Five dev-stack shell scripts move to scripts/frontend-dev/ so tracked shell lives under scripts/ (the scripts-consolidation program; mirrors scripts/ci/). compose.yaml, seed.mjs, create-users.mjs and .state/ stay in frontend/dev/ — the scripts reach them via REPO_ROOT. Internal fixes: up.sh's compose ref goes through REPO_ROOT; update-baselines.sh derives REPO_ROOT two levels up instead of treating its parent as frontend/. Callers (Makefile, package.json test:e2e:fresh, stale-servers.ts remedy string) follow. frontend.yml's detect filter and content-addressed key both gain scripts/frontend-dev/ so edits to these scripts still run the frontend gate after leaving frontend/; rust.yml's classifier is a denylist and keeps covering them unchanged.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #718
What this does
Part of the scripts-consolidation program: the five dev-stack shell scripts move from
frontend/dev/toscripts/frontend-dev/(mirroringscripts/ci/), so tracked shell lives underscripts/.compose.yaml,seed.mjs,create-users.mjsand the gitignored.state/stay infrontend/dev/— the scripts reach them viaREPO_ROOT.git mv, history preserved):env.sh,up.sh,run.sh,kill-servers.sh,update-baselines.sh.up.sh's compose ref goes through${REPO_ROOT}/frontend/dev/compose.yaml;update-baselines.shderivesREPO_ROOTtwo levels up instead of treating its parent asfrontend/.run.shandenv.shneeded no path changes (${SCRIPT_DIR}-relative chaining,.stateviaSTATE_DIR).run/frontend-dev/frontend-seed/frontend-baselines;test:e2e:fresh→bash ../scripts/frontend-dev/kill-servers.sh;stale-servers.tsprose + REMEDY string.frontend.yml's path regex (thefilterstep's grep and the content-addressedkey'sinclude) gainscripts/frontend-dev/, so edits to these scripts still run the frontend gate after leavingfrontend/.rust.yml's classifier (scripts/ci/detect-paths.sh) is a denylist andscripts/frontend-dev/is not exempt — the backend gate keeps covering them with no change.seed.mjserror strings). The historical note atMakefile:118describes a past tree state and deliberately stays.Verified
bash scripts/ci/detect-paths-test.sh— 27/27bash scripts/skills-check.sh regen— no drift (theinfra/k8scoverage generator's output is unchanged by these scripts)make frontend— green (543 passed / 111 skipped in the Playwright tier)make check— greenER_DEV_WEB_PORT=3050 make runboots the whole stack from the new locations (container → migrations → er-server + er-dispatcher → 36 seed jobs → web ready), Ctrl+C teardown clean;bash ../scripts/frontend-dev/kill-servers.shresolves fromfrontend/(thetest:e2e:freshcwd)