Skip to content

test(gateway): measure readiness with mixed startup plugins - #178249

Merged
steipete merged 1 commit into
mainfrom
steipete/perf-micro-boot-production-critical-path-20260919
Oct 20, 2026
Merged

steipete merged 1 commit into
mainfrom
steipete/perf-micro-boot-production-critical-path-20260919

Conversation

@steipete

Copy link
Copy Markdown
Contributor

What Problem This Solves

The populated startup benchmark previously modeled all 44 plugins as synthetic external packages. That overrepresented source preparation and could miss startup work from real bundled plugins. Its anonymous session probe also cannot exercise deployments with Gateway access-policy plugins.

User Impact

No production behavior changes. Developers can measure startup with a representative bundled/external plugin mix and verify authenticated access to seeded sessions.

Why This Change Was Made

This adds an optional --bundled-plugin-fixture config fragment to teamBoot. Bundled IDs replace the corresponding number of synthetic packages; ordinary model, tool, and channel settings activate their real startup capabilities. The benchmark keeps its own state, agent workspaces, loopback endpoint, and synthetic token. It now rejects an incomplete loaded plugin inventory as well as missing seeded-session access or an unclean shutdown.

The extra code is benchmark-only configuration and evidence validation; it is required to measure a representative plugin mix without copying deployment config or silently dropping plugins. The default all-synthetic workload remains available. All fixture credentials and state were synthetic.

Evidence

The real built Gateway was exercised with 39 bundled plugins and five synthetic external packages, eight agents, 4,096 sessions, and 128 MiB of synthetic shared-state payload. All 44 plugins loaded, the authenticated sessions.list probe found the expected session, and shutdown completed cleanly. Separate diagnostic runs reached readiness / first session RPC in 19.22 / 19.31 seconds and 9.40 / 9.50 seconds under varying host load; these are fixture-validation observations, not an A/B performance claim. No production Gateway code changes in this PR.

Validation: 44 focused benchmark tests pass. Changed-file formatting and lint pass, as does the core typecheck using the repository’s native checker. Independent Codex review found no actionable P0–P2 issues. No Testbox lease was allocated; focused checks run locally and PR CI supplies broad validation. Benchmark builds and real Gateway runs used an isolated Linux sandbox with external networking denied.

@clawsweeper

clawsweeper Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review in progress

ClawSweeper is reviewing this revision. This supersedes any previous blocked status.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts size: M labels Oct 20, 2026
@steipete
steipete marked this pull request as ready for review October 20, 2026 08:03
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-20T08:09:34.074720Z b9d8235 Draft marked ready
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@clawsweeper clawsweeper Bot added the clawsweeper:intake:feature Preliminary submission classification; full source review pending. label Oct 20, 2026
@steipete
steipete merged commit 6088df9 into main Oct 20, 2026
170 checks passed
@steipete
steipete deleted the steipete/perf-micro-boot-production-critical-path-20260919 branch October 20, 2026 08:16
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

clawsweeper:intake:feature Preliminary submission classification; full source review pending. scripts Repository scripts size: M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant