EPIC: Improve PR Workflow Performance

Open
#1,840 1 comment 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@josecelano is already working on this.

Since May 27, 2026.

Assessment

This issue has not been assessed yet.

Description

EPIC

Goal

Reduce the execution time of the critical PR validation workflows while preserving verification quality.

Why

Current PR checks are a bottleneck for merge throughput:

  • container workflow: 34m 57s
  • testing workflow: 40m 44s

Slow feedback encourages batching unrelated changes and increases regression risk. This is especially important with increased AI-assisted change volume.

Scope

  • Baseline profiling (cold/warm cache, bottleneck identification)
  • Prioritized workflow optimizations driven by measured impact
  • Keep quality gates intact
  • Optimize for end-to-end PR wait time until all required checks complete

Initial subissues planned

  • Baseline workflow profiling and bottleneck analysis
  • Narrow Containerfile build targets to tracker image needs
  • Evaluate test execution policy in container image build
  • Improve dependency-layer cache reuse within each workflow
  • Evaluate removing duplicate container build from container workflow
  • Include existing issue #1726 as child issue after EPIC creation

Spec

  • docs/issues/drafts/workflow-performance-epic.md

This EPIC uses iterative, evidence-driven prioritization after baseline data is available.

Dominant language
Rust
Stars
532
Forks
56
Avg merge
11h 20m
Merged PRs (30d)
282

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from torrust/torrust-tracker

All issues in torrust/torrust-tracker

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.