Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
json: ${{ secrets.SNOWFLAKE_GH_CI_PKEY }}
dir: "nexus/server/tests/assets/"

- uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

rust-cache v2.9.1 -> v2.9.2 silently changes the cache-key digest — expect one cold build here.

Not a defect in this PR, and not blocking, but it isn't in the upstream changelog so it would otherwise surface as an unexplained CI slowdown: the nexus cache is invalidated once by this bump, so the first post-merge run of cargo check / cargo test is cold on all five postgres-version matrix legs, then re-warms.

Why — src/config.ts in the bumped range changed getRustVersions from a Set of RustVersion objects to a Set of strings:

  • Before, parseRustVersion returned a fresh object per call, so the Set never deduped, and rustVersions.sort() over objects was a no-op (every element stringifies to [object Object]).
  • Now the entries are "<release> <host> <commit-hash>" strings, so they genuinely dedupe and sort.

This workspace has no rust-toolchain.toml and ci.yml installs no toolchain, so Rust comes from the preinstalled rustup on ubuntu-latest. There, rustc -vV and rustup run stable-x86_64-unknown-linux-gnu rustc -vV yield the same version string: v2.9.1 fed it to the sha1 hasher twice, v2.9.2 feeds it once, so the digest differs. add-rust-environment-hash-key defaults to true, and that digest is appended to key before self.restoreKey = key, so the restore-key prefix changes too and even the prefix-based partial restore misses.


Two more items from the same range, both inert for this repo but worth recording:

  • buildjet cache provider removed. getCacheProvider() dropped the buildjet case, so cache-provider: buildjet now throws. This step uses the default github, so no impact.
  • credentials.toml cleanup now actually fires. The pre-save unlink path was wrong (CARGO_HOME/.cargo/credentials.toml) and is fixed to CARGO_HOME/credentials.toml. Prior versions therefore never scrubbed it, meaning a cargo registry token in ~/.cargo/credentials.toml could be baked into the saved Actions cache. This job sets no registry token, so nothing was exposed, but the fix is a genuine improvement.

The cleanup rewrites in this range (cleanTargetDir profile detection inverted, keepPkg widened to target names, exact-match-before-hash-strip in rmExcept for Cargo's V2 build-dir layout, SAVE_TARGETS widened to cdylib/dylib/rlib/staticlib) all err toward preserving more artifacts, so the failure mode is a larger cache rather than lost build output. cleanBin also became stricter — it now deletes exactly the recorded pre-existing binaries instead of everything not attributable to a cargo install, which no longer risks removing rustup shims.

The other three bumps check out. All pins resolve to their commented tags (57fc93f = actions-timeline v3.2.0, dbcb813 = login-action v4 -> v4.6.0, 34d8067 = release-drafter v7 -> v7.7.0), none has a follow-up patch release suggesting a regression, and no new stdout/stderr/log output in any of them can reach a secret as this repo uses them. login-action: the widened Docker Hub error body (whole response stringified instead of four known keys) only runs on the Docker Hub OIDC path — all four call sites here are ghcr.io with username/password — and the scopeToConfigDir path-traversal hardening is a security fix on an input this repo never passes. release-drafter: the new conventional-title categorization is opt-in via a conventional: key under a category's when, and .github/release-drafter.yml here declares no categories, so drafted notes are unchanged; the no-new-contributor-template addition only affects the contributors placeholder and this template is just the changes placeholder. The one thing not verifiable from outside is the GraphQL pagination refactor (hand-rolled paginator replaced with Octokit's), which in principle could change which PRs land in a draft. actions-timeline: v3.2.0's "skip synthetic parallel parents" fix specifically targets expand-composite-actions: true, which tilt-flow.yml sets — so a fix, not a regression, and observability-only either way.

with:
workspaces: nexus

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6
with:
go-version: '1.26.5'
go-version: '1.26.6'
cache-dependency-path: e2e_cleanup/go.sum

- name: download go modules
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/customer-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- uses: depot/setup-action@15c09a5f77a0840ad4bce955686522a257853461 # v1

- name: Login to GitHub Container Registry
uses: docker/login-action@abd2ef45e78c5afb21d64d4ca52ee8550d9572c7 # v4
uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4
with:
registry: ghcr.io
username: ${{github.actor}}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dev-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
- uses: depot/setup-action@15c09a5f77a0840ad4bce955686522a257853461 # v1

- name: Login to GitHub Container Registry
uses: docker/login-action@abd2ef45e78c5afb21d64d4ca52ee8550d9572c7 # v4
uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4
with:
registry: ghcr.io
username: ${{github.actor}}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/golang-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
sudo apt-get install libgeos-dev
- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6
with:
go-version: '1.26.5'
go-version: '1.26.6'
cache: false
# flow/pkg's Ruleguard config imports flow/generated/protos, so lint needs
# both modules in a workspace. e2e_cleanup is linted under it too.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mysql-debug-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
- uses: depot/setup-action@15c09a5f77a0840ad4bce955686522a257853461 # v1

- name: Login to GitHub Container Registry
uses: docker/login-action@abd2ef45e78c5afb21d64d4ca52ee8550d9572c7 # v4
uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4
with:
registry: ghcr.io
username: ${{ github.actor }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ jobs:
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: release-drafter/release-drafter@eada3c96a64734dd381cfbda23511034e328ddb0 # v7
- uses: release-drafter/release-drafter@34d80673e067bdc0c24568d3af899c216adcfaa9 # v7
2 changes: 1 addition & 1 deletion .github/workflows/stable-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- uses: depot/setup-action@15c09a5f77a0840ad4bce955686522a257853461 # v1

- name: Login to GitHub Container Registry
uses: docker/login-action@abd2ef45e78c5afb21d64d4ca52ee8550d9572c7 # v4
uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4
with:
registry: ghcr.io
username: ${{github.actor}}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tilt-flow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ jobs:
runs-on: ubuntu-latest-16-cores
timeout-minutes: 60
steps:
- uses: Kesin11/actions-timeline@7bf79990b7c09f5dfb570ac30b814ca597bd538e # v3.1.1
- uses: Kesin11/actions-timeline@57fc93f20c6da7fbc14063c6d24a2a5627c799ad # v3.2.0
with:
expand-composite-actions: true
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6
Expand All @@ -232,7 +232,7 @@ jobs:

- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6
with:
go-version: '1.26.5'
go-version: '1.26.6'
cache-dependency-path: |
flow/go.sum
flow/pkg/go.sum
Expand Down
Loading