Skip to content

fix: make serve shutdown reliable - #50

Merged
juliantanx merged 1 commit into
mainfrom
fix/issue-49-serve-shutdown
Sep 1, 2026
Merged

fix: make serve shutdown reliable#50
juliantanx merged 1 commit into
mainfrom
fix/issue-49-serve-shutdown

Conversation

@juliantanx

Copy link
Copy Markdown
Owner

Summary

  • make aiusage serve shutdown idempotent and register signal handlers once
  • close idle connections gracefully, then force-close active connections after a timeout
  • add regression coverage for normal, timed-out, and repeated shutdown attempts
  • refresh the contributor guide package layout and credit @lmingde for the bug report

Testing

  • corepack pnpm --dir packages/cli test (54 files, 418 tests)
  • corepack pnpm --filter @juliantanx/aiusage build
  • git diff --check

Closes #49

@juliantanx
juliantanx merged commit 2b60d51 into main Sep 1, 2026
7 checks passed
@juliantanx
juliantanx deleted the fix/issue-49-serve-shutdown branch September 1, 2026 01:52
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.

反复关闭失败

1 participant