docs(cli): site list omits the artifact-revision fields until the first deploy (not null)
Found by docker/verify-pending-updates.sh step A: the management API serializer uses WhenWritingNull, so a never-deployed site has no such keys. Claude-Session: https://claude.ai/code/session_01Y5ef34iUUMjmwnMpL9xgmB
This commit is contained in:
@@ -902,7 +902,7 @@ List all registered sites.
|
||||
scadabridge --url <url> site list
|
||||
```
|
||||
|
||||
`site list` has no table projector, so both `--format json` and `--format table` show the full `Site` entity for every row, unfiltered. As of 2026-09-14 that includes `artifactRevisionHash` and `artifactsDeployedAt` (`null` on either means artifacts have never been deployed to that site) — see `docs/requirements/Component-DeploymentManager.md` → *Per-site artifact revision*.
|
||||
`site list` has no table projector, so both `--format json` and `--format table` show the full `Site` entity for every row, unfiltered. As of 2026-09-14 that includes `artifactRevisionHash` and `artifactsDeployedAt` (both are OMITTED from the JSON, not emitted as `null`, until artifacts have been deployed to that site — the management serializer drops null fields; after the first successful deploy both are present) — see `docs/requirements/Component-DeploymentManager.md` → *Per-site artifact revision*.
|
||||
|
||||
#### `site create`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user