Skip to content

ci(web): run the web checks in one job and the web tests in two shards - #3930

Merged
Quick104 merged 1 commit into
mainfrom
ci/web-one-job
Nov 10, 2026
Merged

Quick104 merged 1 commit into
mainfrom
ci/web-one-job

Conversation

@Quick104

@Quick104 Quick104 commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Problem

Related issue: N/A
Validation tasks: none

Each CI run uses 14 GitHub-hosted jobs, and six of them are web lanes of one to two minutes each. Jobs from every Silo-Server repository share one concurrency limit, which peaks at about 60 running jobs; between 15:00 and 17:00 and at 20:00 UTC, one job in ten waited 4 to 11 minutes for a runner. This change frees three job slots per run.

Approach

Web (build) and Web (checks) become one Web job, and the vitest suite runs in two shards instead of four. In the merged job, the typecheck, build and generated-binding checks still run after a lint or format failure, as they did in separate jobs.

On a run that also has Go jobs, the web lanes still finish well before them. A web-only pull request (about a quarter of runs) should take about a minute longer, since each of the two shards now runs half the suite instead of a quarter; that is an estimate.

CI runs trusted-linux-ci.yml from main, so this pull request's own checks still run the old jobs. The change takes effect after merge, and reverting it is the fallback if it misbehaves.

Validation

  • actionlint 1.7.12: no findings.
  • CI tools unit tests: pass.
  • Not exercised by this pull request's own CI (see above).
Measurements behind this change (Nov 3–10)
  • Concurrent jobs across the organization peaked at 60–62.
  • Wait for a runner over 11,955 jobs: p50 3 s, p90 168 s, p95 342 s, p99 849 s. By hour, p90 was 511 s at 15:00, 690 s at 16:00 and 490 s at 20:00 UTC.
  • Web build/checks p50 1.1 min, p90 1.9 min; a web test shard p50 102 s.
  • Web-only pull request runs: 112 of 479, finishing at p50 153 s.

Evidence

Evidence: https://evidence.siloserver.org/r/silo-server/pr-3930/

Risks

  • Check names change: Web (build) and Web (checks) become Web, and Web test (n/4) becomes Web test (n/2). Merges are gated on CI result.
  • The self-hosted runner label silo-job-web-test-3/-4 goes away; self-hosted runners are off today.

Checklist

  • I read and can explain the complete diff.
  • This pull request addresses one concern.
  • Each test this pull request adds meets "Decide what to test" in CONTRIBUTING.md.
  • The Evidence section shows every change a user can see, or says there is none.

AI Disclosure

  • Harness: Claude Code (in T3 Code)
  • Tool(s): Claude Code; Claude Code CLI as a read-only advisor
  • Model(s): claude-opus-5-5; claude-fable-5-2
  • Involvement: Fully AI-generated; human review pending
  • Adversarial review: claude-fable-5-2 (medium effort, read-only) reviewed the full diff. Finding fixed: the merged job stopped at the first failing step, so a format failure hid type and binding errors. No other review.

🤖 Generated with Claude Code

Every CI run took six of its fourteen jobs for the web lanes: a build and a
checks job and four test shards, each one to two minutes. GitHub-hosted jobs
share one organization-wide concurrency limit, which peak hours reach; jobs
then wait minutes for a slot. The build and checks now run as one Web job,
and the vitest suite runs in two shards instead of four. The web lanes still
finish well before the Go jobs on a run that has both.

The merged job keeps running the typecheck, build and generated-binding
checks after a lint or format failure, as the separate jobs did.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

  • Ask an admin to enable usage-based reviews

Open in CodeRabbit

Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing.

Next included review available in 59 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 4 included reviews currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 02674d59-fda6-4ae7-8e8e-011c7b08dd8b
Commits

Reviewing files that changed from the base of the PR and between 30a6abd and 2eda2f7.

Files selected for processing: 1

  • .github/workflows/trusted-linux-ci.yml
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-10T04:43:16.206859Z 2eda2f7 PR opened
🔒 Security Review ✅ Completed 2026-11-10T04:44:45.088704Z 2eda2f7 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@silo-triage silo-triage Bot added the size/S 0–49 added + deleted lines (all files); change volume, not priority. label Nov 10, 2026
@silo-kody

silo-kody Bot commented Nov 10, 2026 •

Copy link
Copy Markdown

Silo Kody — review complete

Review finished. Check the inline comments for findings and verify each suggestion against the code and tests.

Reviewing changes in Silo
  • Include the related issue, expected behavior, and validation steps in the PR description.
  • For API changes, describe the effect on Apple and Android clients and Jellyfin compatibility.
  • For plugin changes, identify the affected SDK contract, plugin, and catalog entry.
  • Follow this repository's AGENTS.md and CONTRIBUTING.md.
  • Request another review with @kody start-review in a PR comment.
  • React with 👍 or 👎 to give feedback on individual suggestions.
Review settings
Review Options

The following review options are enabled or disabled:

Options Enabled
Bug ✅
Performance ✅
Security ✅
Business Logic ❌
⚠️ 4 Kody Rule(s) were not evaluated

These rules declare that they need repository context beyond this diff, and the review could not retrieve it, so they were not judged on this pull request:

  • Preserve optional store capabilities through production wrappers
  • Detach mandatory cleanup from request cancellation and bound its lifetime
  • Preserve durable media identity and share identity-evidence precedence
  • Bound decoder throughput trades and share direct-play eligibility

@Quick104
Quick104 merged commit 48db6bc into main Nov 10, 2026
21 checks passed
@Quick104
Quick104 deleted the ci/web-one-job branch November 10, 2026 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/S 0–49 added + deleted lines (all files); change volume, not priority.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant