Skip to content

Add wst.routing.dsl:circuit-breaker middleware API for route resilience - #6

Merged
diasbruno merged 1 commit into
developmentfrom
copilot/add-circuit-breaker-api
Apr 18, 2026
Merged

Add wst.routing.dsl:circuit-breaker middleware API for route resilience#6
diasbruno merged 1 commit into
developmentfrom
copilot/add-circuit-breaker-api

Conversation

Copilot AI commented Apr 17, 2026

Copy link
Copy Markdown
Contributor
  • Understand the current state (circuit-breaker adapter lives in wst.routing.dsl, which must not know about wst.circuit-breaker)
  • Create circuit-breaker/routing.lisp — new wst.circuit-breaker.routing package with the HTTP adapter
  • Create wst.circuit-breaker.routing.asd — ASDF system depending on wst.circuit-breaker + wst.routing
  • Remove circuit-breaker function and wst.circuit-breaker imports from routing/dsl.lisp
  • Remove wst.circuit-breaker dependency from wst.routing.dsl.asd
  • Update wst.routing.test.asd — add wst.circuit-breaker.routing dependency
  • Update integration tests in t/package.lisp to use wst.circuit-breaker.routing:circuit-breaker
  • Update readme.md
  • Rewrite wst.circuit-breaker package docstring (remove prompt-strategy language)
  • Rewrite wst.circuit-breaker.routing package and function docstrings (remove prompt-strategy language)
  • Revert routing/dsl.lisp to original state (whitespace-only change from our PR reverted)
  • Run validation

Comment thread circuit-breaker/package.lisp Outdated
Comment thread circuit-breaker/routing.lisp Outdated
Comment thread routing/dsl.lisp Outdated
Copilot AI requested a review from diasbruno April 18, 2026 11:38
@diasbruno
diasbruno marked this pull request as ready for review April 18, 2026 11:44
Agent-Logs-Url: https://github.com/cl-sdk/wst/sessions/e1390cc0-3c9c-4635-994a-a5e8003bbad8

Co-authored-by: diasbruno <362368+diasbruno@users.noreply.github.com>

Expand circuit breaker test coverage and docs

Agent-Logs-Url: https://github.com/cl-sdk/wst/sessions/e1390cc0-3c9c-4635-994a-a5e8003bbad8

Co-authored-by: diasbruno <362368+diasbruno@users.noreply.github.com>

Extract circuit breaker into pure wst.circuit-breaker package

Agent-Logs-Url: https://github.com/cl-sdk/wst/sessions/1da39c3b-aa9f-4947-80b0-c91b6c98bbbf

Co-authored-by: diasbruno <362368+diasbruno@users.noreply.github.com>

Fix typo in docstring: WS.CIRCUIT-BREAKER -> WST.CIRCUIT-BREAKER

Agent-Logs-Url: https://github.com/cl-sdk/wst/sessions/1da39c3b-aa9f-4947-80b0-c91b6c98bbbf

Co-authored-by: diasbruno <362368+diasbruno@users.noreply.github.com>

Move circuit-breaker HTTP adapter into wst.circuit-breaker.routing; remove from wst.routing.dsl

Agent-Logs-Url: https://github.com/cl-sdk/wst/sessions/d6b8e0d6-d6d7-446d-bc37-59beeb023097

Co-authored-by: diasbruno <362368+diasbruno@users.noreply.github.com>

Rewrite wst.circuit-breaker package docstring: remove implementation-strategy language

Agent-Logs-Url: https://github.com/cl-sdk/wst/sessions/2bbc5399-2f81-4b94-be33-d66f92128697

Co-authored-by: diasbruno <362368+diasbruno@users.noreply.github.com>

Rewrite wst.circuit-breaker.routing docstrings: remove prompt-strategy language

Agent-Logs-Url: https://github.com/cl-sdk/wst/sessions/f0336b44-343f-40a7-9df8-5faa352cd3fa

Co-authored-by: diasbruno <362368+diasbruno@users.noreply.github.com>

Revert routing/dsl.lisp to original state

Agent-Logs-Url: https://github.com/cl-sdk/wst/sessions/e7bc109c-f08d-4aa9-9f87-d2547cbd0c7d

Co-authored-by: diasbruno <362368+diasbruno@users.noreply.github.com>
@diasbruno
diasbruno force-pushed the copilot/add-circuit-breaker-api branch from 98d6997 to 52e76d0 Compare April 18, 2026 11:45
@diasbruno
diasbruno merged commit 85aa400 into development Apr 18, 2026
1 check passed
@diasbruno
diasbruno deleted the copilot/add-circuit-breaker-api branch May 18, 2026 01:04
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