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

Merged opened this

Check · Review · Land · Live done — Landed and live in production.

Merged

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.

Notes

shipped production is serving it deploy 59903fa

opened this

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. The same fixture is already used in test/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 run scripts/gate.ts or the full suite; the forge runs the full check on push.

To try it: bun test test/started-from-line.test.ts.

Closes #13512

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.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs