Skip to content

docs(pricing): add cu:auto markers to Compute Unit Costs tables#1424

Draft
SahilAujla wants to merge 1 commit into
mainfrom
dx-3112-cu-costs-markers
Draft

docs(pricing): add cu:auto markers to Compute Unit Costs tables#1424
SahilAujla wants to merge 1 commit into
mainfrom
dx-3112-cu-costs-markers

Conversation

@SahilAujla

@SahilAujla SahilAujla commented Jul 4, 2026

Copy link
Copy Markdown
Collaborator

Description

One-time setup for automating the Compute Unit Costs pricing page from Daikon topconfig (DX-3112). Dynamic CU pricing means customers are billed updated prices immediately after a chain-config update, so this hand-maintained page needs to regenerate automatically.

This PR wraps each generated CU table in {/* cu:auto product="<tag>" */}{/* cu:auto end */} markers — MDX comments that do not render. The new UpdateComputeUnitCostsFromDaikonWorkflow in the dashboard repo (companion PR: OMGWINNING/dashboard#8087) rewrites only the table rows between markers on a daily cron; all prose, headers, and footnotes outside markers stay hand-written and are never touched. The product tag is the stable key the automation matches on — not the header text — so renaming a header or moving a whole block (markers included) is safe.

Summary

  • Wrap all 33 per-method CU tables in cu:auto markers (marker insertion only — zero changes to table content in this PR)
  • Bandwidth-priced and rules sections intentionally have NO markers and stay fully manual: Solana Yellowstone gRPC, Solana WebSocket Subscriptions, Webhooks and Subscription APIs, and the error-codes table
  • Conditional-pricing footnotes (e.g. sponsored eth_sendUserOperation, alchemy_requestFeePayer with prefundRent) live outside markers and persist across regenerations

Test Plan

  • prettier --check passes on the page
  • Simulated the workflow's full regeneration against this marked-up page + real topconfig: markers parse, regeneration is idempotent, output is prettier-clean
  • Markers are MDX comments — verified they do not render

LINEAR TASK: https://linear.app/alchemyapi/issue/DX-3112/automate-the-compute-unit-costs-pricing-page-from-daikon-topconfig

Wraps each generated CU table in {/* cu:auto product="<tag>" */} ...
{/* cu:auto end */} markers so the new
UpdateComputeUnitCostsFromDaikonWorkflow (dashboard repo, DX-3112) can
regenerate table rows from Daikon topconfig daily while leaving all
hand-written prose, headers, and footnotes untouched. Markers are MDX
comments and do not render.

Bandwidth-priced and rules sections (Yellowstone gRPC, WebSocket
Subscriptions, Webhooks, error codes) intentionally have no markers and
stay fully manual.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Jul 4, 2026

Copy link
Copy Markdown

🔗 Preview Mode

Name Status Preview Updated (UTC)
Alchemy Docs ✅ Ready 🔗 Visit Preview Jul 4, 2026, 3:31 AM

@SahilAujla

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Already looking forward to the next diff.

Reviewed commit: 2adc4ba58d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

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