Title: improvement(ci): check out same-repo pull requests through a git mirror by waleedlatif1 · Pull Request #8768 · simstudioai/sim · GitHub
Open Graph Title: improvement(ci): check out same-repo pull requests through a git mirror by waleedlatif1 · Pull Request #8768 · simstudioai/sim
X Title: improvement(ci): check out same-repo pull requests through a git mirror by waleedlatif1 · Pull Request #8768 · simstudioai/sim
Description: Summary Since #8750/#8763 the checks run as ~19 parallel jobs, and a run finishes when its slowest job does. Checkout is now the long tail: median 11s, but 1 in 10 took a minute or more (up to 4 min), so one slow clone set the run's pace (a balanced 5.2 min integration shard took 9.8 min after a 4 min checkout) Same-repo pull requests now check out with useblacksmith/checkout (pinned v1.8.1). It keeps a git mirror on a sticky disk and fetches only what is new; on a non-Blacksmith runner, or if the mirror is unavailable, it falls back to a normal clone Fork pull requests and pushes keep actions/checkout. The mirror is one disk per repository that job steps can write to, and Git doesn't re-hash objects read through alternates, so it's shared only by runs that already share the pull_request caches. The deploy-gating push checks never read it Only checks.yml changes. Release, signing, publish and image jobs keep actions/checkout. Each job's mirror/plain pair is written once per fetch depth with YAML anchors Type of Change Improvement Testing Parsed the workflow and checked every job: each resolves to exactly one checkout for a same-repo PR, a fork PR, and a push, with its fetch depth unchanged (desktop-changes still checks out only on pull requests) actionlint 1.7.12, bun run lint, block registry check, check:audits (58), type-check, docs-manifest:check, root bun run test This PR's own CI run is the first mirror hydration, so the first warm run measures the checkout gain Checklist Code follows project style guidelines Self-reviewed my changes Tests added/updated and passing (new tests pass the test-audit authoring gate) No new warnings introduced I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)
Open Graph Description: Summary Since #8750/#8763 the checks run as ~19 parallel jobs, and a run finishes when its slowest job does. Checkout is now the long tail: median 11s, but 1 in 10 took a minute or more (up to 4 m...
X Description: Summary Since #8750/#8763 the checks run as ~19 parallel jobs, and a run finishes when its slowest job does. Checkout is now the long tail: median 11s, but 1 in 10 took a minute or more (up to 4 m...
Opengraph URL: https://github.com/simstudioai/sim/pull/8768
X: @github
Domain: github.com
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:2457243d-5e72-1474-3622-a85e11492831 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BC18:71C2F:142C628:1BA0431:6AFB75B9 |
| html-safe-nonce | 72a6248e1e3d6e08b412f8343fb73ebed6db678ec6a06887675c3887647032f2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQzE4OjcxQzJGOjE0MkM2Mjg6MUJBMDQzMTo2QUZCNzVCOSIsInZpc2l0b3JfaWQiOiI3MjgyNTUwODgyNTE0NDY2MjMzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | bae8ceae060a2b39beba864fe60260d9a65fbc00269255e857ead029146a48ce |
| hovercard-subject-tag | pull_request:4779286129 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/8768/files |
| twitter:image | https://avatars.githubusercontent.com/u/40672544?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/40672544?s=400&v=4 |
| og:image:alt | Summary Since #8750/#8763 the checks run as ~19 parallel jobs, and a run finishes when its slowest job does. Checkout is now the long tail: median 11s, but 1 in 10 took a minute or more (up to 4 m... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0e29e7974fdda2feeaf5c891efd4b23b0734b23480232b62c7bdef13f40b5b48 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/simstudioai/sim git https://github.com/simstudioai/sim.git |
| octolytics-dimension-user_id | 199344406 |
| octolytics-dimension-user_login | simstudioai |
| octolytics-dimension-repository_id | 912559512 |
| octolytics-dimension-repository_nwo | simstudioai/sim |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 912559512 |
| octolytics-dimension-repository_network_root_nwo | simstudioai/sim |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2e8872b770cc4d5d0cc1f2026afab747a268e2ce |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width