Repository navigation
Remove urlcode import/export, benchmark and verify --online (#1041) - #1048
Merged
Merged
Conversation
…1041) Owner decision on #1041 items 5, 7 and 8, to cut owned code: - urlcode import/export (Netlify, Cloudflare, Vercel and row interchange), its MCP tools preview_import/preview_export and the SDK exports. bulk-import keeps the CSV/JSON/YAML row parser and validation, now in bulk.ts. - urlcode benchmark and its --max-p95-ms gate. Load testing now points to a general load tester such as autocannon against urlcode serve. The target parser verify-deployment uses is renamed deploymentTarget. - extensions|artifacts verify --online and the tarball reader. verify stays offline against addon-files.lock.json's per-file hashes. Co-Authored-By: Claude Opus 5.5 <[email protected]>
jimhoyd
enabled auto-merge (squash)
September 30, 2026 13:42
jimhoyd
added a commit
that referenced
this pull request
Sep 30, 2026
…ter recent merges (#1076) - FRAMEWORK.md, STORE.md: urlcode benchmark was removed (#1048); test runs are urlcode test and audit. - STORE.md: quote the server-lock refusal as core now words it (#1069). - TYPESCRIPT.md: list beginImmediateWithin on @jimhoyd/urlcode/sqlite (#1074). - store CHANGELOG (unreleased): several servers need a database server the bundled store does not use, not one URLCode does not provide (#1052). - llms-full.txt regenerated. Co-authored-by: Claude Opus 5.5 <[email protected]>
jimhoyd
added a commit
that referenced
this pull request
Sep 30, 2026
- Delete packages/ui/src/*.generated.ts: orphaned since the ui extension was deleted (#895) and accidentally re-added by #922; nothing imports it. - package-files.ts: drop the `limits` parameters of hashPackageFiles and compareFiles (only the tarball reader removed in #1048 shared them) and unexport packageFileLimits, hashPackageFiles and compareFiles. - Unexport 29 values used only inside their own non-public module. - Fix stale comments naming the removed benchmark command and core's removed tarball reader. Co-authored-by: Claude Opus 5.5 <[email protected]>
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.
Part of #1041 (items 5, 7 and 8). The owner is the only user, so there are no aliases, deprecation period or back-compat.
What was removed
1.
urlcode import/urlcode export(provider interchange)Deleted
packages/core/src/interchange.ts,interchange-cli.ts,docs/INTERCHANGE.md,test/interchange.test.tsandtest/interchange-cli.test.ts.Removed the CLI commands and the
--reportand--accept-provider-differencesoptions.Removed the MCP tools
preview_importandpreview_export. MCP read tools go from 32 to 30; the TOOLING prose and the counts inmcp.test.tsandmcp-authoring.test.tsare updated.Removed the SDK exports
importRoutes,exportRoutes,previewImportandpreviewExport, and theConversion*andInterchange*types.What stayed:
urlcode bulk-importused the row format, sobulk.tsnow holds its own copy of:readBulkInput, formerlyreadConversionInput)Provider formats, export, provider acknowledgement and the conversion counts are gone. The diagnostic type is now
BulkDiagnostic.The row-validation tests moved into
test/bulk.test.ts: CSV quoting, refused semantics, credential-free diagnostics, late-row provenance, the 32 MiB bound and unpaired surrogates.docs/BULK.mdnow documents the row formats itself.2.
urlcode benchmarkand its--max-p95-msgatereadiness.ts:benchmarkProjectand its report types.--requests,--concurrency,--seconds,--max-p95-msand--warmupoptions, and its entries in the host-file, policy, hermetic and alias-origin command lists.verify-deploymentstill needs the origin parser, sobenchmarkTarget/BenchmarkTargetare renameddeploymentTarget/DeploymentTarget. Its test moved totest/verify-deployment.test.ts.test/load.test.tsand the benchmark cases inreadiness.test.ts.docs/LOAD-TESTING.mdnow says to run a general load tester, such as autocannon, againsturlcode serveor the deployment.benchmark:projectnpm script (removed)test,audit, MCPrun_tests3.
extensions|artifacts verify --onlineand the tarball readerreadTarball,fetchTarball,verifyPackageOnline,onlineProblem, the tarball limits and the--onlineflag.VerifyReportlosesonline.addon-files.lock.jsonis unchanged. The "modified" message no longer suggests--online.addon-files.test.ts, the--onlineruns inaddons.integration.tsand the fake npm'sFAKE_NPM_TARBALL_BASEsetting.Unchanged and regenerated files
docs/FRAMEWORK.mdis untouched.YAML-REFERENCE.mdneeded no change.llms-full.txtand the plugin skill copy were regenerated.Lines removed and added per feature
From
git diff --numstat, grouped by file. Files that touch more than one feature are counted as "shared" and not split.cli.ts,cli-command-metadata.ts,package-smoke.ts/ README, SECURITY, EXTENSIONS, AI-AUTHORINGllms-full.txtOwned source (
packages/core/srcplusscripts/): about −530 lines net.Package budget
Core now packs to 1,077,360 bytes (4,238,219 unpacked, 544 entries, Node 26). That is still under the existing limits of 1066 KiB, 4181 KiB and 555 entries. The drop, about 10 KB, is smaller than the policy margin, so the table was not reset. No add-on changed.
Evidence
npm run verifypasses: 1307 core tests plus the workspace suites.npm run test:packagepasses.npm run test:addonspasses (9/9); it was run becauseaddons.integration.tschanged.docs:reference,docs:llms,docs:plugin,docs:agentsanddocs:extensionswere regenerated.check:docspasses, including agent-facts.CI passing is not an independent review. The autocannon commands in LOAD-TESTING.md were not run for this PR.
🤖 Generated with Claude Code