Skip to content

feat(config): add poke strategy#54

Open
ngoc-minh-do wants to merge 1 commit into
sablierapp:mainfrom
ngoc-minh-do:feat/poke-strategy
Open

feat(config): add poke strategy#54
ngoc-minh-do wants to merge 1 commit into
sablierapp:mainfrom
ngoc-minh-do:feat/poke-strategy

Conversation

@ngoc-minh-do

Copy link
Copy Markdown

What

Adds the poke strategy — a new GET /api/strategies/poke endpoint that starts instances and immediately returns X-Sablier-Session-Status: ready, skipping the health check. The reverse proxy passes the request through without blocking or showing a waiting page.

Useful when you want instances started but don't need them healthy before serving traffic — background workers, sidecar caches, companion processes the caller doesn't depend on.

Usage

GET /api/strategies/poke?group=myapp&session_duration=30m

Plugin config examples (separate PRs in each plugin repo):

# Traefik
plugin:
  sablier:
    group: myapp
    poke: {}
# Caddy
sablier {
    group mygroup
    poke
}
// Proxy-WASM
{ "group": "mygroup", "poke": {} }

@ngoc-minh-do ngoc-minh-do requested a review from acouvreur as a code owner July 10, 2026 22:47
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