Skip to content

Conversation

@3rdIteration
Copy link
Owner

Description

  • Set DOCKER_DEFAULT_PLATFORM to linux/amd64 and drive builds through the seedsigner-os Docker Compose flow for reproducibility.
  • Configure SS_ARGS from workflow inputs/commits and cache the compose ccache directories before uploading artifacts.

This pull request is categorized as a:

  • New feature
  • Bug fix
  • Code refactor
  • Documentation
  • Other

Checklist

  • I’ve run pytest and made sure all unit tests pass before sumbitting the PR

If you modified or added functionality/workflow, did you add new unit tests?

  • No, I’m a fool
  • Yes
  • N/A

I have tested this PR on the following platforms/os:


Codex Task

Copy link

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

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.

ℹ️ 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".

Comment on lines +111 to +113
APP_REF="${{ github.event_name == 'workflow_dispatch' && github.event.inputs['source-ref'] || github.sha }}"
SS_ARGS="--${{ matrix.target }} --app-repo=${APP_REPO_URL} --app-commit-id=${APP_REF}"

Choose a reason for hiding this comment

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

P1 Badge pull_request builds pass unreachable merge SHA to compose

When building PRs, APP_REF is set to ${{ github.sha }} (lines 111‑113), which for pull_request events is the synthetic refs/pull/*/merge SHA. The workflow no longer checks out the app repo locally and instead passes this SHA to the compose build via --app-commit-id, so the builder has to clone the repo and check out that commit. The merge SHA is not present in the repo’s advertised refs, so the checkout will fail or fall back to the default branch, meaning PR builds will either break or build the wrong code. Use the PR head SHA (e.g., github.event.pull_request.head.sha) or provide the sources directly to compose.

Useful? React with 👍 / 👎.

@3rdIteration 3rdIteration merged commit 99faa1e into dev Dec 2, 2025
12 checks passed
@3rdIteration 3rdIteration deleted the codex/modify-github-actions-build-task branch December 2, 2025 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants