Commit 21d84b7
Align DEFAULT_HISTORY_PAGE_SIZE with the standalone server (200 -> 500)
Closes #298. The workflow package's WorkerProtocolVersion constant and
the standalone server's history_page_size_default config had drifted:
the package constant read 200 while the server advertises 500 in its
server_capabilities response. The server is the authority on pagination
size, so external workers already receive 500 at runtime; the constant
was creating a documentation mismatch for SDK authors who referenced it.
The package constant is the contract default that external workers and
SDK authors should assume when the server has not advertised a value.
Updated the docblock to name the authoritative server config key so
future drift is obvious.
14 WorkerProtocolVersion tests (49 assertions) still pass — they
reference the constant symbolically, not the literal value.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent e59e6f2 commit 21d84b7
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
34 | 40 | | |
35 | | - | |
| 41 | + | |
36 | 42 | | |
37 | 43 | | |
38 | 44 | | |
| |||
0 commit comments