Regression
Postgres service agent 0.0.125 breaks the container build for any service that uses the generated COPY builder/runtime-access.sql step. 0.0.124 builds the same service cleanly.
Symptom
#10 [7/7] COPY builder/runtime-access.sql /app/runtime-access.sql
#10 ERROR: failed to calculate checksum of ref ...: "/builder/runtime-access.sql": not found
ERROR: failed to build: failed to solve: failed to compute cache key: "/builder/runtime-access.sql": not found
Diagnosis
The Dockerfile the agent generates in 0.0.125 still emits COPY builder/runtime-access.sql /app/runtime-access.sql, but the build context the agent stages no longer includes the builder/ directory (the transferred context contains migrations/ but not builder/). So BuildKit fails computing the cache key for that COPY. Under 0.0.124 the same COPY resolves because builder/ is present in the staged context.
Impact
Any postgres service with runtime-access role provisioning (spec.runtime-read-write-roles) fails codefly build service / codefly ci build on 0.0.125.
Repro
- Pin a postgres service to
0.0.125. codefly build service → fails as above.- Repin to
0.0.124 → builds and exports the image.
Workaround
Holding the pin at 0.0.124 in module-saas-starter until this is fixed.
Regression
Postgres service agent 0.0.125 breaks the container build for any service that uses the generated
COPY builder/runtime-access.sqlstep. 0.0.124 builds the same service cleanly.Symptom
Diagnosis
The Dockerfile the agent generates in 0.0.125 still emits
COPY builder/runtime-access.sql /app/runtime-access.sql, but the build context the agent stages no longer includes thebuilder/directory (the transferred context containsmigrations/but notbuilder/). So BuildKit fails computing the cache key for that COPY. Under 0.0.124 the same COPY resolves becausebuilder/is present in the staged context.Impact
Any
postgresservice with runtime-access role provisioning (spec.runtime-read-write-roles) failscodefly build service/codefly ci buildon 0.0.125.Repro
0.0.125.codefly build service→ fails as above.0.0.124→ builds and exports the image.Workaround
Holding the pin at 0.0.124 in module-saas-starter until this is fixed.