Skip to content

ci: use parity-default runners in paritytech org#120

Merged
EnderOfWorlds007 merged 2 commits into
mainfrom
issue/88-parity-default-runners
May 5, 2026
Merged

ci: use parity-default runners in paritytech org#120
EnderOfWorlds007 merged 2 commits into
mainfrom
issue/88-parity-default-runners

Conversation

@EnderOfWorlds007

Copy link
Copy Markdown
Collaborator

Closes #88

Summary

  • All 13 runs-on: ubuntu-latest entries across 8 workflow files replaced with the conditional expression ${{ github.repository_owner == 'paritytech' && 'parity-default' || 'ubuntu-latest' }}
  • Forks and external contributors continue to use ubuntu-latest automatically
  • Pattern matches what bulletin-deploy adopted

Test plan

  • CI passes on this PR (uses parity-default runner)
  • Verify a fork of this repo triggers with ubuntu-latest (expression falls back correctly)

@EnderOfWorlds007 EnderOfWorlds007 force-pushed the issue/88-parity-default-runners branch from 0e98ac1 to 9bc73a8 Compare May 5, 2026 10:51
@github-actions

github-actions Bot commented May 5, 2026

Copy link
Copy Markdown
Contributor

E2E Test Pass · ✅ PASS

Tag: e2e-ci-pr · Branch: issue/88-parity-default-runners · Commit: e23280a · Run logs

Cell Result Time
pr-init-session ✅ PASS 1m34s
pr-install ✅ PASS 0m52s
pr-deploy-foundry ✅ PASS 1m36s
pr-deploy-frontend ✅ PASS 11m34s
pr-preflight ✅ PASS 1m54s
pr-mod ✅ PASS 1m24s
${{ matrix.cell }} ⏭️ SKIP 0m-1s
${{ matrix.cell }} ⏭️ SKIP 0m-1s

Sentry traces: view spans for this run

@EnderOfWorlds007 EnderOfWorlds007 force-pushed the issue/88-parity-default-runners branch from f376330 to 0b7185d Compare May 5, 2026 12:10
@github-actions

github-actions Bot commented May 5, 2026

Copy link
Copy Markdown
Contributor

Dev build ready — try this branch:

curl -fsSL https://raw.githubusercontent.com/paritytech/playground-cli/main/install.sh | VERSION=dev/issue/88-parity-default-runners bash

All jobs now use `parity-default` when running under paritytech and fall back to `ubuntu-latest` for forks, matching the pattern adopted in bulletin-deploy.
@EnderOfWorlds007 EnderOfWorlds007 force-pushed the issue/88-parity-default-runners branch from 0b7185d to 46419fb Compare May 5, 2026 12:53
parity-default runners don't pre-install gh or wget. Replace wget with curl in the E2E setup action, and add a conditional gh install step in each workflow that calls it.
@EnderOfWorlds007 EnderOfWorlds007 merged commit 5c7d085 into main May 5, 2026
17 checks passed
@UtkarshBhardwaj007 UtkarshBhardwaj007 deleted the issue/88-parity-default-runners branch May 5, 2026 13:49
ottovlotto added a commit that referenced this pull request May 5, 2026
- init-cold-smoke: switch runs-on to the parity-default conditional
  expression added in #120 (was the only ubuntu-latest literal left in
  the file). Tighten the failed-row grep: the previous " error" /
  " failed" substring match would also trip on benign output like
  "0 errors" and apt warnings; now anchor on "✕ "/"✗ " rendered by
  the dot TUI plus the literal "failed dependency" marker. Add a
  comment confirming `bun run src/index.ts` is intentional — it
  matches the entry path used by the e2e/cli/ vitest suite (per
  CLAUDE.md), and the published-binary install is covered separately
  by e2e-post-release.yml.

- deploy.test.ts ordering check: the previous regex /\n>\s+\w/ also
  matches build-tool stdout that the CLI pipes through (pnpm prints
  `> @scope/pkg@1 build /path` for every run-script, vite logs
  `> built in 234ms`, etc.). Anchor on the dot CLI's exact banner
  format `\n> (pnpm|npm|yarn|bun|npx) ` from src/commands/build.ts:15
  + src/utils/build/detect.ts so unrelated `> ` lines can't satisfy
  it.

- init.test.ts toolchain detection: drop the timing-based 12s window
  in favour of forcing the rustup install to fail deterministically
  via HTTPS_PROXY=http://127.0.0.1:1 (curl's connection-refused is
  ~instant). The test's contract is that init should not falsely
  conclude rustup is installed when PATH is stripped — that no
  longer depends on whether a cache makes the real install fast.
  Cold-start install success is covered separately by the smoke job.
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.

Move all the workflow actions to parity-default runners

1 participant