Repository navigation
test(gateway): measure readiness with mixed startup plugins - #178249
Merged
steipete merged 1 commit intoOct 20, 2026
Merged
Conversation
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review in progressClawSweeper is reviewing this revision. This supersedes any previous blocked status. |
steipete
marked this pull request as ready for review
October 20, 2026 08:03
Contributor
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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-fixtureconfig fragment toteamBoot. 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.listprobe 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.