Skip to content

chore: revert verified-commit signing in provider tests & S/MIME github skip#376

Merged
MissingRoberto merged 1 commit into
mainfrom
MissingRoberto/revert-provisioning-smime-tests
Jul 8, 2026
Merged

chore: revert verified-commit signing in provider tests & S/MIME github skip#376
MissingRoberto merged 1 commit into
mainfrom
MissingRoberto/revert-provisioning-smime-tests

Conversation

@MissingRoberto

@MissingRoberto MissingRoberto commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Reverts commit 19ae77b (#357), which introduced two interim test changes:

  1. Verified-commit signing in provider integration tests (tests/providers_integration_test.go) — added signerForProvider, GPG-signing every provider write flow and overriding the committer/author email to the signing key when TEST_GPG_KEY/TEST_SIGN_EMAIL are set, so providers requiring verified commits would accept the push.
  2. S/MIME provider verification skip on GitHub (tests/sign_providers_verify_test.go) — skipped the S/MIME provider verify case for github because a self-signed test cert can't chain to a CA in GitHub's trust store.

Both interim workarounds are no longer needed: an exception has been added on the nanogit-test repository so its ruleset no longer requires verified commits. With that in place, the provider write flows don't need to GPG-sign / override the committer email, and the S/MIME github verification case can run without being rejected (GH013). This PR reverts both changes, restoring the tests to their pre-#357 state.

  • go vet ./tests/ passes.

🤖 Generated with Claude Code

…interim) (#357)"

This reverts commit 19ae77b.

Reverts the two interim test changes:
- provider integration tests no longer GPG-sign commits / override the
  committer email for providers that require verified commits
- re-enables S/MIME provider verification for github (removes the
  interim skip)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@MissingRoberto MissingRoberto marked this pull request as ready for review July 8, 2026 11:38
@MissingRoberto MissingRoberto requested a review from a team as a code owner July 8, 2026 11:38
@MissingRoberto MissingRoberto requested review from K-Phoen and ferruvich and removed request for a team July 8, 2026 11:38
@MissingRoberto MissingRoberto changed the title Revert #357: verified-commit signing in provider tests & S/MIME github skip chore: revert verified-commit signing in provider tests & S/MIME github skip Jul 8, 2026
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

Caution

This repository is currently using the Sentry GitHub App to receive Codecov PR comments. This integration will be deprecated on July 8, 2026. Please install the Codecov GitHub App to continue receiving coverage reports on your pull requests.
✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 72.34%. Comparing base (ec8c5c9) to head (13054e9).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #376      +/-   ##
==========================================
- Coverage   72.37%   72.34%   -0.03%     
==========================================
  Files          59       59              
  Lines        7391     7391              
==========================================
- Hits         5349     5347       -2     
- Misses       1634     1636       +2     
  Partials      408      408              

see 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@MissingRoberto MissingRoberto requested a review from amalavet July 8, 2026 12:07
@MissingRoberto MissingRoberto enabled auto-merge (squash) July 8, 2026 12:07
@MissingRoberto MissingRoberto merged commit 8859d59 into main Jul 8, 2026
52 of 53 checks passed
@MissingRoberto MissingRoberto deleted the MissingRoberto/revert-provisioning-smime-tests branch July 8, 2026 12:13
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.

3 participants