Skip to content

Fix Actions minutes timeout cap#315

Merged
mfwolffe merged 1 commit into
trunkfrom
fix/actions-metering-timeout-cap
May 18, 2026
Merged

Fix Actions minutes timeout cap#315
mfwolffe merged 1 commit into
trunkfrom
fix/actions-metering-timeout-cap

Conversation

@espadonne
Copy link
Copy Markdown
Contributor

Summary

  • cap billable Actions minutes at each job's timeout_minutes
  • apply the same timeout cap to Actions usage/performance UI metrics
  • add regression coverage for stale cancelled jobs whose wall-clock gap exceeds their timeout

Tests

  • GOCACHE=/private/tmp/shithub-go-cache SHITHUB_TEST_DATABASE_URL='postgres://shithub:shithub_dev@127.0.0.1:5432/postgres?sslmode=disable' go test ./internal/billing ./internal/actions/...
  • make build

@espadonne espadonne force-pushed the fix/actions-metering-timeout-cap branch from 48a0e15 to 6c3247b Compare May 18, 2026 04:49
@espadonne espadonne force-pushed the fix/actions-metering-timeout-cap branch from 6c3247b to 62898a9 Compare May 18, 2026 04:53
@mfwolffe mfwolffe merged commit 2a103c8 into trunk May 18, 2026
1 check passed
@mfwolffe mfwolffe deleted the fix/actions-metering-timeout-cap branch May 18, 2026 04:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants