fix: protect build arguments across API and native SDK - #864
Hydralerne merged 2 commits into
Conversation
8c20a9b
into
oblien:feat/bugfix-integration-2026-09-15
|
Merged into The adaptation moves protection into the shared platform, exposes fingerprints in the SDK contract, preserves masked build-argument interpolation on Compose sync, and keeps authorized source editing scans usable. Real PGlite/native/HTTP tests cover writes, old and new deployment snapshots, build status, drift, read-only tokens and tenant isolation. Validation: 292 API tests and 29 SDK tests passed; API typecheck and documentation checks passed. Both historical-disclosure and masked-sync regressions fail on the pre-fix code and pass after the change. Every GitHub CI job passed: https://github.com/oblien/openship/actions/runs/35015115546 Issue #854 is fixed on the integration branch, awaiting merge to main. The separate #844 work remains open. |
Service and deployment reads exposed current and historical build-argument secrets. This change masks non-empty values at the shared platform boundary and recovers echoed masks on writes, preserving working builds and rollback snapshots. Fixes #854 when the integration branch reaches main.
nullarguments and whole-map replacement. Masked arguments retain their stored interpolation provenance; new literal values cannot inherit a stale template marker.includeEnv: truesource editing scans functional. Internal merge baselines stay private, and retained snapshots remain usable for rollback.Abdullah Mohamed's original commit is retained. The PR is updated for the current shared platform architecture and targets
feat/bugfix-integration-2026-09-15, ahead of the draft integration PR #891.Validation with repository-pinned Bun 1.3.10:
The separate encryption-at-rest and environment-precedence concerns in #844 remain under review.