Skip to content

Tags: GoCodeAlone/workflow-plugin-websocket

Tags

v0.5.6

Toggle v0.5.6's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
ci(release): fix listReleases draft-publish + bump plugin.json v0.5.6 (…

…#16)

Replaces getReleaseByTag (fails on GoReleaser drafts) with listReleases.
Bumps plugin.json version to v0.5.6.

Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>

v0.5.5

Toggle v0.5.5's commit message
v0.5.5 — workflow v0.64.0 dep bump (picks up contract-diff + lockfile…

… dep tracking + verify-capabilities)

v0.5.4

Toggle v0.5.4's commit message
fix(release): drop sed hook for plugin.json that doesn't exist

Previous commit added a sed hook to goreleaser that edits plugin.json's
version field. This repo has no plugin.json at the root, so the hook
fails and breaks the release pipeline. Remove the hook.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>

v0.5.3

Toggle v0.5.3's commit message
refactor: inject plugin version at build time via ldflags

Replace hardcoded Version string in Manifest() with a package-level
var that goreleaser populates via -ldflags -X. This ensures the
plugin's reported Manifest().Version matches the release tag, so the
workflow engine's requires.plugins[].version check passes.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>

v0.5.2

Toggle v0.5.2's commit message
test: add hijack_test proving Hijacker interface is required for WS u…

…pgrade

Reproduces the WS 500 bug: when ResponseWriter is wrapped without
implementing http.Hijacker, gorilla/websocket upgrade fails. Also
verifies the fix (wrapper that delegates Hijack succeeds with 101).
Adds slog.Error to ServeHTTP upgrade failure path for observability.

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>

v0.5.1

Toggle v0.5.1's commit message
fix: panic recovery in hub.run, connect handler, readPump; stop() gra…

…ceful shutdown

- WP-1: add panic recovery to hub.run() via defer/recover
- WP-2: add runDone channel; hub.run() closes it on exit, stop() waits on it for graceful shutdown
- WP-3: add panic recovery to connect handler goroutine in ServeHTTP
- WP-4: add panic recovery to connection.readPump()

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>

v0.5.0

Toggle v0.5.0's commit message
refactor: remove room/broadcast step types (moved to workflow-plugin-…

…rooms)

Room management steps (step.ws_room_join, step.ws_room_leave, step.ws_room_list,
step.ws_broadcast) are now provided by the standalone workflow-plugin-rooms package.
The hub connection manager remains for ws.server core functionality.

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>

v0.4.1

Toggle v0.4.1's commit message
feat: remove JSON auto-parse from WS trigger; always set binaryPayload

Set data["binaryPayload"] = msg for all frame types so the pipeline can
decode protobuf directly. Keep data["message"] as a string for logging.
Remove json.Unmarshal into data["payload"] — pipeline handles decoding.

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>

v0.4.0

Toggle v0.4.0's commit message
feat: WS binary frame support (read type capture + SendBinary + trigg…

…er data)

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>

v0.3.3

Toggle v0.3.3's commit message
feat: export WSServerModule interface and NewWSServerModule for in-pr…

…ocess embedding

Adds public NewWSServerModule factory and WSServerInstance interface so host
binaries can import the ws.server module directly and register its HTTP upgrade
handler on the engine's HTTP router, bypassing the gRPC boundary limitation.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>