Skip to content

📚 Voting load guides and synchronized code examples (main) - #3163

Merged
Findeton merged 3 commits into
mainfrom
feat/meta-12767/main-docs
Sep 8, 2026
Merged

📚 Voting load guides and synchronized code examples (main)#3163
Findeton merged 3 commits into
mainfrom
feat/meta-12767/main-docs

Conversation

@edulix

@edulix edulix commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Parent issue: https://github.com/sequentech/meta/issues/12767

One complete k6/Chromium guide covers setup, workload sizing, local/Docker/Kubernetes workers, reports and troubleshooting. Includes synchronized engine examples, CLI reference, a real report screenshot and a separate telephone guide.

Validation: Docusaurus build, Markdown-transform tests and Chromium checks for synchronized tabs, persistence, keyboard navigation, mobile layout and report images.

Stack

  1. 📚 Voting load guides and synchronized code examples (main) #3163 — documentation and code tabs
  2. ✨ Private S3 ballot publications and scoped cast validation (main) #3164 — publications and cast backend
  3. ✨ Load voting content from S3 with minimal voter status (main) #3165 — voting portal and browser adapters
  4. ✨ Native Rust voting load preparation, workers and reports (main) #3149 — native Rust load tooling

Documentation

Copilot AI lite review requested due to automatic review settings September 8, 2026 09:22
@coderabbitai

coderabbitai Bot commented Sep 8, 2026

Copy link
Copy Markdown

Warning

Review limit reached

Next included review available in 25 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

This review ran on the open-source allowance, not this organization's plan, because the pull request author doesn't have an assigned seat. Waiting won't change this — ask an organization admin to assign them a seat, or add seats in Billing if every seat is already assigned, then retry.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: dc8291d1-030d-4302-acf0-da464e45a766

📥 Commits

Reviewing files that changed from the base of the PR and between fa7f7f6 and fe395d4.

⛔ Files ignored due to path filters (2)
  • docs/docusaurus/docs/07-developers/02-cli/02-tutorials/load-testing/assets/duplicate_votes_usage.mp4 is excluded by !**/*.mp4
  • docs/docusaurus/static/img/voting-load-report.png is excluded by !**/*.png
📒 Files selected for processing (18)
  • .coderabbit.yaml
  • docs/docusaurus/README.md
  • docs/docusaurus/docs/07-developers/02-cli/01-cli_cli.md
  • docs/docusaurus/docs/07-developers/02-cli/02-tutorials/_category_.yml
  • docs/docusaurus/docs/07-developers/02-cli/02-tutorials/load-testing/_category_.yml
  • docs/docusaurus/docs/07-developers/02-cli/02-tutorials/load-testing/load_testing.md
  • docs/docusaurus/docs/07-developers/02-cli/voting-load-reference.md
  • docs/docusaurus/docs/07-developers/05-voting-portal/voter-status-performance.md
  • docs/docusaurus/docs/07-developers/10-tutorials/02-load-testing/_category_.yml
  • docs/docusaurus/docs/07-developers/10-tutorials/02-load-testing/load_testing.md
  • docs/docusaurus/docs/07-developers/12-ivr/telephone-load-testing-guide.md
  • docs/docusaurus/docusaurus.config.js
  • docs/docusaurus/package.json
  • docs/docusaurus/plugins/remark-code-tabs.js
  • docs/docusaurus/plugins/remark-code-tabs.test.js
  • docs/docusaurus/src/css/custom.css
  • docs/docusaurus/src/theme/MDXComponents/index.js
  • docs/docusaurus/static/img/voting-load-report.png.license

Comment @coderabbitai help to get the list of available commands.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The new remark plugin currently produces an unstable/OS-dependent groupId and uses meta: null, both of which can cause cross-environment or downstream MDX processing issues.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

This PR revamps and expands the developer documentation for voting load testing by introducing a new end-to-end guide (k6 + Chromium), a separate telephone/IVR load-testing guide, and a Docusaurus/MDX enhancement to keep adjacent code examples synchronized via accessible tabs.

Changes:

  • Adds a custom remark-code-tabs plugin (with tests) to convert adjacent fenced blocks annotated with group/tab into synchronized Docusaurus Tabs/TabItem.
  • Introduces new voting-load and CLI reference documentation, plus a dedicated telephone load-testing guide; removes older “Load Testing” tutorial pages/categories.
  • Wires the plugin into the docs build (Docusaurus config + prebuild test hook) and adds minimal styling for the tab UI.
File summaries
File Description
docs/docusaurus/static/img/voting-load-report.png.license Adds SPDX license metadata for the report screenshot asset.
docs/docusaurus/src/theme/MDXComponents/index.js Exposes CodeTabs/CodeTab MDX components backed by Docusaurus Tabs/TabItem.
docs/docusaurus/src/css/custom.css Adds styling for the synchronized code tabs container/items.
docs/docusaurus/README.md Documents the group/tab fence metadata convention for synchronized examples.
docs/docusaurus/plugins/remark-code-tabs.test.js Adds unit tests for the remark transform behavior and error cases.
docs/docusaurus/plugins/remark-code-tabs.js Implements the remark transform that generates CodeTabs/CodeTab MDX elements.
docs/docusaurus/package.json Adds prebuild script to run plugin tests before building the site.
docs/docusaurus/docusaurus.config.js Registers the new remark plugin for the docs pipeline.
docs/docusaurus/docs/07-developers/12-ivr/telephone-load-testing-guide.md Adds a full telephone/IVR load-testing guide.
docs/docusaurus/docs/07-developers/10-tutorials/02-load-testing/load_testing.md Removes the old load-testing tutorial page.
docs/docusaurus/docs/07-developers/10-tutorials/02-load-testing/category.yml Removes the old load-testing category metadata.
docs/docusaurus/docs/07-developers/05-voting-portal/voter-status-performance.md Adds the new “Voting load tests” guide (k6/Chromium) including report screenshot.
docs/docusaurus/docs/07-developers/02-cli/voting-load-reference.md Adds generated CLI reference for step-cli load.
docs/docusaurus/docs/07-developers/02-cli/02-tutorials/load-testing/load_testing.md Removes a duplicate/older load-testing tutorial page under CLI tutorials.
docs/docusaurus/docs/07-developers/02-cli/02-tutorials/load-testing/category.yml Removes the related CLI-tutorials category metadata.
docs/docusaurus/docs/07-developers/02-cli/02-tutorials/category.yml Removes the higher-level “Tutorials” category metadata for that subtree.
docs/docusaurus/docs/07-developers/02-cli/01-cli_cli.md Replaces placeholder CLI page with build/authentication/setup guidance and links into new docs.
.coderabbit.yaml Adds/updates CodeRabbit auto-review configuration for selected base branches.
Review details
  • Files reviewed: 18/20 changed files
  • Comments generated: 2
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +27 to +30
const document = path.relative(
path.resolve(__dirname, ".."),
file.path || "document",
);
Comment on lines +69 to +71
element("CodeTab", { value: info.tab, label: info.tab }, [
{ ...code, meta: info.rest || null },
]),
@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-09-08 20:36 UTC

@Findeton
Findeton merged commit 7f281f9 into main Sep 8, 2026
87 of 92 checks passed
@Findeton
Findeton deleted the feat/meta-12767/main-docs branch September 8, 2026 20:32
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.

3 participants