You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ci: move run-tests pg/integration/ai jobs from Blacksmith to Luxor - #2104
Moves the three Blacksmith test tiers in .github/workflows/run-tests.yaml (pg-tests, integration-tests, ai-tests) from blacksmith-2vcpu-ubuntu-2404 to luxor-ubuntu-medium-4c-8g (4 vCPU / 8 GB RAM, matching the 8 GB RAM of blacksmith-2vcpu-ubuntu-2404 where Jest pins NODE_OPTIONS=--max-old-space-size=4096).
Leaves docker-constructive.yaml (native ARM64 Docker build) and all GitHub-hosted jobs unchanged.
luxor-ubuntu-small-2c-4g (4 GB RAM) was not chosen because every test job pins a 4 GB Node heap alongside PostgreSQL 18 (plus RustFS or Ollama).
Benchmark: Blacksmith 2c/8g vs Luxor 4c/8g
Baseline: median of last 5 green main runs (46113297165, 46106709021, 46055773875, 46050175239, 45975517952).
Luxor: PR #2104 run 46129529761.
Job
Blacksmith 2c/8g (med, range)
Luxor 4c/8g
Delta
integration-tests (integration-graphql)
286s (259–329s)
143s
-50% (-143s)
pg-tests (pg-core)
207s (187–221s)
142s
-31% (-65s)
pg-tests (pg-graphql)
109s (105–123s)
99s
-9% (-10s)
pg-tests (pg-postgres)
83s (72–93s)
79s
-5% (-4s)
integration-tests (integration-uploads)
65s (60–70s)
70s
+8% (+5s)
pg-tests (pg-graphile-extras)
52s (49–60s)
62s
+19% (+10s)
ai-tests (graphile/graphile-llm)
55s (46–60s)
59s
+7% (+4s)
Total across 7 migrated jobs
857s (14.3m)
654s (10.9m)
-24% (-3.4m)
Critical path (longest test job)
286s (4m46s)
143s (2m23s)
-50%
Notes for Luxor feedback:
Queue time: 7s across all 7 Luxor jobs (vs 5–8s on Blacksmith).
Container init (GHCR postgres-plus:18 + rustfs): 12–13s vs ~8s on Blacksmith (+4–5s).
pnpm install --frozen-lockfile: ~8s vs ~4s on Blacksmith (+4s), accounting for the small +4–10s overhead on the shortest shards.
Heavy test execution (integration-graphql 223s → 94s, pg-core 148s → 93s) ran 37–58% faster with 4 vCPUs.
This moves three CI test jobs to a different runner type and does not change application behavior. The one open question is whether the Luxor runner app has been set up for this repository. Confirm that before merging, and use the benchmark the author has planned.
Architecture risk: Low · up to 8f317
The changed surface does not map to a changed system, dependency edge, entrypoint, or external dependency.
Changed areas: None identified.
Review details
Before / after behavior
observed — Modified behavior in .github/workflows/run-tests.yaml: pg-tests switches its runner from blacksmith-2vcpu-ubuntu-2404 to luxor-ubuntu-medium-4c-8g.
observed — Modified behavior in .github/workflows/run-tests.yaml: integration-tests switches its runner from blacksmith-2vcpu-ubuntu-2404 to luxor-ubuntu-medium-4c-8g.
observed — Modified behavior in .github/workflows/run-tests.yaml: ai-tests switches its runner from blacksmith-2vcpu-ubuntu-2404 to luxor-ubuntu-medium-4c-8g.
Pre-merge checks: 4
Check name
Status
Explanation
Description Check
Check skipped - CodeRabbit’s high-level summary is enabled.
Title check
The title names the main change: the pg-tests, integration-tests, and ai-tests jobs in run-tests.yaml move from the Blacksmith runner to the Luxor runner. The raw summary confirms only these three job…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title names the main change: the pg-tests, integration-tests, and ai-tests jobs in run-tests.yaml move from the Blacksmith runner to the Luxor runner. The raw summary confirms only these three job runner labels changed (3 additions, 3 deletions), and the objectives describe the same move. The title uses the conventional 'ci:' prefix and is specific, so it passes.
Finishing Touches
Generate unit tests (beta)
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Reviewing files that changed from the base of the PR and between 66dbe50 and 8f3172c.
Files selected for processing: 1
.github/workflows/run-tests.yaml
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Moves the three Blacksmith test tiers in
.github/workflows/run-tests.yaml(pg-tests,integration-tests,ai-tests) fromblacksmith-2vcpu-ubuntu-2404toluxor-ubuntu-medium-4c-8g(4 vCPU / 8 GB RAM, matching the 8 GB RAM ofblacksmith-2vcpu-ubuntu-2404where Jest pinsNODE_OPTIONS=--max-old-space-size=4096).docker-constructive.yaml(native ARM64 Docker build) and all GitHub-hosted jobs unchanged.luxor-ubuntu-small-2c-4g(4 GB RAM) was not chosen because every test job pins a 4 GB Node heap alongside PostgreSQL 18 (plus RustFS or Ollama).Benchmark: Blacksmith 2c/8g vs Luxor 4c/8g
Baseline: median of last 5 green
mainruns (46113297165,46106709021,46055773875,46050175239,45975517952).Luxor: PR #2104 run
46129529761.integration-tests (integration-graphql)pg-tests (pg-core)pg-tests (pg-graphql)pg-tests (pg-postgres)integration-tests (integration-uploads)pg-tests (pg-graphile-extras)ai-tests (graphile/graphile-llm)Notes for Luxor feedback:
postgres-plus:18+rustfs): 12–13s vs ~8s on Blacksmith (+4–5s).pnpm install --frozen-lockfile: ~8s vs ~4s on Blacksmith (+4s), accounting for the small +4–10s overhead on the shortest shards.integration-graphql223s → 94s,pg-core148s → 93s) ran 37–58% faster with 4 vCPUs.🟢 Devin Review found nothing to fix · View findings