Skip to content

core/integration: rotate the read-only token for daggerverse-private - #14963

Merged
grouville merged 1 commit into
dagger:mainfrom
grouville:fix/rotate-daggerverse-private-pat
Oct 29, 2026
Merged

grouville merged 1 commit into
dagger:mainfrom
grouville:fix/rotate-daggerverse-private-pat

Conversation

@grouville

Copy link
Copy Markdown
Member

The read-only token the integration tests use to read grouville/daggerverse-private was revoked, so these tests fail to authenticate:

  • TestAuthProviders (GitHub case)
  • the GitHub private-module cases in gitcredential_test.go
  • TestUpdateRefreshesPrivateGitLatestEntry

This replaces it in the 5 places it appears with a new fine-grained token. The token is limited to grouville/daggerverse-private, with read-only Contents and Metadata access. It has no write access and no access to other repositories or the account.

The committed token was revoked, so the private Git tests failed to
authenticate. The new fine-grained token only has read access to the
contents of grouville/daggerverse-private.

Signed-off-by: Guillaume de Rouville <[email protected]>
@grouville
grouville merged commit 91d4fae into dagger:main Oct 29, 2026
93 checks passed
sipsma added a commit that referenced this pull request Nov 3, 2026
The committed token was revoked, so the private Git tests failed to
authenticate. The new fine-grained token only has read access to the
contents of grouville/daggerverse-private.

Backported from #14963. 0.21 has no private-repo test in
lockfile_test.go, so only these two files carry the token here.

Signed-off-by: Guillaume de Rouville <[email protected]>
Signed-off-by: Erik Sipsma <[email protected]>
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.

2 participants