GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — mcpx: generator registry core — gen.All, manifest, budget, first generators (#1958) by dezren39 · Pull Request #2661 · developing-today/code

Conversation

@dezren39

@dezren39 dezren39 commented Oct 30, 2026 •
edited by blacksmith-sh Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Implements the #1958 registry core — queue task 3256, on the generator core merged in #2636 (task 3251). This PR does not close #1958: the four remaining first shapes stay on it as named follow-on work.

What

  • gen.All registry (internal/testsupport/gen/registry.go): {Name, Version, Origin, Draw} entries, substream key name@version; Lookup. A guard test pins the typed generators to the registered set, so an unregistered generator cannot exist silently.
  • Manifest hash: sha256 over the sorted name@version entries — the manifest for stored seed records (Update module golang.org/x/crypto to v0.52.0 [SECURITY] #122). Tested: changes iff a name or version changes; entry order does not matter.
  • Budget knob: MCPX_TEST_FUZZ=off|quick|ci|soak parses loudly (invalid value is an error, never a silent default); budgets are counts, not time — pure 1/200/2,000/20,000, e2e 1/2/10/100 (starting counts per mcpx testing: bug-shape generators -- registry, versioning, budget, first shapes #1958; Bump golang.org/x/crypto from 0.16.0 to 0.17.0 in /sources/launcher #95 owns the finals).
  • First generators, each registered with its Origin and a property test drawing at the budget count from the run-seed stream:
    • config.layers (Bump build/buck/preludes/buck2-prelude from 3a02ea3 to 370cd4d #5, fix(deps): update rust crate leptos_router to v0.8.17 #78): random stacks of .mcpx.json layers through LoadFrom — nearest wins per server; adding an unrelated far layer never changes a near value; StripJSONC of comment-free JSON is identity.
    • launcher.template (Bump build/buck/preludes/buck2-prelude from 3a02ea3 to c77fc97 #7): random templates through Expand/Used — filling every Used placeholder never errors, no placeholder survives, literals are preserved byte-for-byte (the draw respects the real grammar: a literal after a placeholder never starts with a name character or (, which would read as an argument list).
  • Golden-output guard over all of gen.All: each generator's canonical draw at a fixed seed/size is sha256-pinned; a changed output must land as a new version, never a silent edit.

Verification

Laptop: go test ./internal/testsupport/gen/ passes (0.6s at the quick budget — 200 draws per property), internal/config and internal/launcher pass, go vet clean. No new go.mod dependencies. Full pkgs/mcpx suite runs in CI on this PR.

Refs #1958


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@dezren39
mcpx: generator registry core — gen.All, manifest, budget knob, first…
c718a95
… generators (#1958)

Implements queue task 3256 (registry core of #1958, on the gen core merged in #2636):

- gen.All registry in internal/testsupport/gen: {Name, Version, Origin, Draw} entries, substream key name@version; Lookup; a guard test pins the typed generators to the registered set so an unregistered generator cannot exist silently.

- ManifestHash: sha256 over sorted name@version entries (the manifest for stored seed records, #122); changes iff a name or version changes, order-independent.

- MCPX_TEST_FUZZ=off|quick|ci|soak budget knob: ParseBudget fails loudly on invalid values; budgets are counts (pure 1/200/2000/20000, e2e 1/2/10/100), never time.

- First generators, each with a property test drawing at the budget count from the run-seed stream: config.layers (nearest wins per server, unrelated far layer changes nothing near, StripJSONC identity on comment-free JSON — origins #5/#78) and launcher.template (filling every Used placeholder never errors, none survives, literals preserved byte-for-byte — origin #7). A golden-output guard pins every registered generator's canonical draw at a fixed seed.

- The four remaining first shapes (exec.flagset, codegen.jsonschema, api.v1request, settings.precedence) stay named follow-on work on #1958 — not implemented, not dropped.

Laptop: go test ./internal/testsupport/gen/ pass (0.6s at quick), internal/config and internal/launcher pass, go vet clean. Full pkgs/mcpx suite via CI on the PR. No new go.mod dependencies.
@dezren39
dezren39 requested a review from a team as a code owner October 30, 2026 09:23
@coderabbitai

coderabbitai Bot commented Oct 30, 2026

Copy link
Copy Markdown

Important

Review skipped

Review was skipped due to path filters

⛔ Files ignored due to path filters: 3
  • pkgs/mcpx/internal/testsupport/gen/generators.go is excluded by !**/gen/**
  • pkgs/mcpx/internal/testsupport/gen/registry.go is excluded by !**/gen/**
  • pkgs/mcpx/internal/testsupport/gen/registry_test.go is excluded by !**/gen/**

CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including **/dist/** will override the default block on the dist directory, by removing the pattern from both the lists.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: cbfe0988-7486-461c-9e01-2f7e45edbd98

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
  • X
  • Mastodon
  • Reddit
  • LinkedIn

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 30, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

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-30T09:26:24.193312Z c718a95 PR opened
ℹ️ 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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dezren39 dezren39 mentioned this pull request Oct 30, 2026
mcpx testing: bug-shape generators -- registry, versioning, budget, first shapes #1958
Closed
chatgpt-codex-connector[bot]
chatgpt-codex-connector Bot reviewed Oct 30, 2026
View reviewed changes

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c718a9523e

ℹ️ 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".

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread pkgs/mcpx/internal/testsupport/gen/registry_test.go
// (farthest outermost) under an isolated HOME and loads it.
func loadStack(t *testing.T, stack gen.ConfigLayers) map[string]string {
t.Helper()
root := t.TempDir()

@chatgpt-codex-connector chatgpt-codex-connector Bot Oct 30, 2026

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

P2 Badge Isolate the generated config chain from ambient files

When TMPDIR is under the real home directory, or /etc/mcpx/config.json defines an additional server, this property test can fail despite correct merging. config.SearchPathFrom walks every ancestor of the generated directory and includes the system config; changing HOME and XDG_CONFIG_HOME does not exclude those files. Any ambient server outside the generated alphabet then breaks assertWinners' exact server-count assertion. Bound the fixture's discovery chain to its generated files, for example with a terminating paths.config declaration, rather than relying only on environment overrides.

Useful? React with 👍 / 👎.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@dezren39 dezren39 Oct 30, 2026

Copy link
Copy Markdown
Member Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Codex P2 disposition (queue task 3256, post-merge): valid, tracked as follow-up.

Verified against the code: SearchPathFrom (internal/config/config.go) walks every ancestor of the fixture dir to /, and /etc/mcpx/config.json is always appended — so on a machine with a system config, or a home-nested TMPDIR with ambient configs in the walked path, extra servers leak into the merge and break assertWinners exact-count check. Hermetic on this laptop and standard CI runners (no /etc config, TMPDIR under /tmp), which is why the suite is green here.

Fix (not applied — this lane is filesystem read-only): bound the fixture chain in loadStack by injecting a terminating paths.config (no null entry) into the nearest generated layer, naming the generated layer files nearest-first per the two-pass rules in internal/config/chain.go. Flagged for the #1958 follow-on work.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@dezren39 dezren39 mentioned this pull request Oct 30, 2026
ci: Actions check runs stuck in queued across PRs — no runner pickup since ~05:00Z 2026-10-28 #1599
Closed
@dezren39
dezren39 merged commit bdbcfd5 into main Oct 30, 2026
1 check passed

Uh oh!

There was an error while loading. Please reload this page.

@dezren39
dezren39 deleted the queue/3256-1958-registry-core branch October 30, 2026 09:51
@dezren39 dezren39 mentioned this pull request Nov 1, 2026
opencode-route-proxy: 'no endpoint configured' for both GPT providers (openai, openai.alternate) since today's config edits — GPT leaves unreachable through the proxy #3256
Closed
4 tasks
This was referenced Nov 8, 2026
ci: run nix ci and id checks on merge groups #7139
Closed
Hi, Jules here! I have completed the fix to make the test for the batch collection total cap deterministic: #7140
Closed
style(id): fix clippy warnings #7141
Closed
fix(ci): disable FlakeHub in magic-nix-cache-action #7142
Closed
This was referenced Nov 21, 2026
Closure audit: every closed issue/PR verified; unmerged branches + unpushed worktrees inventoried #7079
Open
Audit programme: seven-lane review of PRs, issues and designs (2026-11-23) #13871
Open
Stray work audit: PRs and issues not tied to a design or roadmap item #13874
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@chatgpt-codex-connector chatgpt-codex-connector[bot] chatgpt-codex-connector[bot] left review comments

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

mcpx testing: bug-shape generators -- registry, versioning, budget, first shapes

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@dezren39
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.