CI runners (Gitea Actions Docker containers) are 3-4x slower than local dev machines due to shared CPU, fewer cores, and container overhead. This caused false CI failures — the same 3085 tests took 37.98s on CI vs 4.76s local, exceeding the 18s limit.
This blocked PR #945 (OBL-INFRA-511-outage-post-mortem-fixes) from merging.
Solution
When the CI or GITEA_ACTIONS env var is set, both total and per-test limits are multiplied by CI_SCALE_FACTOR (default 4, overridable via DEVX_CI_SCALE_FACTOR env var). This keeps local budgets strict while preventing false failures on slower CI runners.
Closes DEVX-146
## Problem
CI runners (Gitea Actions Docker containers) are 3-4x slower than local dev machines due to shared CPU, fewer cores, and container overhead. This caused false CI failures — the same 3085 tests took 37.98s on CI vs 4.76s local, exceeding the 18s limit.
This blocked PR #945 (OBL-INFRA-511-outage-post-mortem-fixes) from merging.
## Solution
When the CI or GITEA_ACTIONS env var is set, both total and per-test limits are multiplied by CI_SCALE_FACTOR (default 4, overridable via DEVX_CI_SCALE_FACTOR env var). This keeps local budgets strict while preventing false failures on slower CI runners.
Closes DEVX-146
CI runners (Gitea Actions Docker containers) are 3-4x slower than
local dev machines due to shared CPU, fewer cores, and container
overhead. This caused false CI failures (37.98s on CI vs 4.76s local
for the same 3085 tests).
When the CI or GITEA_ACTIONS env var is set, both total and per-test
limits are multiplied by CI_SCALE_FACTOR (default 4, overridable via
DEVX_CI_SCALE_FACTOR). This keeps local budgets strict while
preventing false failures on slower CI runners.
Generated with [Devin](https://devin.ai)
Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Project 2 is "Oblachno", project 8 is "devx". The wrong project ID
caused pre-merge validation to fail with "Could not find Vikunja
task DEVX-146 in project 2".
Generated with [Devin](https://devin.ai)
Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Documentation: WARNING — source files changed but no docs updated
Tests: OK
Commit conventions: OK
No issues found by automated checks.
Auto-merge: If all CI checks pass, this PR will be merged automatically.
## Automated PR Review
- Architecture compliance: OK
- Best practices: OK
- Security: OK
- i18n: OK
- Resource management: OK
- Documentation: WARNING — source files changed but no docs updated
- Tests: OK
- Commit conventions: OK
No issues found by automated checks.
---
**Auto-merge:** If all CI checks pass, this PR will be merged automatically.
Documentation: WARNING — source files changed but no docs updated
Tests: OK
Commit conventions: OK
No issues found by automated checks.
Auto-merge: If all CI checks pass, this PR will be merged automatically.
## Automated PR Review
- Architecture compliance: OK
- Best practices: OK
- Security: OK
- i18n: OK
- Resource management: OK
- Documentation: WARNING — source files changed but no docs updated
- Tests: OK
- Commit conventions: OK
No issues found by automated checks.
---
**Auto-merge:** If all CI checks pass, this PR will be merged automatically.
emo
approved these changes 2026-08-03 21:37:03 +00:00
Documentation: WARNING — source files changed but no docs updated
Tests: OK
Commit conventions: OK
No issues found by automated checks.
Auto-merge: If all CI checks pass, this PR will be merged automatically.
## Automated PR Review
- Architecture compliance: OK
- Best practices: OK
- Security: OK
- i18n: OK
- Resource management: OK
- Documentation: WARNING — source files changed but no docs updated
- Tests: OK
- Commit conventions: OK
No issues found by automated checks.
---
**Auto-merge:** If all CI checks pass, this PR will be merged automatically.
emo
approved these changes 2026-08-03 21:40:16 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Problem
CI runners (Gitea Actions Docker containers) are 3-4x slower than local dev machines due to shared CPU, fewer cores, and container overhead. This caused false CI failures — the same 3085 tests took 37.98s on CI vs 4.76s local, exceeding the 18s limit.
This blocked PR #945 (OBL-INFRA-511-outage-post-mortem-fixes) from merging.
Solution
When the CI or GITEA_ACTIONS env var is set, both total and per-test limits are multiplied by CI_SCALE_FACTOR (default 4, overridable via DEVX_CI_SCALE_FACTOR env var). This keeps local budgets strict while preventing false failures on slower CI runners.
Closes DEVX-146
Automated PR Review
No issues found by automated checks.
Auto-merge: If all CI checks pass, this PR will be merged automatically.
Automated PR Review
No issues found by automated checks.
Auto-merge: If all CI checks pass, this PR will be merged automatically.
Auto-approved: all CI checks passed (validate job).
Automated PR Review
No issues found by automated checks.
Auto-merge: If all CI checks pass, this PR will be merged automatically.
Auto-approved: all CI checks passed (validate job).