You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Blocking roadblock found while smoke-testing zuraffa v6 (goal: build a ZikZak-class app at apps/zikzak_demo using ONLY zfa commands). zfa CLI v6.0.0 (development branch, freshly rebuilt via scripts/rebuild.sh).
zfa build runs build_runner with the zorphy builder registered and generates grocery_sub_variety.zorphy.dart + grocery_sub_variety.g.dart (exactly what the reference app ~/Developer/zik_zak has via its build.yaml).
Actual
zfa build completed with 0 outputs generated, and reported success:
W These options have been removed and were ignored: --delete-conflicting-outputs
Built with build_runner/aot in 705s; wrote 0 outputs.
✅ Build completed successfully
No .zorphy.dart / .g.dart files exist afterward. The project is missing build.yaml, and zfa provides no command that creates it (grep over lib/src/** for build.yaml writes returns nothing; zfa entity create, zfa make, zfa build do not scaffold it).
Root cause
A zfa-generated entity requires the zorphy:zorphy builder, which must be registered in a build.yaml.
The reference project has one (hand-written historically); a brand-new zfa workflow never emits it.
zfa build does not detect the missing builder registration — it exits 0 with wrote 0 outputs, a silent false success.
Suggested fix
zfa entity create (or zfa build) should ensure build.yaml exists with the zorphy builder registered (scaffold it when absent, like buildByDefault intends).
zfa build should fail loudly (non-zero exit + clear message) when the project has no builders configured and 0 outputs are produced, instead of printing ✅ success.
Context
Blocking roadblock found while smoke-testing zuraffa v6 (goal: build a ZikZak-class app at
apps/zikzak_demousing ONLY zfa commands). zfa CLI v6.0.0 (development branch, freshly rebuilt viascripts/rebuild.sh).What I ran
Expected
zfa buildruns build_runner with the zorphy builder registered and generatesgrocery_sub_variety.zorphy.dart+grocery_sub_variety.g.dart(exactly what the reference app~/Developer/zik_zakhas via itsbuild.yaml).Actual
zfa buildcompleted with 0 outputs generated, and reported success:No
.zorphy.dart/.g.dartfiles exist afterward. The project is missingbuild.yaml, and zfa provides no command that creates it (grep overlib/src/**forbuild.yamlwrites returns nothing;zfa entity create,zfa make,zfa builddo not scaffold it).Root cause
zorphy:zorphybuilder, which must be registered in abuild.yaml.zfa builddoes not detect the missing builder registration — it exits 0 withwrote 0 outputs, a silent false success.Suggested fix
zfa entity create(orzfa build) should ensurebuild.yamlexists with the zorphy builder registered (scaffold it when absent, likebuildByDefaultintends).zfa buildshould fail loudly (non-zero exit + clear message) when the project has no builders configured and 0 outputs are produced, instead of printing ✅ success.zfa setup/zfa initbootstrap flow) — build.yaml scaffolding should be part of that too.Impact
Blocks the entire v6 smoke test: without generated parts,
zfa makeoutput and the app cannot compile.