Skip to content

ci: inherit native per-arch runners from reusable publish workflow#220

Merged
RedStar071 merged 1 commit into
mainfrom
ci/native-platform-runners
Jul 2, 2026
Merged

ci: inherit native per-arch runners from reusable publish workflow#220
RedStar071 merged 1 commit into
mainfrom
ci/native-platform-runners

Conversation

@RedStar071

@RedStar071 RedStar071 commented Jul 2, 2026

Copy link
Copy Markdown
Member

Cosa cambia

Rimuove l'override platforms (e il flag enablePlatforms, ormai non più usato dal reusable workflow) dalla chiamata a reusable-publish-image.yml: il workflow eredita così i runner di default, ora nativi per architettura (Blacksmith amd64/arm64 — vedi wolfstar-project/.github#35).

Perché

Con l'override attuale entrambe le piattaforme vengono buildate su ubuntu-latest (amd64): la build arm64 passa per l'emulazione QEMU (lenta) e le action useblacksmith/* vanno in fallback sul builder locale. Con i runner nativi ogni architettura è compilata su hardware nativo, come da guida Docker multi-platform.

La modifica è sicura in qualunque ordine di merge rispetto a wolfstar-project/.github#35: anche i vecchi default funzionano senza override.

https://claude.ai/code/session_01Xv1EAagQkhuCRGY584Kuua


View with Codesmith
Need help on this PR? Tag /codesmith with what you need. Autofix is enabled.

T-Rex T-Rex Logs

What T-Rex did

  • Captured the Before artifact showing initial enablePlatforms: true for both workflows.
  • Copied or prepared the validation script at trex-artifacts/validate_workflow_contract.py to verify the workflow contract.
  • Captured the After artifact showing has_enablePlatforms: False and has_platforms: False for both workflows, and publish-stable retaining stable_has_commitHash: True and stable_tag_value: "stable".

View all artifacts

T-Rex Ran code and verified through T-Rex

Sequence Diagram

%%{init: {'theme': 'neutral'}}%%
sequenceDiagram
participant Trigger as GitHub trigger
participant Caller as wolfstar workflow
participant Reusable as reusable-publish-image.yml
participant Runner as Default per-arch runner
participant GHCR as GHCR

Trigger->>Caller: push/workflow_dispatch
Caller->>Reusable: uses workflow with inherited secrets
Note over Caller,Reusable: No caller-level platforms override
Reusable->>Runner: select default platform runners
Runner->>Reusable: build image for configured architectures
Reusable->>GHCR: publish image tag
Loading
%%{init: {'theme': 'base', 'themeVariables': {"darkMode": true, "background": "#0d1117", "primaryColor": "#21262d", "primaryTextColor": "#e6edf3", "primaryBorderColor": "#8b949e", "lineColor": "#8b949e", "textColor": "#e6edf3", "edgeLabelBackground": "#161b22", "actorBkg": "#21262d", "actorBorder": "#8b949e", "actorTextColor": "#e6edf3", "actorLineColor": "#8b949e", "signalColor": "#8b949e", "signalTextColor": "#e6edf3", "noteBkgColor": "#373320", "noteBorderColor": "#d4a72c", "noteTextColor": "#f0e6c0", "labelBoxBkgColor": "#21262d", "labelBoxBorderColor": "#8b949e", "labelTextColor": "#e6edf3", "loopTextColor": "#e6edf3", "activationBkgColor": "#30363d", "activationBorderColor": "#8b949e"}}}%%
sequenceDiagram
participant Trigger as GitHub trigger
participant Caller as wolfstar workflow
participant Reusable as reusable-publish-image.yml
participant Runner as Default per-arch runner
participant GHCR as GHCR

Trigger->>Caller: push/workflow_dispatch
Caller->>Reusable: uses workflow with inherited secrets
Note over Caller,Reusable: No caller-level platforms override
Reusable->>Runner: select default platform runners
Runner->>Reusable: build image for configured architectures
Reusable->>GHCR: publish image tag
Loading

Reviews (1): Last reviewed commit: "ci: inherit native per-arch runners from..." | Re-trigger Greptile

Drop the platforms/enablePlatforms overrides so image builds use the
architecture-native Blacksmith runners defined in the shared workflow
instead of emulating arm64 via QEMU on ubuntu-latest.

Claude-Session: https://claude.ai/code/session_01Xv1EAagQkhuCRGY584Kuua
@github-project-automation github-project-automation Bot moved this to Todo in Wolfstar Jul 2, 2026
@RedStar071
RedStar071 merged commit 4b45071 into main Jul 2, 2026
10 checks passed
@RedStar071
RedStar071 deleted the ci/native-platform-runners branch July 2, 2026 20:39
@github-project-automation github-project-automation Bot moved this from Todo to Done in Wolfstar Jul 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

1 participant