Repository navigation
Remove unused workflow and gateway exports - #198
Merged
Merged
Conversation
parseWorkflowManifestDraft had no callers, the catalog completeness flag was only re-exported, and the AI Gateway error classifier is only used in its own file. Co-authored-by: Jonathan Beckman <jonathantbeckman@gmail.com>
jonbeckman
marked this pull request as ready for review
November 15, 2026 09:27
Contributor
TegamiThis repository uses Tegami to manage releases. When your changes affect published packages, add a changelog file under Create a changelog → · Changelog format No changelogs yetThis PR has no pending changelog files. If your changes require a release, add a changelog before merging. Run Managed by Tegami. |
Contributor
🟢 e2e solzero-core: 5 passed, 26 left out by filters1 agent step · 1 replayed from cache Change 4 files changed since 26 tests left out by filters
All 5 tests in 3 files
Tested by e2e 0.23.0 · 1m 26s · local-cloudflare · run artifacts |
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.
Summary
Three exports had no callers outside their defining file.
@solzero/sharedis a private workspace package.parseWorkflowManifestDraftand itsdecodeDrafthelper.WorkflowManifestDraftSchemastays. The workflow builder and isolate tools still decode drafts with that schema.WORKFLOW_NODE_CATALOG_COMPLETE. The constant stays inworkflow-nodes/definitions.ts, where it keeps the catalog exhaustiveness check.classifyCloudflareAiGatewayError.getCloudflareAiGatewayErrorHelpin the same file still calls it.No whole file was deleted.
This change has no user-visible effect. It uses the
release:nonelabel and does not add a Tegami entry.Proof there were no callers
Searches were run from the repo root before the deletions, skipping
node_modules.parseWorkflowManifestDraftmatched only its definition and the barrel re-export:decodeDraftmatched only that helper and the removed function.WORKFLOW_NODE_CATALOG_COMPLETEmatched the definition plus two re-exports:classifyCloudflareAiGatewayErrormatched only its definition and the call ingetCloudflareAiGatewayErrorHelp, both inpackages/shared/src/cloudflare-ai-gateway-errors.ts.After the change, the first two names have no matches. The classifier remains a private function in that file. The catalog constant remains in
definitions.ts.Validation
nub run typechecknub run lintnub run formatnub run config:checkwas run on the stage-metadata branch, which contains the same config files. This pull request does not change config.nub run testwas not run. No route, screen, or persisted behavior changed.Checklist
.tegami/release entry, or explained why this pull request usesrelease:none.nub run config:check,nub run typecheck,nub run lint,nub run format, andnub run test.THIRD_PARTY_NOTICES.mdfor new third-party code or separately licensed assets.