Skip to content

refactor: split request handler chain#514

Merged
thymikee merged 2 commits into
mainfrom
refactor/request-handler-chain-split
May 14, 2026
Merged

refactor: split request handler chain#514
thymikee merged 2 commits into
mainfrom
refactor/request-handler-chain-split

Conversation

@thymikee
Copy link
Copy Markdown
Member

Summary

Extract the specialized daemon request handler chain into src/daemon/request-handler-chain.ts.
Keep request-router.ts focused on request lifecycle orchestration: auth, diagnostics, admission, locking, ADB scoping, finalization, and fallback dispatch.

Touched files: 2. Scope stayed within src/daemon/request-router.ts and src/daemon/request-*.ts.

Validation

  • PATH="$HOME/.nvm/versions/node/v22.22.2/bin:$HOME/Library/pnpm:$PATH" pnpm format
  • PATH="$HOME/.nvm/versions/node/v22.22.2/bin:$HOME/Library/pnpm:$PATH" pnpm exec vitest run src/daemon/__tests__/request-router-*.test.ts
  • PATH="$HOME/.nvm/versions/node/v22.22.2/bin:$HOME/Library/pnpm:$PATH" pnpm check:quick

@thymikee thymikee merged commit 8a6d6c1 into main May 14, 2026
17 of 18 checks passed
@thymikee thymikee deleted the refactor/request-handler-chain-split branch May 14, 2026 09:04
@github-actions
Copy link
Copy Markdown

PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-05-14 09:04 UTC

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