Skip to content

Refactor: Extract continue timeout as named constant#37

Merged
FL4TLiN3 merged 1 commit intomainfrom
refactor/extract-continue-timeout-constant
Dec 4, 2025
Merged

Refactor: Extract continue timeout as named constant#37
FL4TLiN3 merged 1 commit intomainfrom
refactor/extract-continue-timeout-constant

Conversation

@FL4TLiN3
Copy link
Contributor

@FL4TLiN3 FL4TLiN3 commented Dec 4, 2025

Summary

  • Extract magic number 60000 as named constant CONTINUE_TIMEOUT_MS in start command
  • Improves code readability by making the timeout purpose and unit explicit

Closes #29

Test plan

  • pnpm typecheck passes
  • pnpm test passes
  • pnpm build passes

Note

Centralizes the continue timeout by replacing hardcoded 60000 with CONTINUE_TIMEOUT_MS in packages/perstack/src/start.ts.

  • Extract CONTINUE_TIMEOUT_MS = 60_000 in packages/perstack/src/start.ts and use it in the continue setTimeout, replacing the hardcoded 60000.

Written by Cursor Bugbot for commit 392a264. This will update automatically on new commits. Configure here.

@vercel
Copy link

vercel bot commented Dec 4, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
perstack Ready Ready Preview Comment Dec 4, 2025 4:08am

@codecov
Copy link

codecov bot commented Dec 4, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@FL4TLiN3 FL4TLiN3 merged commit 18e3f45 into main Dec 4, 2025
9 checks passed
@github-actions github-actions bot mentioned this pull request Dec 4, 2025
@FL4TLiN3 FL4TLiN3 deleted the refactor/extract-continue-timeout-constant branch December 8, 2025 19:11
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.

Refactor: Extract continue timeout as named constant

1 participant