Repository navigation
fix(store): redact environment values in the 1.7 JSON store - #1533
Conversation
|
CodeRabbit CLI reviewed exact head
No production change is needed for either comment. The normal local push gate passed, including local Qlty, builds and 100% configured coverage. All 14,307 backend and 5,135 UI tests pass. |
|
@greptileai Review exact head |
|
No actionable comments were generated in the recent review.
|
biggest-littlest
left a comment
There was a problem hiding this comment.
Checked the JSON write boundaries, durable startup cleanup and exact-ID local/agent reveal. The full local gate passes with 100% configured coverage. The two CLI comments are covered by the existing Loki and operation persistence contracts. Required hosted checks and bot review still need to finish before merge.
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
The 1.7 Loki JSON store still saves secret environment values in container records and update-operation snapshots. This backports write redaction and a startup scrub that must save successfully before initialization completes.
Environment reveal now inspects the exact live Docker ID locally or through the owning authenticated agent. Older agents and edge connections return an explicit unsupported response. Runtime comparisons use the same redaction to avoid repeated change events, and agent round trips preserve classification for masked credential URLs.
Unknown secret names and older backup files remain outside this pattern-based cleanup. Secret-only value changes no longer count as runtime-detail changes. The rc.4 notes cover these limits and the agent upgrade requirement.
Validation: the full normal push gate passed, including local Qlty, lint, Knip, script/workflow checks, app/UI builds and 100% configured app/UI coverage. All 14,307 backend and 5,135 UI tests pass. CodeRabbit CLI reviewed all 21 files on the current head; both comments were checked against the implementation and need no change.
Refs #1523.
Changelog
GET /api/containers/:id/envendpoints for live environment retrieval by exact container ID.Concerns