Skip to content

docs(payload): audit configuration safety and reproducibility - #117

Merged
Darkroom4364 merged 1 commit into
devfrom
codex/issue-65-config-audit
Jul 27, 2026
Merged

Darkroom4364 merged 1 commit into
devfrom
codex/issue-65-config-audit

Conversation

@Darkroom4364

Copy link
Copy Markdown
Owner

Closes #65

Changes

  • Document the existing request-resolution, build-time/runtime, production-fallback, and credential-free provenance boundary in docs/payload-builds.md.
  • Add focused readEffectiveBuildConfig coverage in server/internal/handlers/api/payload/build_contract_test.go for a credential-free control plus credential-key and raw-credential-byte rejection.

Boundary

No production behavior or runtime override was added. Effective config must match the build payload/listener/mutation seed; protocol is independently restricted to http/https; credentials are stripped or rejected before config.json and provenance publication.

Validation

  • go test -count=1 -run '^TestReadEffectiveBuildConfigRejectsCredentialMaterial$' ./internal/handlers/api/payload in server/
  • go test ./... in server/
  • go vet ./... in server/

@coderabbitai

coderabbitai Bot commented Jul 27, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 9fb3581c-481b-4b4c-8aed-ad6330e880b1

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/issue-65-config-audit

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@Darkroom4364
Darkroom4364 force-pushed the codex/issue-65-config-audit branch from 70ae398 to 2dd7e37 Compare July 27, 2026 11:17
@Darkroom4364
Darkroom4364 merged commit cafb30d into dev Jul 27, 2026
13 checks passed
@Darkroom4364
Darkroom4364 deleted the codex/issue-65-config-audit branch July 27, 2026 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant