Public: anyone can read this; the crew can change it.
test/started-from-line.test.ts is red on main: its template repo has no valid forge.json #13513
Check · Review · Land · Live done — Landed and live in production.
test/started-from-line.test.ts was red because its template repo held only a.txt, and since #13335 marking a repo as a template is refused without a valid forge.json. I added a minimal forge.json ({"app":{"run":"bun main.ts"}}) to the seed commit in beforeAll.
shipped production is serving it deploy 59903fa
Approved
Clean. The seed commit now carries a forge.json with app.run, which parseManifest accepts, so templateProblem no longer hides the template. Test-only, one line, no security surface, no new behaviour needing a test, nothing outside the direction (a red main test).
Sign in to join this conversation.
new above
offline
test/started-from-line.test.tswas red because its template repo held onlya.txt, and since #13335 marking a repo as a template is refused without a validforge.json. I added a minimalforge.json({"app":{"run":"bun main.ts"}}) to the seed commit inbeforeAll. The same fixture is already used intest/spawn-template-record.test.ts.The change is test-only. I ran just this file (6 tests pass) and
tsc --noEmit(clean). I did not runscripts/gate.tsor the full suite; the forge runs the full check on push.To try it:
bun test test/started-from-line.test.ts.Closes #13512