Skip to content

refactor: remove x-forge-globals and globalCliArgs - #250

Draft
dimitropoulos wants to merge 2 commits into
mainfrom
remove-x-forge-globals
Draft

dimitropoulos wants to merge 2 commits into
mainfrom
remove-x-forge-globals

Conversation

@dimitropoulos

@dimitropoulos dimitropoulos commented Oct 9, 2026 •

Copy link
Copy Markdown
Collaborator

Matches cloudflare/forge#25, which removes the x-forge-globals extension and Schema.command.globalCliArgs.

  • Re-vendors @cloudflare/forge from that branch. The only difference from the current tarball is the removal, and pnpm-lock.yaml gets the new integrity hash. @cloudflare/forge-transformer-sdk-ts doesn't change.
  • Drops the globalCliArgs: [] fields cf set on command roots and test fixtures.
  • Drops the x-forge-globals row from the extension table in AGENTS.md.

check:type, check:lint, and check:format pass. In packages/cli tests, 1506 pass. The 4 local-e2e.test.ts failures are timeouts that also happen on main locally.

Merge after cloudflare/forge#25.

Copilot AI balanced review requested due to automatic review settings October 9, 2026 19:59
@dimitropoulos
dimitropoulos requested a review from a team as a code owner October 9, 2026 19:59
@ask-bonk

ask-bonk Bot commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

LGTM

github run

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

The documentation-only change accurately reflects cloudflare/forge#25.

0 open findings

What changed in this PR

Removes obsolete x-forge-globals documentation following its removal from Forge.

Changes:

  • Deletes x-forge-globals from the supported extension table.
File Description
AGENTS.md Removes the obsolete extension entry.

🧠 Review effort: Balanced


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

@pkg-pr-new

pkg-pr-new Bot commented Oct 9, 2026 •

Copy link
Copy Markdown
npm i https://pkg.pr.new/cf@250

commit: 98d5757

Forge no longer has Schema.command.globalCliArgs. Re-vendor
@cloudflare/forge with that change and stop setting the field.
@dimitropoulos dimitropoulos changed the title docs: drop x-forge-globals from the Forge extension table refactor: remove x-forge-globals and globalCliArgs Oct 10, 2026
@ask-bonk

ask-bonk Bot commented Oct 10, 2026

Copy link
Copy Markdown
Contributor

LGTM

github run

@github-actions

Copy link
Copy Markdown
Contributor

cf --help startup

mean stddev min max
PR 155.2 ms 3.4 ms 150.3 ms 165.6 ms
base 151.3 ms 4.1 ms 146.1 ms 163.2 ms

Δ (PR vs base): ↑ +4.0 ms (+2.6%)

Measured with hyperfine on ubuntu-latest (3 warmup runs, 20 timed runs). CI numbers carry ±a few ms of runner jitter; treat small deltas as noise.

@petebacondarwin

Copy link
Copy Markdown
Collaborator

Blocked on cloudflare/forge#25 being merged.

@petebacondarwin
petebacondarwin marked this pull request as draft October 10, 2026 14:26
@petebacondarwin
petebacondarwin removed the request for review from edmundhung October 10, 2026 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants