Skip to content

Avoid running PIR fleet binaries on hosted runners#115

Merged
czarcas7ic merged 1 commit into
mainfrom
adam/fix-pir-deploy-runner-avx512
Jul 17, 2026
Merged

Avoid running PIR fleet binaries on hosted runners#115
czarcas7ic merged 1 commit into
mainfrom
adam/fix-pir-deploy-runner-avx512

Conversation

@czarcas7ic

Copy link
Copy Markdown
Contributor

The deploy workflow now verifies nf-server-linux-amd64 against the release SHA256SUMS instead of executing the x86-64-v4 fleet binary on ubuntu-latest. Ironwood dataset validation still runs on each PIR host before restart.

@czarcas7ic
czarcas7ic marked this pull request as ready for review July 17, 2026 18:12
@czarcas7ic
czarcas7ic merged commit 5abe31d into main Jul 17, 2026
4 checks passed

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: fa88d0761c

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

"https://github.com/${{ github.repository }}/releases/download/${{ inputs.release_tag }}/SHA256SUMS"
# The fleet binary targets x86-64-v4, so hosted runners only verify its checksum.
grep ' nf-server-linux-amd64$' SHA256SUMS | sha256sum --check -
mv nf-server-linux-amd64 nf-server

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Validate dataset before replacing fleet binary

When a release asset matches SHA256SUMS but is for the wrong dataset/version, this now renames it to the deployable nf-server, and the following SCP step copies it over /opt/nf-ingest/nf-server before the remote dataset-info guard rejects it. In that failure mode the workflow exits before restart, but the rejected binary is left installed on disk on the backup host (and the same pattern exists for primary), so a later reboot/restart can pick up the bad binary; stage it under a temporary remote path and run dataset-info there before replacing the installed binary.

Useful? React with 👍 / 👎.

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.

1 participant