Skip to content

Sync kv fastdata error response#33

Merged
mikedotexe merged 3 commits into
mainfrom
sync-kv-fastdata-error-response
Jul 21, 2026
Merged

Sync kv fastdata error response#33
mikedotexe merged 3 commits into
mainfrom
sync-kv-fastdata-error-response

Conversation

@mikedotexe

Copy link
Copy Markdown
Collaborator

No description provided.

mikedotexe and others added 3 commits July 20, 2026 17:08
Vendored from mike-docs branch sync-kv-fastdata-error-response. Picks up
the kv-fastdata ApiError -> ErrorResponse rename and catches builder-docs
up on the EXPERIMENTAL_receipt_to_tx page model (added in mike-docs #8).
The receipt_to_tx MDX page + sidebar entry remain a separate follow-up.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NZZ9z9mCWCqXdkpupo5MnM
Render the EXPERIMENTAL_receipt_to_tx page model (vendored in the prior
commit on this branch) via a thin FastnearDirectOperation MDX page, and
list it under the Transaction category in the sidebar. Closes the
description-drift gap where the page model had no corresponding MDX.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NZZ9z9mCWCqXdkpupo5MnM
…t + ru twin + generated pages)

PR #33 added the 7th transaction RPC operation (EXPERIMENTAL_receipt_to_tx) and
vendored its page model, but omitted the supporting changes, so CI failed at
`generate:page-model-chunks` during `yarn build` (which fails both locale-quality
and Cloudflare Pages):

    Error: Unexpected page model count for rpcs/transaction: expected 6, got 7

Fixes:
- scripts/audit-generated-page-models.js: bump EXPECTED_FAMILY_COUNTS
  rpcs/transaction 6 -> 7 to match the new operation.
- i18n/ru/.../rpc/transaction/experimental-receipt-to-tx.mdx: add the Russian
  twin so EN<->ru page parity holds (indexing-surface audit now passes at 79/79
  docs+hosted operation pages, up from 78/78). Follows the RU glossary
  (квитанция/транзакция; хеш; method name kept Latin).
- Add the generated hosted page (src/pages/rpcs/...) and ru static exports for
  the new operation, matching how the 6 sibling transaction operations are
  represented in the repo.

Validated: yarn ci:locale-quality green end-to-end (en+ru build + RU terminology
+ i18n + indexing-surface audits all pass).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01H8DjaLbA7Ed63XuSAENrJ7
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 21, 2026

Copy link
Copy Markdown

Deploying builder-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: f97ddfb
Status: ✅  Deploy successful!
Preview URL: https://30e56a0c.builder-docs.pages.dev
Branch Preview URL: https://sync-kv-fastdata-error-respo.builder-docs.pages.dev

View logs

@mikedotexe
mikedotexe merged commit fe452e4 into main Jul 21, 2026
2 checks passed
@mikedotexe
mikedotexe deleted the sync-kv-fastdata-error-response branch July 21, 2026 13:57
mikedotexe added a commit that referenced this pull request Jul 21, 2026
…an older build)

No content change. Four PRs merged within ~3 minutes (#32, #33, #30, #31) and their
Cloudflare Pages deployments finished out of order:

  #33 fe452e4  14:01:28
  #31 f914d2f  14:02:13   <- newest commit (contains the RPC endpoint-URL fix)
  #30 99a2520  14:02:56   <- finished LAST

CF Pages points the production alias at the last deployment to *finish*, not the
newest commit, so docs.fastnear.com got pinned to #30's build (main.6e03125c.js),
which predates the RPC fix. Result: the live docs still rendered a fabricated
`https://rpc.mainnet.fastnear.com/account/view_account` instead of the real base
endpoint.

This empty commit forces a fresh production deployment of current main, which
already contains the fix.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01H8DjaLbA7Ed63XuSAENrJ7
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