wake / gitlab-org/cli Self-contained X-Ray artifact (zero external requests)
Source: gitlab / Pipeline #3098599292 (main) / Status: success / Generated 2026-11-22 17:18
Wall-clock time
9m 26s
Estimated optimized
1m 42s (5.6x)
Total runner compute
26m 45s
Findings detected
5
Critical path gitlab-advanced-sast → check_go_generated_code → tests:unit → build_test

Pipeline waterfall

Queue wait Container prep, git, cache overhead Script execution Critical path
Job
0s2m 22s4m 43s7m 05s9m 27s
secret_detection
application-security-testing · 12.8s
12.8s
dependency-scanning-profile-0
application-security-testing · 20.2s
20.2s
gitlab-advanced-sastcritical
application-security-testing · 3m 25s
3m 25s
govulncheck
application-security-testing · 48.2s
48.2s
check_go_generated_codecritical
checks · 57.5s
57.5s
check_go_version
checks · 9.2s
9.2s
check_embed
checks · 9.5s
9.5s
check_args
checks · 9.5s
9.5s
lint:comments
test · 28.5s
28.5s
lint
test · 1m 21s
1m 21s
tests:unitcritical
test · 4m 06s
4m 06s
build_windows: [amd64]
build · 1m 06s
1m 06s
build_windows: [arm64]
build · 1m 03s
1m 03s
tests:integration
test · 1m 26s
1m 26s
windows_installer: [amd64, x86_64]
build · 37.2s
37.2s
windows_installer: [arm64, arm64]
build · 34.5s
34.5s
build_testcritical
build · 5m 18s
5m 18s
tests:coverage
test · 43.4s
43.4s
snapcraft_build_edge
build · 2m 41s
2m 41s
snapcraft_release_edge
release · 1m 08s
1m 08s
Hover or click any job row to inspect phase timings (queue, prep, git, cache, script).

Prioritized findings (5)

critical
WAKE-003
~11m 35s potential savings

Monorepo cascade: every commit runs ALL jobs regardless of what changed

Detected multiple distinct packages/components, yet 16/27 CI jobs have no rules:changes or dynamic affected-target planning. Editing a UI file triggers unrelated backend builds and tests.

Remediation: Use wake plan with GitLab Dynamic Child Pipelines (trigger:include:artifact) to deterministically run only packages affected by the git diff on MRs, while keeping the full suite on merge trains / main.

  • 16 jobs run unconditionally on every commit
high
WAKE-006
~6m 06s potential savings

Long-running test jobs execute sequentially without parallel: sharding

2 test job(s) take >90s on a single runner. Splitting them across 4 parallel self-hosted runners using duration-balanced sharding cuts wall-clock time dramatically.

Remediation: Shard slow test suites with parallel: 4 and duration-based LPT bin-packing (wake plan).

  • tests:unit: 245.8s on 1 runner
  • build_test: 318.0s on 1 runner
high
WAKE-004
~4m 01s potential savings

Missing or non-lockfile-hashed CI caching causes repeated rebuilds

Jobs either lack dependency caching or use broad branch/global cache keys instead of lockfile-hashed cache:key:files (or a local runner registry/binary cache).

Remediation: Pin cache:key:files to lockfiles (uv.lock, package-lock.json, Cargo.lock), use policy: pull on test jobs, and mount a local MinIO/Attic/Nix binary cache on self-hosted runners.

  • No cache configured: check_docs_markdown, docs hugo_build, lint_commit, check_go_version, check_embed, check_args
high
WAKE-002
~3m 44s potential savings

Sequential stage barriers block independent jobs (missing needs: DAG)

15 of 27 jobs rely on strict stage barriers without needs:. Every job in a later stage sits idle waiting for the single slowest unrelated job in the previous stage.

Remediation: Convert stage barriers into an explicit needs: DAG (or let wake plan emit a dynamic child pipeline DAG per MR).

  • Stages: application-security-testing -> checks -> documentation -> test -> build -> review -> release
  • 15 downstream jobs have empty `needs:`
high
WAKE-001
~0.7s potential savings

Lint & format checks run AFTER heavy build/test stages

Jobs check_docs_markdown, lint_commit, lint:comments, lint run in late stages (checks, documentation, test) instead of failing fast in stage 'application-security-testing'. Developers wait through full builds only to fail on formatting.

Remediation: Move formatting, linting, and typechecks into a dedicated first stage (or add needs: []) so trivial errors fail in <15 seconds.

  • check_docs_markdown: stage='documentation' (position 3/7), needs=[] not set
  • lint_commit: stage='checks' (position 2/7), needs=[] not set
  • lint:comments: stage='test' (position 4/7), needs=[] not set
  • lint: stage='test' (position 4/7), needs=[] not set