Skip to content
This repository was archived by the owner on Mar 9, 2026. It is now read-only.

ci: optimize workflow timeout values and rename workflow files#47

Merged
roottool merged 2 commits intomainfrom
refactor/change-workflow-timeout-and-name
Jan 2, 2026
Merged

ci: optimize workflow timeout values and rename workflow files#47
roottool merged 2 commits intomainfrom
refactor/change-workflow-timeout-and-name

Conversation

@roottool
Copy link
Copy Markdown
Owner

@roottool roottool commented Jan 2, 2026

Description

This PR includes two CI/CD improvements:

  1. Renamed workflow files: Changed workflow_call files from call-*.yml to wc-*.yml for better clarity and consistency
  2. Optimized timeout values: Reduced workflow timeout values based on actual execution data
    • Setup job: 5min → 2min
    • Lint & Format: 5min → 2min
    • Type Check: 5min → 2min
    • Test: 5min → 2min
    • Export Validation: 5min → 2min
    • Prepare Release: 10min → 2min
    • Publish: 10min → 3min

These changes improve CI efficiency without compromising reliability, as current execution times are well below the new timeout values.

Boundary Checklist (Required)

safe-formdata enforces a strict trust boundary for FormData.
If any item below does not apply, this change likely does not belong here.

  • No interpretation
    • Key names are treated as opaque strings
    • No structural inference ([], ., brackets, paths, etc.)
  • No silent behavior
    • No merging, overwriting, auto-fixing, or implicit resolution
    • All boundary violations are reported explicitly
  • Boundary respected
    • No validation, coercion, schema, framework conventions, or business logic

📘 Boundary rules & non-goals:
https://github.com/roottool/safe-formdata/blob/main/AGENTS.md

Type of Change

  • Bug fix
  • Security fix
  • Documentation
  • Refactoring (no behavior change)
  • Tests
  • Tooling / CI

Testing

No new tests required as this change only affects CI/CD workflow configuration. The timeout values have been validated against historical execution data to ensure they provide adequate time for all jobs to complete successfully.


🤖 Generated with Claude Code

Co-Authored-By: Claude noreply@anthropic.com

roottool and others added 2 commits January 2, 2026 20:46
Rename reusable workflow files to use more concise `wc-` prefix:
- call-dependency-review.yml → wc-dependency-review.yml
- call-export-validation.yml → wc-export-validation.yml
- call-lint-format.yml → wc-lint-format.yml
- call-test.yml → wc-test.yml
- call-type-check.yml → wc-type-check.yml

Update references in ci.yml to use new workflow names.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Reduce timeout values for all workflows from 5-10 minutes to 2-3 minutes
based on actual execution time analysis. This change:

- Improves security by reducing credential exposure time by 60-80%
- Enables faster failure detection (2-3 minutes vs 5-10 minutes)
- Reduces resource waste from hung processes

Timeout changes:
- CI workflows (setup, lint, type-check, test, export-validation): 5m → 2m
- prepare-release-pr: 10m → 2m
- publish: 10m → 3m

All timeouts maintain 2-7x safety margin above observed execution times.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@roottool roottool self-assigned this Jan 2, 2026
@roottool roottool added the ci Some changes have been changed to CI. label Jan 2, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 2, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (710318b) to head (ec029e6).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #47   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            3         3           
  Lines           22        22           
  Branches         6         6           
=========================================
  Hits            22        22           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@roottool roottool merged commit 69652b3 into main Jan 2, 2026
12 checks passed
@roottool roottool deleted the refactor/change-workflow-timeout-and-name branch January 2, 2026 11:55
@roottool roottool added the ignore for release Exclude from release notes label Mar 1, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

ci Some changes have been changed to CI. ignore for release Exclude from release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant