Skip to content

fix: defer OIDC token acquisition until after Nix evaluation - #276

Merged
cole-h merged 1 commit into
DeterminateSystems:mainfrom
flexiondotorg:oidc-order
Mar 23, 2026
Merged

cole-h merged 1 commit into
DeterminateSystems:mainfrom
flexiondotorg:oidc-order

Conversation

@flexiondotorg

@flexiondotorg flexiondotorg commented Feb 15, 2026 •

Copy link
Copy Markdown
Contributor

For large flakes, Nix evaluation (nix flake show --all-systems + output path enumeration) can take 8+ minutes, but GitHub Actions OIDC tokens expire after ~5 minutes. Previously, the token was obtained in PushContext::from_cli_and_env() before evaluation began, causing 401 Unauthorized errors when the token was finally used for API calls.

Move token acquisition to just before FlakeHubClient::new() in execute(), after all Nix evaluation completes. Introduce a TokenContext enum that captures environment-specific data needed for each auth method (GitHub, GitLab, Generic, LocalGitHub) without immediately fetching the token. The new acquire_auth_token() method on PushContext handles deferred retrieval.

Fixes #275

Summary by CodeRabbit

New Features

  • Enhanced authentication handling – Authentication tokens are now refreshed before the first API call, improving security and reliability.
  • Improved multi-platform support – Better token acquisition for GitHub, GitLab, generic runners, and local environments with environment-specific handling.

For large flakes, Nix evaluation (nix flake show --all-systems + output
path enumeration) can take 8+ minutes, but GitHub Actions OIDC tokens
expire after ~5 minutes. Previously, the token was obtained in
PushContext::from_cli_and_env() before evaluation began, causing 401
Unauthorized errors when the token was finally used for API calls.

Move token acquisition to just before FlakeHubClient::new() in
execute(), after all Nix evaluation completes. Introduce a TokenContext
enum that captures environment-specific data needed for each auth method
(GitHub, GitLab, Generic, LocalGitHub) without immediately fetching the
token. The new acquire_auth_token() method on PushContext handles
deferred retrieval.

Fixes DeterminateSystems#275
@coderabbitai

coderabbitai Bot commented Feb 15, 2026 •

Copy link
Copy Markdown
📝 Walkthrough

Walkthrough

Moved OIDC token acquisition from early PushContext construction to immediately after flake evaluation completes. Introduced a TokenContext enum that defers token retrieval by environment type (GitHub, GitLab, Generic, LocalGitHub), then acquires fresh tokens via a new async method just before FlakeHubClient initialization to prevent token expiry during long evaluations.

Changes

Cohort / File(s) Summary
Main Entry Point
src/main.rs
Added call to acquire_auth_token() after constructing PushContext and before initializing FlakeHubClient to fetch a fresh token post-evaluation.
Token Acquisition Logic
src/push_context.rs
Introduced TokenContext enum to encapsulate token acquisition strategy by environment (GitHub, GitLab, Generic, LocalGitHub). Replaced auth_token: String field with token_context: TokenContext. Added async acquire_auth_token() method that defers token fetching until after flake evaluation, including special handling for LocalGitHub to reset context after token generation.

Sequence Diagram

sequenceDiagram
    participant Main as Main (execute)
    participant PushCtx as PushContext
    participant TokenMgr as Token Acquisition
    participant FlakeEval as Flake Evaluation
    participant Client as FlakeHubClient
    participant API as FlakeHub API

    Main->>PushCtx: from_cli_and_env()<br/>(stores TokenContext)
    Main->>FlakeEval: Run nix evaluation<br/>(can take 8+ minutes)
    FlakeEval-->>Main: Evaluation complete
    Main->>TokenMgr: acquire_auth_token()
    
    alt GitHub Actions
        TokenMgr->>TokenMgr: get_actions_id_bearer_token()
    else GitLab Runner
        TokenMgr->>TokenMgr: get_runner_bearer_token()
    else Generic
        TokenMgr->>TokenMgr: Read FLAKEHUB_PUSH_OIDC_TOKEN env
    else LocalGitHub
        TokenMgr->>TokenMgr: Generate fake token
        TokenMgr->>TokenMgr: Reset to Generic
    end
    
    TokenMgr-->>Main: (fresh_token, ctx)
    Main->>Client: FlakeHubClient::new(fresh_token)
    Client->>API: /token/status (with fresh token)
    API-->>Client: 200 OK
Loading

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~22 minutes

Poem

🐰 A token that traveled through time, now refreshed and sublime!
No more 401 heartache—evaluation's done, and we grab it just right.
Fresh OIDC upon the api call's plight! 🥕✨

🚥 Pre-merge checks | ✅ 6
✅ Passed checks (6 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: deferring OIDC token acquisition until after Nix evaluation completes, which directly addresses the core problem.
Linked Issues check ✅ Passed The PR successfully implements the suggested fix from issue #275: moving token acquisition from PushContext::from_cli_and_env() to after evaluation via the new acquire_auth_token() method called before FlakeHubClient construction.
Out of Scope Changes check ✅ Passed All changes are directly scoped to deferring token acquisition: introducing TokenContext enum, adding acquire_auth_token() method, and updating token handling logic—no unrelated modifications detected.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.
Merge Conflict Detection ✅ Passed ✅ No merge conflicts detected when merging into main

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

No actionable comments were generated in the recent review. 🎉

🧹 Recent nitpick comments
src/push_context.rs (2)

195-257: Consider taking &mut self to avoid the verbose destructure-reconstruct pattern.

The full destructure on lines 199–207 and reconstruct on lines 246–254 exist solely because self is consumed by value. Since only the LocalGitHub arm actually needs to move data out of token_context, you could take &mut self and use std::mem::replace for that case, returning just the String token. This simplifies the caller too (let auth_token = ctx.acquire_auth_token().await?).

♻️ Sketch using &mut self
-    pub async fn acquire_auth_token(self) -> Result<(String, Self)> {
-        let PushContext {
-            flakehub_host,
-            token_context,
-            upload_name,
-            release_version,
-            error_if_release_conflicts,
-            metadata,
-            tarball,
-        } = self;
-
-        let (token, token_context) = match token_context {
-            TokenContext::GitHub { ref host } => {
+    pub async fn acquire_auth_token(&mut self) -> Result<String> {
+        let token = match &self.token_context {
+            TokenContext::GitHub { host } => {
                 let t = crate::github::get_actions_id_bearer_token(host)
                     .await
                     .wrap_err("Getting upload bearer token from GitHub")?;
-                (t, token_context)
+                t
             }
             TokenContext::GitLab => {
                 let t = crate::gitlab::get_runner_bearer_token()
                     .await
                     .wrap_err("Getting upload bearer token from GitLab")?;
-                (t, TokenContext::GitLab)
+                t
             }
             TokenContext::Generic => {
                 let t = std::env::var("FLAKEHUB_PUSH_OIDC_TOKEN")
                     .with_context(|| "missing FLAKEHUB_PUSH_OIDC_TOKEN environment variable")?;
-                (t, TokenContext::Generic)
+                t
             }
-            TokenContext::LocalGitHub {
-                jwt_issuer_uri,
-                project_owner,
-                repository,
-                github_graphql_data_result,
-            } => {
-                let t = flakehub_auth_fake::get_fake_bearer_token(
-                    &jwt_issuer_uri,
-                    &project_owner,
-                    &repository,
-                    github_graphql_data_result,
-                )
-                .await?;
-                (t, TokenContext::Generic)
+            TokenContext::LocalGitHub { .. } => {
+                let old = std::mem::replace(&mut self.token_context, TokenContext::Generic);
+                let TokenContext::LocalGitHub {
+                    jwt_issuer_uri,
+                    project_owner,
+                    repository,
+                    github_graphql_data_result,
+                } = old else { unreachable!() };
+                flakehub_auth_fake::get_fake_bearer_token(
+                    &jwt_issuer_uri,
+                    &project_owner,
+                    &repository,
+                    github_graphql_data_result,
+                )
+                .await?
             }
         };
-
-        let ctx = PushContext {
-            flakehub_host,
-            token_context,
-            upload_name,
-            release_version,
-            error_if_release_conflicts,
-            metadata,
-            tarball,
-        };
-
-        Ok((token, ctx))
+        Ok(token)
     }

110-112: host in TokenContext::GitHub duplicates flakehub_host — consider referencing the existing field.

TokenContext::GitHub { host } stores a clone of cli.host (line 111), which is the same value stored in PushContext::flakehub_host (line 175). If you switch acquire_auth_token to &mut self as suggested above, the GitHub arm could simply reference self.flakehub_host directly, removing the need for the host field in TokenContext::GitHub entirely and making it a unit variant like GitLab/Generic.

Tip

Issue Planner is now in beta. Read the docs and try it out! Share your feedback on Discord.


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 and usage tips.

@cole-h cole-h left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the delay on reviewing this. LGTM, thanks!

@cole-h
cole-h added this pull request to the merge queue Mar 23, 2026
Merged via the queue into DeterminateSystems:main with commit b5c663d Mar 23, 2026
7 of 8 checks passed
spotdemo4 pushed a commit to spotdemo4/trevstack that referenced this pull request Sep 14, 2026
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [DeterminateSystems/flakehub-push](https://github.com/DeterminateSystems/flakehub-push) | action | major | `v6` → `v7` |

---

### Release Notes

<details>
<summary>DeterminateSystems/flakehub-push (DeterminateSystems/flakehub-push)</summary>

### [`v7`](https://github.com/DeterminateSystems/flakehub-push/releases/tag/v7)

[Compare Source](DeterminateSystems/flakehub-push@v6...v7)

#### What's Changed

- Update Nix flake inputs by [@&#8203;github-actions](https://github.com/github-actions)\[bot] in [#&#8203;240](DeterminateSystems/flakehub-push#240)
- Update `detsys-ts`: Merge pull request [#&#8203;106](DeterminateSystems/flakehub-push#106) from DeterminateSystems/fix-dependabot-warning by [@&#8203;detsys-pr-bot](https://github.com/detsys-pr-bot) in [#&#8203;244](DeterminateSystems/flakehub-push#244)
- Add success or failure checks for nix and cache actions by [@&#8203;RossComputerGuy](https://github.com/RossComputerGuy) in [#&#8203;252](DeterminateSystems/flakehub-push#252)
- Add rev parameter by [@&#8203;RossComputerGuy](https://github.com/RossComputerGuy) in [#&#8203;251](DeterminateSystems/flakehub-push#251)
- Update `detsys-ts`: Merge pull request [#&#8203;109](DeterminateSystems/flakehub-push#109) from DeterminateSystems/tsup-to-tsdown by [@&#8203;detsys-pr-bot](https://github.com/detsys-pr-bot) in [#&#8203;253](DeterminateSystems/flakehub-push#253)
- Bump tracing-subscriber from 0.3.18 to 0.3.20 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;248](DeterminateSystems/flakehub-push#248)
- Update Nix flake inputs by [@&#8203;github-actions](https://github.com/github-actions)\[bot] in [#&#8203;245](DeterminateSystems/flakehub-push#245)
- fixup: allow overriding rev via --rev flag by [@&#8203;cole-h](https://github.com/cole-h) in [#&#8203;256](DeterminateSystems/flakehub-push#256)
- Update `detsys-ts`: Merge pull request [#&#8203;114](DeterminateSystems/flakehub-push#114) from DeterminateSystems/dependabot/npm\_and\_yarn/npm-deps-47c548f420 by [@&#8203;detsys-pr-bot](https://github.com/detsys-pr-bot) in [#&#8203;257](DeterminateSystems/flakehub-push#257)
- Update Nix flake inputs by [@&#8203;github-actions](https://github.com/github-actions)\[bot] in [#&#8203;254](DeterminateSystems/flakehub-push#254)
- Switch to secure packages by [@&#8203;lucperkins](https://github.com/lucperkins) in [#&#8203;258](DeterminateSystems/flakehub-push#258)
- Grahamc/upgrade deps eslint use npm by [@&#8203;grahamc](https://github.com/grahamc) in [#&#8203;260](DeterminateSystems/flakehub-push#260)
- Update Nix flake inputs by [@&#8203;github-actions](https://github.com/github-actions)\[bot] in [#&#8203;259](DeterminateSystems/flakehub-push#259)
- Update Nix flake inputs by [@&#8203;github-actions](https://github.com/github-actions)\[bot] in [#&#8203;264](DeterminateSystems/flakehub-push#264)
- Push olmrksvwrpko by [@&#8203;grahamc](https://github.com/grahamc) in [#&#8203;267](DeterminateSystems/flakehub-push#267)
- Bump lodash from 4.17.21 to 4.17.23 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;265](DeterminateSystems/flakehub-push#265)
- Update `detsys-ts`: Bump fast-xml-parser from 5.3.3 to 5.3.4 ([#&#8203;134](DeterminateSystems/flakehub-push#134)) by [@&#8203;detsys-pr-bot](https://github.com/detsys-pr-bot) in [#&#8203;271](DeterminateSystems/flakehub-push#271)
- Update `detsys-ts`: Bump the npm-deps group across 1 directory with 9 updates ([#&#8203;138](DeterminateSystems/flakehub-push#138)) by [@&#8203;detsys-pr-bot](https://github.com/detsys-pr-bot) in [#&#8203;274](DeterminateSystems/flakehub-push#274)
- Bump bytes from 1.7.1 to 1.11.1 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;270](DeterminateSystems/flakehub-push#270)
- Enable provenance in CI by [@&#8203;lucperkins](https://github.com/lucperkins) in [#&#8203;278](DeterminateSystems/flakehub-push#278)
- Update flake inputs by [@&#8203;lucperkins](https://github.com/lucperkins) in [#&#8203;279](DeterminateSystems/flakehub-push#279)
- Update `detsys-ts`: Bump fast-xml-parser from 5.3.4 to 5.3.6 ([#&#8203;140](DeterminateSystems/flakehub-push#140)) by [@&#8203;detsys-pr-bot](https://github.com/detsys-pr-bot) in [#&#8203;281](DeterminateSystems/flakehub-push#281)
- Update `detsys-ts`: Fix default value for Action option ([#&#8203;144](DeterminateSystems/flakehub-push#144)) by [@&#8203;detsys-pr-bot](https://github.com/detsys-pr-bot) in [#&#8203;285](DeterminateSystems/flakehub-push#285)
- Use flake-schemas crate for output collection by [@&#8203;gustavderdrache](https://github.com/gustavderdrache) in [#&#8203;289](DeterminateSystems/flakehub-push#289)
- fixup: update flake-schemas so we can see the stderr for execution errors by [@&#8203;cole-h](https://github.com/cole-h) in [#&#8203;292](DeterminateSystems/flakehub-push#292)
- flake-schemas: 0.2.0 -> 0.3.0 for null what support by [@&#8203;grahamc](https://github.com/grahamc) in [#&#8203;294](DeterminateSystems/flakehub-push#294)
- fix: defer OIDC token acquisition until after Nix evaluation by [@&#8203;flexiondotorg](https://github.com/flexiondotorg) in [#&#8203;276](DeterminateSystems/flakehub-push#276)
- Update `detsys-ts`: Drop the old schemas and integrate the open PRs ([#&#8203;162](DeterminateSystems/flakehub-push#162)) by [@&#8203;detsys-pr-bot](https://github.com/detsys-pr-bot) in [#&#8203;297](DeterminateSystems/flakehub-push#297)
- Update deps by [@&#8203;grahamc](https://github.com/grahamc) in [#&#8203;299](DeterminateSystems/flakehub-push#299)
- Update deps by [@&#8203;grahamc](https://github.com/grahamc) in [#&#8203;298](DeterminateSystems/flakehub-push#298)
- unlisted: alias for clap by [@&#8203;grahamc](https://github.com/grahamc) in [#&#8203;300](DeterminateSystems/flakehub-push#300)
- Update gix by [@&#8203;cole-h](https://github.com/cole-h) in [#&#8203;286](DeterminateSystems/flakehub-push#286)
- Autodiscover the GitHub GraphQL API URL base by [@&#8203;cole-h](https://github.com/cole-h) in [#&#8203;301](DeterminateSystems/flakehub-push#301)
- Update `detsys-ts`: Merge pull request [#&#8203;171](DeterminateSystems/flakehub-push#171) from DeterminateSystems/update-deps by [@&#8203;detsys-pr-bot](https://github.com/detsys-pr-bot) in [#&#8203;304](DeterminateSystems/flakehub-push#304)
- fixup: rewrite libiconv reference on macOS by [@&#8203;cole-h](https://github.com/cole-h) in [#&#8203;309](DeterminateSystems/flakehub-push#309)
- Update `detsys-ts`: Populate group properties ([#&#8203;176](DeterminateSystems/flakehub-push#176)) by [@&#8203;detsys-pr-bot](https://github.com/detsys-pr-bot) in [#&#8203;310](DeterminateSystems/flakehub-push#310)
- Bump rustls-webpki from 0.103.10 to 0.103.13 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;308](DeterminateSystems/flakehub-push#308)
- Bump fast-xml-builder from 1.1.5 to 1.2.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;312](DeterminateSystems/flakehub-push#312)
- Bump rand from 0.8.5 to 0.8.6 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;306](DeterminateSystems/flakehub-push#306)
- Bump gix from 0.80.0 to 0.83.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;311](DeterminateSystems/flakehub-push#311)
- Update `detsys-ts`: Merge pull request [#&#8203;177](DeterminateSystems/flakehub-push#177) from DeterminateSystems/dependabot/npm\_and\_yarn/fast-xml-parser-5.7.3 by [@&#8203;detsys-pr-bot](https://github.com/detsys-pr-bot) in [#&#8203;313](DeterminateSystems/flakehub-push#313)
- Update `detsys-ts`: Merge pull request [#&#8203;181](DeterminateSystems/flakehub-push#181) from DeterminateSystems/update-node by [@&#8203;detsys-pr-bot](https://github.com/detsys-pr-bot) in [#&#8203;316](DeterminateSystems/flakehub-push#316)
- Update rand 0.9 to 0.9.4 by [@&#8203;cole-h](https://github.com/cole-h) in [#&#8203;318](DeterminateSystems/flakehub-push#318)
- Provide pinning for GitHub Actions and cooldown for npm updates by [@&#8203;lucperkins](https://github.com/lucperkins) in [#&#8203;315](DeterminateSystems/flakehub-push#315)
- Update `detsys-ts`: Merge pull request [#&#8203;182](DeterminateSystems/flakehub-push#182) from DeterminateSystems/actions-pinning by [@&#8203;detsys-pr-bot](https://github.com/detsys-pr-bot) in [#&#8203;320](DeterminateSystems/flakehub-push#320)
- Manually construct flake archive, update tar by [@&#8203;cole-h](https://github.com/cole-h) in [#&#8203;317](DeterminateSystems/flakehub-push#317)
- Allow configuring the rolling major by [@&#8203;cole-h](https://github.com/cole-h) in [#&#8203;323](DeterminateSystems/flakehub-push#323)
- fixup: use filesets by [@&#8203;cole-h](https://github.com/cole-h) in [#&#8203;328](DeterminateSystems/flakehub-push#328)
- Drop cargo-watch by [@&#8203;cole-h](https://github.com/cole-h) in [#&#8203;337](DeterminateSystems/flakehub-push#337)
- Update `detsys-ts`: Merge pull request [#&#8203;196](DeterminateSystems/flakehub-push#196) from DeterminateSystems/undici by [@&#8203;detsys-pr-bot](https://github.com/detsys-pr-bot) in [#&#8203;336](DeterminateSystems/flakehub-push#336)
- fixup: give required presigned headers directly to the client by [@&#8203;cole-h](https://github.com/cole-h) in [#&#8203;334](DeterminateSystems/flakehub-push#334)
- Support uploading SBOMs associated with the uploaded flake by [@&#8203;cole-h](https://github.com/cole-h) in [#&#8203;350](DeterminateSystems/flakehub-push#350)
- Update `detsys-ts`: Merge pull request [#&#8203;206](DeterminateSystems/flakehub-push#206) from DeterminateSystems/deps/dependabot-sweep by [@&#8203;detsys-pr-bot](https://github.com/detsys-pr-bot) in [#&#8203;349](DeterminateSystems/flakehub-push#349)
- build(deps): bump quinn-proto from 0.11.14 to 0.11.16 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;340](DeterminateSystems/flakehub-push#340)
- Depend on detsys-ts from npm by [@&#8203;grahamc](https://github.com/grahamc) in [#&#8203;354](DeterminateSystems/flakehub-push#354)
- Grahamc/otel by [@&#8203;grahamc](https://github.com/grahamc) in [#&#8203;357](DeterminateSystems/flakehub-push#357)
- Update npm dependencies, fix esbuild advisory, and update flake inputs by [@&#8203;lucperkins](https://github.com/lucperkins) in [#&#8203;358](DeterminateSystems/flakehub-push#358)
- Update `detsys-ts` to `v2.1.1` by [@&#8203;detsys-pr-bot](https://github.com/detsys-pr-bot) in [#&#8203;360](DeterminateSystems/flakehub-push#360)
- Update `detsys-ts` to `v2.1.2` by [@&#8203;detsys-pr-bot](https://github.com/detsys-pr-bot) in [#&#8203;361](DeterminateSystems/flakehub-push#361)
- Update `detsys-ts` to `v2.1.3` by [@&#8203;detsys-pr-bot](https://github.com/detsys-pr-bot) in [#&#8203;362](DeterminateSystems/flakehub-push#362)

#### New Contributors

- [@&#8203;github-actions](https://github.com/github-actions)\[bot] made their first contribution in [#&#8203;240](DeterminateSystems/flakehub-push#240)
- [@&#8203;RossComputerGuy](https://github.com/RossComputerGuy) made their first contribution in [#&#8203;252](DeterminateSystems/flakehub-push#252)
- [@&#8203;gustavderdrache](https://github.com/gustavderdrache) made their first contribution in [#&#8203;289](DeterminateSystems/flakehub-push#289)

**Full Changelog**: <DeterminateSystems/flakehub-push@v6...v7>

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC42NS41IiwidXBkYXRlZEluVmVyIjoiNDQuNjUuNSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiYWN0aW9ucyIsImRlcCJdfQ==-->

Reviewed-on: https://trev.zip/llc/stack/pulls/119
spotdemo4 pushed a commit to spotdemo4/bumper that referenced this pull request Sep 25, 2026
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [DeterminateSystems/flakehub-push](https://github.com/DeterminateSystems/flakehub-push) | action | major | `v6` → `v7` |

---

### Release Notes

<details>
<summary>DeterminateSystems/flakehub-push (DeterminateSystems/flakehub-push)</summary>

### [`v7`](https://github.com/DeterminateSystems/flakehub-push/releases/tag/v7)

[Compare Source](DeterminateSystems/flakehub-push@v6...v7)

#### What's Changed

- Update Nix flake inputs by [@&#8203;github-actions](https://github.com/github-actions)\[bot] in [#&#8203;240](DeterminateSystems/flakehub-push#240)
- Update `detsys-ts`: Merge pull request [#&#8203;106](DeterminateSystems/flakehub-push#106) from DeterminateSystems/fix-dependabot-warning by [@&#8203;detsys-pr-bot](https://github.com/detsys-pr-bot) in [#&#8203;244](DeterminateSystems/flakehub-push#244)
- Add success or failure checks for nix and cache actions by [@&#8203;RossComputerGuy](https://github.com/RossComputerGuy) in [#&#8203;252](DeterminateSystems/flakehub-push#252)
- Add rev parameter by [@&#8203;RossComputerGuy](https://github.com/RossComputerGuy) in [#&#8203;251](DeterminateSystems/flakehub-push#251)
- Update `detsys-ts`: Merge pull request [#&#8203;109](DeterminateSystems/flakehub-push#109) from DeterminateSystems/tsup-to-tsdown by [@&#8203;detsys-pr-bot](https://github.com/detsys-pr-bot) in [#&#8203;253](DeterminateSystems/flakehub-push#253)
- Bump tracing-subscriber from 0.3.18 to 0.3.20 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;248](DeterminateSystems/flakehub-push#248)
- Update Nix flake inputs by [@&#8203;github-actions](https://github.com/github-actions)\[bot] in [#&#8203;245](DeterminateSystems/flakehub-push#245)
- fixup: allow overriding rev via --rev flag by [@&#8203;cole-h](https://github.com/cole-h) in [#&#8203;256](DeterminateSystems/flakehub-push#256)
- Update `detsys-ts`: Merge pull request [#&#8203;114](DeterminateSystems/flakehub-push#114) from DeterminateSystems/dependabot/npm\_and\_yarn/npm-deps-47c548f420 by [@&#8203;detsys-pr-bot](https://github.com/detsys-pr-bot) in [#&#8203;257](DeterminateSystems/flakehub-push#257)
- Update Nix flake inputs by [@&#8203;github-actions](https://github.com/github-actions)\[bot] in [#&#8203;254](DeterminateSystems/flakehub-push#254)
- Switch to secure packages by [@&#8203;lucperkins](https://github.com/lucperkins) in [#&#8203;258](DeterminateSystems/flakehub-push#258)
- Grahamc/upgrade deps eslint use npm by [@&#8203;grahamc](https://github.com/grahamc) in [#&#8203;260](DeterminateSystems/flakehub-push#260)
- Update Nix flake inputs by [@&#8203;github-actions](https://github.com/github-actions)\[bot] in [#&#8203;259](DeterminateSystems/flakehub-push#259)
- Update Nix flake inputs by [@&#8203;github-actions](https://github.com/github-actions)\[bot] in [#&#8203;264](DeterminateSystems/flakehub-push#264)
- Push olmrksvwrpko by [@&#8203;grahamc](https://github.com/grahamc) in [#&#8203;267](DeterminateSystems/flakehub-push#267)
- Bump lodash from 4.17.21 to 4.17.23 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;265](DeterminateSystems/flakehub-push#265)
- Update `detsys-ts`: Bump fast-xml-parser from 5.3.3 to 5.3.4 ([#&#8203;134](DeterminateSystems/flakehub-push#134)) by [@&#8203;detsys-pr-bot](https://github.com/detsys-pr-bot) in [#&#8203;271](DeterminateSystems/flakehub-push#271)
- Update `detsys-ts`: Bump the npm-deps group across 1 directory with 9 updates ([#&#8203;138](DeterminateSystems/flakehub-push#138)) by [@&#8203;detsys-pr-bot](https://github.com/detsys-pr-bot) in [#&#8203;274](DeterminateSystems/flakehub-push#274)
- Bump bytes from 1.7.1 to 1.11.1 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;270](DeterminateSystems/flakehub-push#270)
- Enable provenance in CI by [@&#8203;lucperkins](https://github.com/lucperkins) in [#&#8203;278](DeterminateSystems/flakehub-push#278)
- Update flake inputs by [@&#8203;lucperkins](https://github.com/lucperkins) in [#&#8203;279](DeterminateSystems/flakehub-push#279)
- Update `detsys-ts`: Bump fast-xml-parser from 5.3.4 to 5.3.6 ([#&#8203;140](DeterminateSystems/flakehub-push#140)) by [@&#8203;detsys-pr-bot](https://github.com/detsys-pr-bot) in [#&#8203;281](DeterminateSystems/flakehub-push#281)
- Update `detsys-ts`: Fix default value for Action option ([#&#8203;144](DeterminateSystems/flakehub-push#144)) by [@&#8203;detsys-pr-bot](https://github.com/detsys-pr-bot) in [#&#8203;285](DeterminateSystems/flakehub-push#285)
- Use flake-schemas crate for output collection by [@&#8203;gustavderdrache](https://github.com/gustavderdrache) in [#&#8203;289](DeterminateSystems/flakehub-push#289)
- fixup: update flake-schemas so we can see the stderr for execution errors by [@&#8203;cole-h](https://github.com/cole-h) in [#&#8203;292](DeterminateSystems/flakehub-push#292)
- flake-schemas: 0.2.0 -> 0.3.0 for null what support by [@&#8203;grahamc](https://github.com/grahamc) in [#&#8203;294](DeterminateSystems/flakehub-push#294)
- fix: defer OIDC token acquisition until after Nix evaluation by [@&#8203;flexiondotorg](https://github.com/flexiondotorg) in [#&#8203;276](DeterminateSystems/flakehub-push#276)
- Update `detsys-ts`: Drop the old schemas and integrate the open PRs ([#&#8203;162](DeterminateSystems/flakehub-push#162)) by [@&#8203;detsys-pr-bot](https://github.com/detsys-pr-bot) in [#&#8203;297](DeterminateSystems/flakehub-push#297)
- Update deps by [@&#8203;grahamc](https://github.com/grahamc) in [#&#8203;299](DeterminateSystems/flakehub-push#299)
- Update deps by [@&#8203;grahamc](https://github.com/grahamc) in [#&#8203;298](DeterminateSystems/flakehub-push#298)
- unlisted: alias for clap by [@&#8203;grahamc](https://github.com/grahamc) in [#&#8203;300](DeterminateSystems/flakehub-push#300)
- Update gix by [@&#8203;cole-h](https://github.com/cole-h) in [#&#8203;286](DeterminateSystems/flakehub-push#286)
- Autodiscover the GitHub GraphQL API URL base by [@&#8203;cole-h](https://github.com/cole-h) in [#&#8203;301](DeterminateSystems/flakehub-push#301)
- Update `detsys-ts`: Merge pull request [#&#8203;171](DeterminateSystems/flakehub-push#171) from DeterminateSystems/update-deps by [@&#8203;detsys-pr-bot](https://github.com/detsys-pr-bot) in [#&#8203;304](DeterminateSystems/flakehub-push#304)
- fixup: rewrite libiconv reference on macOS by [@&#8203;cole-h](https://github.com/cole-h) in [#&#8203;309](DeterminateSystems/flakehub-push#309)
- Update `detsys-ts`: Populate group properties ([#&#8203;176](DeterminateSystems/flakehub-push#176)) by [@&#8203;detsys-pr-bot](https://github.com/detsys-pr-bot) in [#&#8203;310](DeterminateSystems/flakehub-push#310)
- Bump rustls-webpki from 0.103.10 to 0.103.13 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;308](DeterminateSystems/flakehub-push#308)
- Bump fast-xml-builder from 1.1.5 to 1.2.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;312](DeterminateSystems/flakehub-push#312)
- Bump rand from 0.8.5 to 0.8.6 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;306](DeterminateSystems/flakehub-push#306)
- Bump gix from 0.80.0 to 0.83.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;311](DeterminateSystems/flakehub-push#311)
- Update `detsys-ts`: Merge pull request [#&#8203;177](DeterminateSystems/flakehub-push#177) from DeterminateSystems/dependabot/npm\_and\_yarn/fast-xml-parser-5.7.3 by [@&#8203;detsys-pr-bot](https://github.com/detsys-pr-bot) in [#&#8203;313](DeterminateSystems/flakehub-push#313)
- Update `detsys-ts`: Merge pull request [#&#8203;181](DeterminateSystems/flakehub-push#181) from DeterminateSystems/update-node by [@&#8203;detsys-pr-bot](https://github.com/detsys-pr-bot) in [#&#8203;316](DeterminateSystems/flakehub-push#316)
- Update rand 0.9 to 0.9.4 by [@&#8203;cole-h](https://github.com/cole-h) in [#&#8203;318](DeterminateSystems/flakehub-push#318)
- Provide pinning for GitHub Actions and cooldown for npm updates by [@&#8203;lucperkins](https://github.com/lucperkins) in [#&#8203;315](DeterminateSystems/flakehub-push#315)
- Update `detsys-ts`: Merge pull request [#&#8203;182](DeterminateSystems/flakehub-push#182) from DeterminateSystems/actions-pinning by [@&#8203;detsys-pr-bot](https://github.com/detsys-pr-bot) in [#&#8203;320](DeterminateSystems/flakehub-push#320)
- Manually construct flake archive, update tar by [@&#8203;cole-h](https://github.com/cole-h) in [#&#8203;317](DeterminateSystems/flakehub-push#317)
- Allow configuring the rolling major by [@&#8203;cole-h](https://github.com/cole-h) in [#&#8203;323](DeterminateSystems/flakehub-push#323)
- fixup: use filesets by [@&#8203;cole-h](https://github.com/cole-h) in [#&#8203;328](DeterminateSystems/flakehub-push#328)
- Drop cargo-watch by [@&#8203;cole-h](https://github.com/cole-h) in [#&#8203;337](DeterminateSystems/flakehub-push#337)
- Update `detsys-ts`: Merge pull request [#&#8203;196](DeterminateSystems/flakehub-push#196) from DeterminateSystems/undici by [@&#8203;detsys-pr-bot](https://github.com/detsys-pr-bot) in [#&#8203;336](DeterminateSystems/flakehub-push#336)
- fixup: give required presigned headers directly to the client by [@&#8203;cole-h](https://github.com/cole-h) in [#&#8203;334](DeterminateSystems/flakehub-push#334)
- Support uploading SBOMs associated with the uploaded flake by [@&#8203;cole-h](https://github.com/cole-h) in [#&#8203;350](DeterminateSystems/flakehub-push#350)
- Update `detsys-ts`: Merge pull request [#&#8203;206](DeterminateSystems/flakehub-push#206) from DeterminateSystems/deps/dependabot-sweep by [@&#8203;detsys-pr-bot](https://github.com/detsys-pr-bot) in [#&#8203;349](DeterminateSystems/flakehub-push#349)
- build(deps): bump quinn-proto from 0.11.14 to 0.11.16 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;340](DeterminateSystems/flakehub-push#340)
- Depend on detsys-ts from npm by [@&#8203;grahamc](https://github.com/grahamc) in [#&#8203;354](DeterminateSystems/flakehub-push#354)
- Grahamc/otel by [@&#8203;grahamc](https://github.com/grahamc) in [#&#8203;357](DeterminateSystems/flakehub-push#357)
- Update npm dependencies, fix esbuild advisory, and update flake inputs by [@&#8203;lucperkins](https://github.com/lucperkins) in [#&#8203;358](DeterminateSystems/flakehub-push#358)
- Update `detsys-ts` to `v2.1.1` by [@&#8203;detsys-pr-bot](https://github.com/detsys-pr-bot) in [#&#8203;360](DeterminateSystems/flakehub-push#360)
- Update `detsys-ts` to `v2.1.2` by [@&#8203;detsys-pr-bot](https://github.com/detsys-pr-bot) in [#&#8203;361](DeterminateSystems/flakehub-push#361)
- Update `detsys-ts` to `v2.1.3` by [@&#8203;detsys-pr-bot](https://github.com/detsys-pr-bot) in [#&#8203;362](DeterminateSystems/flakehub-push#362)

#### New Contributors

- [@&#8203;github-actions](https://github.com/github-actions)\[bot] made their first contribution in [#&#8203;240](DeterminateSystems/flakehub-push#240)
- [@&#8203;RossComputerGuy](https://github.com/RossComputerGuy) made their first contribution in [#&#8203;252](DeterminateSystems/flakehub-push#252)
- [@&#8203;gustavderdrache](https://github.com/gustavderdrache) made their first contribution in [#&#8203;289](DeterminateSystems/flakehub-push#289)

**Full Changelog**: <DeterminateSystems/flakehub-push@v6...v7>

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC42NS41IiwidXBkYXRlZEluVmVyIjoiNDQuNjUuNSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiYWN0aW9ucyIsImRlcCJdfQ==-->

Reviewed-on: https://trev.zip/llc/bumper/pulls/37
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.

OIDC token expires during flake evaluation, causing 401 on publish

2 participants