Skip to content

docs(blocks, core, bb-kv-store, create-blocks-app): findable docs, a shipped-code-sample guard, an imports reference and API reports - #1498

Merged
xyos merged 8 commits into
aws:mainfrom
xyos:docs/findability-and-drift
Nov 17, 2026
Merged

xyos merged 8 commits into
aws:mainfrom
xyos:docs/findability-and-drift

Conversation

@xyos

@xyos xyos commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Problem

Several documented facts can't be found under the words people look for, some shipped code samples no longer match the packages, and nothing checks most of them:

  • The KVStore README documents compare-and-swap and optimistic locking but never says a conditional write is atomic, or that there is no transaction across items.
  • The KVStore "Indexes" section says when an index holds an item, but not what an index query returns, and the docs don't say that DynamoDB rejects a null in an indexed field (the local mock accepts it).
  • The core README's withAuth section doesn't name next/headers / cookies(), which the built-in detection uses.
  • The @aws-blocks/blocks/utils test helpers (installCookieJar, …) are explained only in a README that isn't shipped.
  • The dev server's Frontend server unavailable (502) response, its startup and port messages, and its 403 / 404 / 415 refusals are in no shipped doc.
  • The FileBucket README builds new AuthBasic(…), a removed block; the bb-data USE_CASES.md backend example calls Kysely methods on Database<DB>, which takes no type argument and has no query builder.
  • The scaffolded AGENTS.md docs bullet still says to import ApiError and the typed client from @aws-blocks/blocks, whose browser build exports nothing (the Imports bullet above it already says /client).
  • Only bb-auth's README recipes are compiled in CI; any other sample can go stale silently.
  • Nothing lists what each @aws-blocks/blocks entry (/client, /ui, /theme, /server, /utils, …) exports or where it runs.
  • hosting, pipeline and bb-compute have no API report, and 11 ae-forgotten-export warnings point at types apps can't name.

Issue #, if available:

Changes

One commit per item:

  1. docs: findable guarantees, helpers and errors (f7fe55212)
    • KVStore "Conditional writes": a conditional put / delete is atomic for its item (one conditional PutItem / DeleteItem on AWS; no await between the check and the write in the mock), there is no transaction across items (on AWS a batch call can leave the processed entries written after BatchIncompleteException), and transaction() on Database / DistributedDatabase is the option for one. Two short paragraphs after main's retriable paragraph; nothing in "Batch calls" or the intro is repeated.
    • core README withAuth: names cookies() from next/headers (server components, route handlers, server actions) and the Nuxt Nitro context. Edit is local to that section.
    • Guide Reference: one bullet for the /utils helpers with signatures.
    • TROUBLESHOOTING.md: Frontend server unavailable (502) and the frontend startup/restart messages; the second-dev-server and port-in-use messages as main prints them today; and the 403 Host / 403 cross-origin / 404 wrong-method / 415 content-type responses, each traced to dev-server.ts, dev-pidfile.ts, cors.ts and cli/config.ts. The 403 cross-origin and 415 rows link to the core README's "Local Development" for the rules rather than restating them.
  2. docs(bb-file-bucket, create-blocks-app): drift (a3fc56f0a)
    • FileBucket examples use new Auth(scope, 'auth').
    • Scaffolded AGENTS.md, one sentence (end of the docs bullet, line 9): ApiNamespace from @aws-blocks/blocks in the backend, ApiError / isBlocksError from @aws-blocks/blocks/client in frontend code and tests. It said to import them from @aws-blocks/blocks, contradicting the Imports bullet and the "Errors that reach the client" section of the same file. This is a minimal factual correction; a reviewer can drop it without affecting the rest of the PR.
  3. test(blocks): check the code samples of every shipped doc (cbfc69958): please review this one hardest.
    • doc-snippets.test.ts (in packages/blocks npm test, ~10 s) reads the whole generated docs/ folder, changelogs included, and, over the built packages:
      • checks every @aws-blocks/* import, and new X / X.member on those names;
      • reports an undeclared, non-global PascalCase name used with new / . that no @aws-blocks/blocks entry (or other module the docs import) exports. This is how a fragment that still constructs a removed block shows up;
      • typechecks complete files (first-line // path.ts plus an import), grouped per heading like the bb-auth recipes;
      • resolves the value imports of browser files (// src/…, // test/…, // frontend/…) again under the browser condition, where the root @aws-blocks/blocks is an empty module. The rest compiles with default conditions, as an app's tsc does;
      • parses fences inside blockquotes (> ```ts) as well, and accepts a description after a file label (// src/main.ts — the browser), the form bb-auth's README uses.
    • Exceptions are visible in the doc itself, each with a reason: <!-- doc-snippet: skip — … --> or <!-- doc-snippet: fragment — … --> above a fence, or <!-- doc-snippet: skip-file — … --> for a whole doc. Fixture docs in the same run prove each kind of drift is reported and each marker honoured.
    • Fixed what it found:
      • bb-auth README "Protect every method": the // src/main.ts file imported AuthErrors / isAuthError from @aws-blocks/blocks, which is undefined in a browser bundle. It now uses isBlocksError(e, 'NotAuthenticatedException') from @aws-blocks/blocks/client.
      • bb-data USE_CASES.md §13 now reads through createKyselyAdapter<DB>(…), as the bb-data README does, and inserts with queryOne(sql`INSERT … RETURNING …`). The types bb-data generate-types emits list the SERIAL id as a required column, so a Kysely insert without id doesn't compile; a Generated<> wrapper in the generator would be the longer-term fix (not in this PR). Its setup steps now match the code: bb-data migrate ./migrations, types generated to backend/types/database.ts, and migrationsPath: './migrations' on the Database.
    • Marked the rest: migration "before" code, samples naming the app's own stack class, three file-labelled fragments, and the blocks / core changelogs (release notes for the removed AuthBasic / AuthOIDC). The other changelogs with samples pass as they are. The rewritten KVStore README and DESIGN (feat(bb-kv-store): KVStore consolidation #1453) pass with no markers.
  4. docs(blocks): generated IMPORTS.md (3b27f4118)
    • Lists each app-facing entry, where it runs, and every export, split into values and type-only names. That includes /cdk, /lambda-handler and /scripts, which every scaffolded app's generated aws-blocks/index.cdk.ts / index.handler.ts import; only /vendorize is listed as not for app code.
    • States the browser rule: code run under the browser condition (browser bundles, and the templates' tsx -C browser e2e tests) gets no values from the root entry, the only entry with that condition. Every subpath, /utils included, resolves the same everywhere.
    • For each root value such code can still use, it names where to import it: a browser-safe umbrella entry (/client, /ui, /theme), or the browser build of the block package that defines it (error constants and pure helpers, e.g. KVStoreErrors from @aws-blocks/bb-kv-store), and notes that importing a block package directly means adding it to the app's dependencies, or matching the error by name.
    • Rendered from the built .d.ts with the TypeScript compiler, so it runs after tsc. gen-block-docs.mjs runs as prebuild, so the file is committed at the package root and shipped via files.
    • npm run update:imports rewrites it; npm run check:imports and imports-reference.test.js fail on drift, and so does an export-map entry the generator doesn't classify.
    • Linked from the guide's Reference. No export map changes.
  5. API reports and forgotten exports (616f712e4, 1b72322b3)
    • New API.md reports for hosting, pipeline and bb-compute (api-extractor.json following the existing convention; bb-compute reports its aws-runtime entry).
    • Type-only, additive exports for types public signatures already use:
      • bb-agent: AgentBase (as export type, like bb-auth's AuthBase), ConversationManagerConfig, MessageMetadata, GuardrailsConfig, InferenceConfig;
      • bb-data: WhereClause and the Operator type it references;
      • bb-realtime: InferMessage;
      • core: ApiNamespaceConstructor and the AsyncAPI instance type it returns.
    • core's private ResourceEntry alias is spelled Record<string, string> in the two public signatures (same type).
    • Changesets are patch. Adding exports may deserve minor, but on 0.x that would fall outside the umbrella's caret ranges; maintainers' call.
    • Left for maintainers (unapplied): bb-data UnionToIntersection (inlining it would change CrudMethods' distribution semantics) and bb-secret SecretImpl (Secret is Omit<SecretImpl, 'put'>; exporting an …Impl class or restating Secret is a design call).
  6. docs(bb-kv-store): index projection and null index fields (e864ce6fb)
    • README "Indexes": two bullets. An index query returns whole items (every index the block creates projects all attributes; a fromExisting table keeps its own). To keep an item out of an index, omit the field: DynamoDB rejects a put whose indexed field holds null or a value of the other type with a ValidationException, while the mock accepts the write, so the error shows only on AWS.
    • DESIGN "Indexes": main's sentence called an empty string "the one case DynamoDB reports as an error". It now says that a present indexed field must be a non-empty value of the declared type (DynamoDB rejects '', null and the other type), and that put checks only ''. It also names the ALL projection. The mock-vs-AWS table gets a row for the difference. The mock never returns such an item through the partition field, but does return it through a null or other-typed sort field when where has no sort condition. On AWS the write error isn't re-mapped, so an API client sees an unnamed 500.
    • Verified: ProjectionType: 'ALL' in gsi-manager-lambda.ts; buildItem (item.ts) checks only for an empty string; remapItemTooLarge re-maps only the size error; the mock behaviour by running it. The AWS rejection is DynamoDB's documented behaviour ("Using Global Secondary Indexes", data synchronization); not exercised against AWS here.

Not included: DistributedTable-specific text, since #1453 merged DistributedTable into KVStore and removed its package. Paging (KVStore "Pages", cursor) and the sparse-index rule (KVStore "Indexes") are on main from #1453; FileBucket metadata reads are on main from #1354.

Found, not fixed (bb-data CLI, for a separate change): in a fresh local project, npx bb-data migrate and npx bb-data generate-types refuse with "This app uses an external database (fromExisting())". detectExternalDb() (cli.ts) reads a secret: true AppSetting with no value, and the AppSetting mock seeds and persists a random value for such a setting, so the check always finds one. This affects every bb-data migrate / generate-types instruction in the bb-data docs, not just this example.

Related PRs

Merged into main since the last push (the branch is rebased on them):

#1496 (companion: moves self-contained README sections into topic files) shares the guide, core and bb-auth READMEs and packages/blocks/package.json's files array. Both PR heads merged onto main with no conflicts before this rebase; the edits are in different sections, and the files array keeps both entries. Either can land first.

Open PRs that touch the same files or lines (the rest of the 64 that touch a changed file are independent):

Validation

Branch rebased onto main at dabb3f22f (after #1453, #1218, #1542, #1519, #1500, #1568, #1596 and the other commits since the previous push). Head e864ce6fb. Earlier heads of this rebase: 86fd2ab7d on dfc4a306b, then 41cbc8671 on 5dfe7783a. 41cbc8671 corrected three KVStore sentences: README "Conditional writes" and "Indexes", and DESIGN "Indexes" with its mock-vs-AWS row. e864ce6fb adds #1568 and #1596 from main and regenerates IMPORTS.md for LegacyKVStore. After #1568 I re-checked item 1 and item 6 against the KVStore code. #1568 changed only the read paging there; put / delete, the index filter, buildItem and the GSI projection are unchanged.

Before pushing e864ce6fb (built in a clean environment, as CI runs it; see the note below):

Command Result
npm ci pass
npm run build pass (env -i PATH HOME USER; in the local interactive shell admin-ui's next build stops on a Next.js security advisory for main's pinned version, which this PR doesn't touch)
npm run update:imports, then npm run check:imports IMPORTS.md gains the LegacyKVStore names; then pass
npm run update:api, then npm run check:api no report changes; pass (the 2 remaining ae-forgotten-export warnings listed under item 5)
npm run lint:deps pass
npm run sync-docs:check pass
packages/blocks: doc-snippets, readme-links, docs-pointers, conditional-exports; imports-reference 229 tests: 226 pass, 3 skipped, 0 fail; 1/1
node --test scripts/sink-guards/*.test.mjs 35 tests: 35 pass
packages/bb-auth readme-recipes.test.js; packages/create-blocks-app agents-guide.test.js 7/7; 7/7

The code-sample guard also covers #1568's new KVStore samples; they pass with no markers.

On this machine the rest of the packages/blocks suite fails only in the 8 cdk-blocks dev signal tests, with EMFILE … watch. The host's inotify instance limit was used up by other processes. The same file passes 38/38 with a polling watcher. The same environment limit fails one hosting file-watch test (secret-typegen, watchHostingValues). This PR doesn't touch either area.

On 86fd2ab7d's tree, run locally while CI ran:

Command Result
npm test (with CHOKIDAR_USEPOLLING=1 for the inotify limit above) 13,735 tests: 13,720 pass, 10 skipped, 5 fail. Four are the auth-oidc template tests that #1596 has since fixed on main, and one is the hosting file-watch test above.
npm run test:e2e:local 573 tests: 567 pass, 6 skipped, 0 fail

Combined check, on the final heads: this PR (e864ce6fb), #1496 (261b7f752) and #1504 (a4edab846) merged together onto main at dabb3f22f. They merge cleanly, and on the combined tree the following all pass: the build, the four packages/blocks docs test files, check:imports, sync-docs:check, check:api, lint:deps, and the create-blocks-app tests (391/391, the suite behind CI shard 3). A relative-link and anchor scan finds no new broken links. Since this PR carries generated files (IMPORTS.md, API reports), landing it first means the least regeneration.

CI on 86fd2ab7d and 41cbc8671 (22 pass, 20 skipped): everything passed except Local Unit Tests (shard 3) and its two roll-ups (Build, Unit Tests, E2E Local, Build and Test). The cause was the four auth-oidc template tests on main, which #1596 fixes. e864ce6fb is on a main that includes #1596. CI on e864ce6fb: all green (25 pass, 20 skipped, 0 fail), shard 3 and both roll-ups included.

Also:

  • The KVStore mock behaviour in item 6 was checked with a throwaway script against the built package.
  • The guard's fixture docs assert every kind of drift is reported and every marker honoured, and check:imports fails after a hand edit of IMPORTS.md.
  • No AWS deploys or sandbox runs.

Checklist

  • PR description included
  • Tests are changed or added
  • Relevant documentation is changed or added (and PR referenced)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@changeset-bot

changeset-bot Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 646f01c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 12 packages
Name Type
@aws-blocks/bb-agent Patch
@aws-blocks/bb-data Patch
@aws-blocks/bb-realtime Patch
@aws-blocks/core Patch
@aws-blocks/hosting Patch
@aws-blocks/pipeline Patch
@aws-blocks/bb-compute Patch
@aws-blocks/bb-file-bucket Patch
@aws-blocks/create-blocks-app Patch
@aws-blocks/bb-kv-store Patch
@aws-blocks/blocks Patch
@aws-blocks/bb-auth Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@xyos
xyos force-pushed the docs/findability-and-drift branch 3 times, most recently from f4b6ce3 to 207bf42 Compare November 13, 2026 20:32
@xyos
xyos marked this pull request as ready for review November 13, 2026 20:36
@xyos
xyos requested a review from a team as a code owner November 13, 2026 20:36
@xyos
xyos force-pushed the docs/findability-and-drift branch from 207bf42 to ef4a595 Compare November 13, 2026 22:17
@xyos
xyos force-pushed the docs/findability-and-drift branch 2 times, most recently from 86fd2ab to 41cbc86 Compare November 17, 2026 17:26
@xyos xyos changed the title docs(blocks, core, bb-kv-store, bb-distributed-table): findable docs, a shipped-code-sample guard, an imports reference and API reports docs(blocks, core, bb-kv-store, create-blocks-app): findable docs, a shipped-code-sample guard, an imports reference and API reports Nov 17, 2026
xyos added 7 commits November 17, 2026 20:36
…s findable

The KVStore README documented compare-and-swap and optimistic locking
without saying a conditional write is atomic or that there is no
transaction across items; both are now stated in "Conditional writes",
checked against the AWS runtime (one conditional PutItem/DeleteItem) and
the mock (no await between the check and the write).

The withAuth section names next/headers' cookies() and the Nuxt Nitro
context that its built-in providers read. The guide's Reference lists the
@aws-blocks/blocks/utils test helpers, previously documented only in an
unshipped README. TROUBLESHOOTING.md covers the dev server's 502
"Frontend server unavailable" and the related startup, second-server,
port and request messages (403 Host / cross-origin, 404 method, 415
content type), each traced to dev-server.ts, dev-pidfile.ts and
cli/config.ts.

Validation: npm run build; packages/blocks readme-links + docs-pointers tests pass.
… the client import rule

The FileBucket access-control examples still built `new AuthBasic(...)`,
a block replaced by `Auth` (`@aws-blocks/bb-auth`).

The scaffolded AGENTS.md said to import `ApiError` and the typed client
from `@aws-blocks/blocks`. Under the `browser` condition (browser bundles
and the templates' `tsx -C browser` tests) that entry is `export {}`, so
the sentence now says `ApiNamespace` comes from `@aws-blocks/blocks` in
the backend and `ApiError` / `isBlocksError` from
`@aws-blocks/blocks/client` in frontend code and tests, matching the
guide's later bullet. One-sentence change.

Validation: create-blocks-app agents-guide.test.js 5 pass / 0 fail.
Only bb-auth's README recipes were compiled; every other code sample in
the shipped docs could go stale silently. doc-snippets.test.ts reads the
whole generated docs/ folder, changelogs included, and over the built
packages:

- checks each `@aws-blocks/*` import, and `new X` / `X.member` on those
  names;
- flags an undeclared, non-global PascalCase name used with `new` or `.`
  that no @aws-blocks/blocks entry (or other module the docs import)
  exports, which is how a fragment constructing a removed block shows up;
- typechecks complete files (first-line `// path` comment plus an
  import), grouped per heading into one app as the bb-auth recipes are;
- resolves the value imports of browser files (`// src/...`,
  `// test/...`, `// frontend/...`) a second time under the `browser`
  condition, where the root `@aws-blocks/blocks` is an empty module.
  Everything else compiles with default conditions, as an app's tsc does.

Exceptions are visible in the doc itself, each with a reason:
`<!-- doc-snippet: skip -->` or `<!-- doc-snippet: fragment -->` above a
fence, or `<!-- doc-snippet: skip-file -->` for a whole doc. Fixture docs
in the same run prove the check reports each kind of drift and honours
each marker. Fences are matched without building a RegExp from input.

Found and fixed:
- bb-auth README "Protect every method": the `// src/main.ts` file
  imported AuthErrors / isAuthError from @aws-blocks/blocks, undefined in
  a browser bundle; it now uses isBlocksError(e, 'NotAuthenticatedException')
  from @aws-blocks/blocks/client, as the scaffolded AGENTS.md advises.
- bb-data USE_CASES.md section 13 called Kysely methods on a
  `Database<DB>` (the class takes no type argument and has no query
  builder). It now reads through createKyselyAdapter<DB>(), as the README
  does, and inserts with queryOne(sql`INSERT ... RETURNING ...`): the
  types `bb-data generate-types` emits list the SERIAL id as a required
  column, so a Kysely insert without it does not compile. Its setup
  steps now match the code: `bb-data migrate ./migrations`, types
  generated to backend/types/database.ts (the path the API file
  imports), and `migrationsPath: './migrations'` on the Database.
Marked: three migration "before" blocks, two pipeline samples using the
app's own stack class, two file-labelled fragments, and the blocks and
core changelogs (release notes for the removed AuthBasic / AuthOIDC
blocks); the other changelogs with samples pass.

Validation: doc-snippets.test.js 2 pass / 0 fail; bb-auth
readme-recipes.test.js 7/7; sink-guards 35/35; biome check clean on the
new files. The USE_CASES API file typechecks (0 diagnostics) against
generateTypes() output for the example's migration, and its insert and
two selects run against the local Database built as the snippet builds
it. The CLI steps themselves were not run end to end: in a fresh project
`bb-data migrate` and `generate-types` refuse with "This app uses an
external database", because detectExternalDb() reads a secret
AppSetting whose local mock seeds a random value; left for a separate
fix.
The guide named a few /ui and /server exports in prose and never said
what /client, /utils or /theme export, or that the root entry resolves
to an empty module under the `browser` condition.

IMPORTS.md lists each app-facing entry, where it runs, and every export
split into values and type-only names (an alias chain that passes
through `export type` / `import type` counts as type-only). For each
root value browser code can still use, it names where to import it: a
browser-safe umbrella entry (/client, /ui, /theme), or the browser build
of the block package that defines it, read under the `browser`
condition for every @aws-blocks dependency that declares one. Classes
declared in a browser entry itself are the throwing/no-op stubs and are
left out; re-exported values (error constants, pure helpers) are listed.

It is rendered from the built .d.ts files with the TypeScript compiler,
so it runs after tsc; gen-block-docs.mjs runs as prebuild, so the file
is committed at the package root (and shipped via `files`), from where
gen-block-docs copies it into docs/. Runtime labels live in the
generator next to an export-map check: a new entry fails until it is
classified.

- `npm run update:imports` rewrites it; `npm run check:imports` and
  imports-reference.test.js (in packages/blocks' npm test) fail on drift.
- No export map changes.

Validation: imports-reference, readme-links, doc-snippets tests pass;
check:imports fails after a hand edit and passes after update:imports.
All three ship public entries (hosting's CDK-free root, pipeline's
Pipeline/DeployStage constructs, bb-compute's Compute block) and docs in
the umbrella docs folder, but had no api-extractor.json, so
update-api-reports.sh (which globs packages/*/api-extractor.json) never
reported them; nothing in the scripts excludes them on purpose.

Configs follow the existing convention: extend api-extractor.base.json,
with bb-compute reporting its aws-runtime entry (dist/index.aws.d.ts) like
the other blocks. None of the three reports has an ae-forgotten-export.

Validation: npm run update:api succeeds for every package.
…ures use

API Extractor reported 11 ae-forgotten-export warnings: public
signatures referencing types the entry points don't export, so apps
can't name them. Exported, type-only and additive:

- bb-agent: AgentBase (as `export type`, as bb-auth does for AuthBase),
  ConversationManagerConfig, MessageMetadata, GuardrailsConfig,
  InferenceConfig, from the aws, mock and cdk entries;
- bb-data: WhereClause and the Operator type it references;
- bb-realtime: InferMessage, from every entry;
- core: ApiNamespaceConstructor and the AsyncAPI instance type it
  returns.

core's private ResourceEntry alias is spelled Record<string, string> in
registerSdkIdentifiers / getAllSdkIdentifiers (identical type).

Left for maintainers: bb-data UnionToIntersection (inlining it would lose
its distribution over the union, so it is either exported or CrudMethods
is restructured) and bb-secret SecretImpl (Secret is
Omit<SecretImpl, 'put'>).

Validation: npm run build; npm run update:api (2 warnings left, both
above).
The KVStore README and DESIGN.md said when an index holds an item, but
not which attributes an index query returns, and DESIGN.md called an
empty string the only indexed value DynamoDB rejects.

Every GSI the block creates uses ProjectionType ALL
(gsi-manager-lambda.ts), so an index query returns whole items; a
fromExisting table keeps its own indexes. DynamoDB rejects a write whose
index key attribute has another type than the index declares, NULL
included, with a ValidationException (DynamoDB Developer Guide, "Using
Global Secondary Indexes"). buildItem (item.ts) checks only for an empty
string, and remapItemTooLarge re-maps only the size error, so on AWS
such a put fails as an unnamed 500, while the mock stores the item (and
returns it from an index query with no sort condition when the null is
in the sort field). The README says to omit the field instead,
and the DESIGN parity table lists the difference.

Validation: mock behaviour checked with a throwaway script against the
built package (null accepted; a null partition field is never
queryable, a null sort field is returned without a sort condition; an
item missing the index sort key is absent); packages/blocks doc tests pass.
@xyos
xyos force-pushed the docs/findability-and-drift branch from 41cbc86 to e864ce6 Compare November 17, 2026 20:47
@xyos
xyos enabled auto-merge (squash) November 17, 2026 21:42
The re-export lines widened in this PR (core's ApiNamespace exports and
bb-data's crud/types exports) lost their trailing semicolons. Restore them,
as the repository's Biome style requires.
@xyos
xyos disabled auto-merge November 17, 2026 22:06
@xyos
xyos merged commit d01c34c into aws:main Nov 17, 2026
40 of 41 checks passed
xyos added a commit that referenced this pull request Nov 17, 2026
…RawRoute params locally

Main now documents atomic conditional writes and the dev server's 502 (#1498), so this keeps what it
still lacks:

- KVStore: a failed condition is status 409 in the JSON-RPC error (HTTP 409 only with httpErrorStatus:
  true); the mock reads store.json only when it constructs the store, so two processes can overwrite.
- AppSetting: the mock's data lives in .bb-data/settings.json.
- core: RawRoute params are the same locally and deployed.
xyos added a commit that referenced this pull request Nov 18, 2026
…RawRoute params locally

Main now documents atomic conditional writes and the dev server's 502 (#1498), so this keeps what it
still lacks:

- KVStore: a failed condition is status 409 in the JSON-RPC error (HTTP 409 only with httpErrorStatus:
  true); the mock reads store.json only when it constructs the store, so two processes can overwrite.
- AppSetting: the mock's data lives in .bb-data/settings.json.
- core: RawRoute params are the same locally and deployed.
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