47 lines
2.6 KiB
Markdown
47 lines
2.6 KiB
Markdown
# Deferred items
|
|
|
|
Out-of-scope discoveries made while executing phase 19.7 plans. Nothing here
|
|
was changed by the plan that recorded it.
|
|
|
|
## Deferred Items
|
|
|
|
- Pre-existing `gofmt` drift in cabana (found during 19.7-01 Task 1)
|
|
status: open
|
|
**What:** `gofmt -l modules/cabana` lists `account_tokens.go`,
|
|
`account_tokens_test.go`, `field_trigger_smoke_test.go`,
|
|
`token_postgres_smoke_test.go`, `token_routes_test.go` and
|
|
`token_scopes_test.go` as unformatted before this plan touched the module
|
|
(alignment of map literals and struct tags). Left as is: reformatting
|
|
would add diff noise unrelated to the plan (a whole-file `gofmt -w` on
|
|
`token_routes_test.go` rewrote 132 lines and was reverted). A one-line
|
|
`gofmt -w` on those six files in a `style(cabana)` commit of its own fixes it.
|
|
- `AdminRecordAction.Prompt` acceptance grep counted two `prompt,omitempty`
|
|
tags in `schema_types.go` (found during 19.7-01 Task 4)
|
|
status: resolved
|
|
**What:** the second match is the pre-existing `FormField.Prompt` JSON tag
|
|
at `schema_types.go:376`, not a duplicate of the new `RecordAction.Prompt`;
|
|
the criterion's "prints 1" was written without that line in mind. No change
|
|
needed.
|
|
- Stateful pier sessions cannot carry the SDK's protocol-version context value (found during 19.7-02 Task 3)
|
|
status: open
|
|
**What:** go-sdk v1.8.0's `StreamableHTTPHandler.ServeHTTP` stores the
|
|
`Mcp-Protocol-Version` header under an unexported context key that the
|
|
transport's `servePOST`/`serveGET` read; pier's own session router (needed
|
|
for Redis-shared sessions, D-25) serves `StreamableServerTransport`
|
|
directly and cannot set that key, so stateful streams run with the SDK's
|
|
2025-03-26 defaults for stream close/reconnect hints and the JSON-RPC
|
|
batch rule (lenient, spec-compliant for older clients; 2026-07-28 clients
|
|
go through the SDK's own stateless handler). Revisit if a later SDK
|
|
exports the key or a transport-level setter; plan 05 may add a test
|
|
pinning the behaviour.
|
|
- `notifications/initialized` landing on another instance than `initialize` (found during 19.7-02 Task 3)
|
|
status: open
|
|
**What:** the session state is persisted after `initialize` and again
|
|
after the client's `initialized` notification; when a load balancer sends
|
|
the notification to a second instance, the first instance's local copy
|
|
keeps `InitializedParams` nil and refuses calls until that copy is
|
|
dropped (session end, revocation or process restart) while the second
|
|
instance serves them. Sticky sessions or a per-request re-read of the
|
|
stored `initialized` flag would close the gap; not needed for the
|
|
single-instance demo.
|