Skip to content

Release: publish-s3 fails with AWS OIDC 'Not authorized to perform sts:AssumeRoleWithWebIdentity', skipping choco/brew/winget #573

Description

@padak

The publish-s3 job failed on the v0.80.1 release, which cascaded: chocolatey, homebrew, winget and test-install all depend on it and were skipped. The apt/dnf repository therefore does not have 0.80.1, and neither do the package managers.

Run 31509118096

Run aws-actions/configure-aws-credentials@v6
  Retry AssumeRole: attempt 1 of 12 failed: Could not assume role with OIDC:
  Not authorized to perform sts:AssumeRoleWithWebIdentity
  ...
  Retry AssumeRole: reached max retries (12); giving up.
  ##[error]Could not assume role with OIDC: Not authorized to perform sts:AssumeRoleWithWebIdentity

This is AWS-side, not a workflow regression

  • publish-s3 succeeded on v0.80.0 and on every release before it; v0.80.1 is the first failure.
  • .github/workflows/release-kbagent.yml is byte-identical between the v0.80.0 and v0.80.1 tagsgit diff v0.80.0 v0.80.1 -- .github/workflows/release-kbagent.yml is empty. The only workflow touched between the two releases is ci.yml, unrelated to this job.
  • The job declares id-token: write and passes secrets.AWS_ROLE_ARN, unchanged.

So the token being presented is the same shape as the one that worked last week. Something changed on the AWS side: the role's trust policy, its conditions (sub / aud matching for this repo or ref pattern), or the role/secret itself.

Needs someone with IAM access — I have none, and there is nothing in this repository to change.

What did ship for 0.80.1

Unaffected, because they run before this job:

  • ✅ GitHub Release with all 15 assets, including keboola-cli2_0.80.1_windows_amd64.zip
  • ✅ PyPI (keboola-cli 0.80.1)

Which means the uv / pip path — the one install.sh uses and the one the self-update reads — is fine. Missing are the apt/dnf repo, Homebrew and Chocolatey.

Worth deciding while someone is in there

Chocolatey has been stale for a long time independently of this: keboola-cli2 sits at 0.66.1 against a current 0.80.1, so that channel has been silently broken for many releases. And there is no WinGet package at all — nothing has ever been submitted to microsoft/winget-pkgs — while the frozen binary points users at winget upgrade Keboola.KeboolaCLI2 (see also #485). Either wire these up properly or stop advertising them in kbagent update output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions