Silvic 0.1.63 provisions an isolated Convex dev deployment and reports “Reading the source Convex environment” / “Syncing Convex environment variables”, but variables that exist only in the source workspace’s .env.local are not copied.
In SynTwin/mono this left a new Plot without R2_BUCKET, R2_ENDPOINT, R2_ACCESS_KEY_ID, R2_SECRET_ACCESS_KEY, and R2_KEY_PREFIX. ANAM_API_KEY was missing from both the Convex deployment and the local agent environment for the same reason. The repository’s setup contract intentionally resolves workspace values from both the source .env.local and the source Convex deployment.
Reproduction:
- Keep an env key in the primary workspace
.env.local, but not in its Convex deployment.
- Adopt/provision a disposable Plot with an isolated Convex dev deployment.
- Inspect the target deployment env and the Plot
.env.local.
- The key is absent even though provisioning completed successfully.
Expected: the provisioner should follow the repository’s env inheritance contract, or explicitly report that source-local variables were skipped. Deployment-scoped values such as R2_KEY_PREFIX still need to be derived for the target deployment rather than copied verbatim.
Impact: production-preview smoke tests for uploads, exports, avatar creation, and the local video agent fail after otherwise successful provisioning.
Workaround used: copy the shared credentials explicitly, derive development/<physical-deployment-slug> for R2_KEY_PREFIX, and restart the affected runtimes.
Silvic 0.1.63 provisions an isolated Convex dev deployment and reports “Reading the source Convex environment” / “Syncing Convex environment variables”, but variables that exist only in the source workspace’s
.env.localare not copied.In SynTwin/mono this left a new Plot without
R2_BUCKET,R2_ENDPOINT,R2_ACCESS_KEY_ID,R2_SECRET_ACCESS_KEY, andR2_KEY_PREFIX.ANAM_API_KEYwas missing from both the Convex deployment and the local agent environment for the same reason. The repository’s setup contract intentionally resolves workspace values from both the source.env.localand the source Convex deployment.Reproduction:
.env.local, but not in its Convex deployment..env.local.Expected: the provisioner should follow the repository’s env inheritance contract, or explicitly report that source-local variables were skipped. Deployment-scoped values such as
R2_KEY_PREFIXstill need to be derived for the target deployment rather than copied verbatim.Impact: production-preview smoke tests for uploads, exports, avatar creation, and the local video agent fail after otherwise successful provisioning.
Workaround used: copy the shared credentials explicitly, derive
development/<physical-deployment-slug>forR2_KEY_PREFIX, and restart the affected runtimes.