Repository navigation
v0.4.1 — null env values on Coolify 4.7
Verified against Coolify 4.7.5 (two live instances, read-only).
Install from the attached tarball (no git needed, no script runs):
pnpm add -D https://github.com/Coriou/coolify-harness-api/releases/download/v0.4.1/coolify-harness-0.4.1.tgzbun add -d https://github.com/Coriou/coolify-harness-api/releases/download/v0.4.1/coolify-harness-0.4.1.tgzFrom the git tag: bun add -d coolify-harness@github:Coriou/coolify-harness-api#v0.4.1. pnpm refuses this
version from git (ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED: it still has a prepare script, removed in
0.5.0), so with pnpm use the tarball.
Fixed
env list/env diff/env apply/env deletefailed withCoolify response (listEnvs) failed contract validationon Coolify 4.7. Coolify 4.7.5 stores a compose-declared blank
variable (${VAR:-}) with no value and serialisesvalue: null(alsoreal_value: null,
order: null); the read schema only accepted a string or an absent key.valueis now
nullish: a null value reads as''and the row carriesvalue_null: true.- A null value is not a withheld one.
value_hiddenstill means only "the token lacks
read:sensitive" (key absent);env diff/env applyare refused (exit 5) for withheld
values only. - A null row compares equal to an empty desired value:
KEY=in--from-file/--set KEY=
against a null row isunchanged, never an update, and a null row next to an empty-string row
of the same key and scope is not duplicate-key drift. env listprintslen=0 (null)and--jsonrows gainvalue_null(boolean, additive);
value_lengthstaysnullfor withheld values only.
- A null value is not a withheld one.
Added
EnvVar.value_null(optional in the type, always set by the parser).test/fixtures/coolify/v4.7/envs-compose-blank.json: synthetic, 4.7.5-shaped env payload.
Full changelog: v0.4.0...v0.4.1