chore(cleanup): apply codebase-design deep-module pass across the monorepo - #8549
Conversation
… scheduled-tasks utils
- import subflow helpers from @sim/workflow-persistence/subflow-helpers - drop env-capabilities and service-account-metadata re-export shims - use isWorkflowBlockProtected in block-enablement - move anonymous user identity into @sim/auth/principal - reuse isLightTileColor from @sim/workflow-renderer/tile-icon-color - use @sim/utils sleep/getErrorMessage in sim-cli (bundled) - remove dead normalizeSandboxProvider export
…ep in data drains
… drop dead vanta input-size
…pace permission queries
…slack-search, skills, and selector helpers
Delete test-only Copilot/executor use cases (bulk table rows by filter, credential delete-many, credential-group invite send/link, sandbox and connected-accounts adapters) with their operation entries, the unused public API route wrapper, parseToolRequest, the invitation management error policy, the execution invitation rate limit, and dead table/chat route helpers.
…rkflow context resolver - Delete unreachable platform-context, workflow VFS, deployment-overview, chat undeploy, and Copilot block-output/upstream-reference use cases plus their workflowOperations entries - Delete dead fetch-deadline and scheduling utils and unused exported helpers - Add resolvePrincipalWorkflowContext and use it at the 16 identical resolvers - Share processCodeFailure between the Daytona and E2B adapters - Use escapeRegExp and generateId in place of inline equivalents
…mutation handlers, and param types chore(cleanup): drop unused billing client usage-pill and plan-view exports
…credential token helpers
…nd drop forwarders
…son_schema response format builder
…and search exports
…and add its license
… by deleted Copilot commands
… codec and subflow helpers
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
There was a problem hiding this comment.
No issues found across 482 files
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
Note: This PR contains a large number of files. cubic selects up to 200 of the highest-priority eligible files for this review, so some files may not have been reviewed.
Re-trigger cubic
|
@cubic-dev-ai review this PR |
@waleedlatif1 I have started the AI code review. It will take a few minutes to complete. |
|
@cubic-dev-ai review this PR |
@waleedlatif1 I have started the AI code review. It will take a few minutes to complete. |
There was a problem hiding this comment.
No issues found across 478 files
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
Note: This PR contains a large number of files. cubic selects up to 200 of the highest-priority eligible files for this review, so some files may not have been reviewed.
Re-trigger cubic
Summary
lib/platform-context, workflow VFS use cases, unreachable Copilot table/workflow handlers, credential-group invite use cases, table group/column/import use cases, workspace-file orchestration,scheduled-tasks/utils, ~150 unused exports and the mocks/tests that only covered themisInternalRequestadmission bypass in v2 routes — nothing in production marks requests internal, so every request already took the rate-limited pathresolvePrincipalWorkflowContextreplaces 16 copies of the workflow context resolvergetCredentialAccessTokenreplaces 13 copies of the credential→token lookup in webhook subscriptions;toRecordreplaces 26providerConfigcastsbuildJsonSchemaResponseFormatreplaces the response_format literal in 11 providersescapeLikePattern(@sim/utils/string) replaces 6 LIKE-escape copies; file sniffer reuses zip-guard EOCD parsing@sim/workflow-persistencesubflow helpers,@sim/auth/principalanonymous user, and@sim/workflow-renderertile color instead of local copies@sim/utilshelpers replace ~40 inlinetoRecord/isRecordLike/sleep/toErrorcopiesproviderConfignow reads as{}table-updatebackground task now has no producer; kept one release so in-flight runs drainType of Change
Testing
bunx turbo run type-check(26/26),bun run lint,bun run check:audits(54/54), block-registry check,docs-manifest:checkChecklist
test-auditauthoring gate)🤖 Generated with Claude Code