Skip to content

test: add credential-free clean-install E2E coverage - #5246

Merged
Trecek merged 2 commits into
developfrom
impl-issue-5231-clean-install-20261004
Oct 5, 2026
Merged

Trecek merged 2 commits into
developfrom
impl-issue-5231-clean-install-20261004

Conversation

@Trecek

@Trecek Trecek commented Oct 5, 2026

Copy link
Copy Markdown
Collaborator

Adds a credential-free clean-install E2E test in a fresh user container. The harness runs install, initializes a scratch Git repository with the gitleaks hook, and validates the complete doctor JSON report. Unexpected diagnostics, failed commands, malformed reports, and stale expectations fail the gate.

The catalog and CI matrix carry the new test kind. Its Docker route forwards no provider or sandbox credentials and mounts no home directories; command evidence and credential-free redaction remain available after failures. Known defects are recorded as expected_failure rather than a clean pass, matching only exact diagnostics linked to open bugs #5242, #5243, and #5244.

Closes #5231.

Validation

  • pre-commit run --all-files passed with changes staged.
  • Configured test_check / task test-local-gate passed: 15,702 passed, 207 skipped, 12 xfailed.
  • Built the Docker user target and ran the committed harness in a fresh container with only scripts/output mounts: exit zero, outcome: expected_failure, four exact linked findings, no unexpected findings. Credential-free redaction passed.
  • GitHub Actions validation is pending.

@Trecek
Trecek added this pull request to the merge queue Oct 5, 2026
Merged via the queue into develop with commit fa38e6b Oct 5, 2026
12 checks passed
@Trecek
Trecek deleted the impl-issue-5231-clean-install-20261004 branch October 5, 2026 02:51
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