Skip to content

chore: remove tests and CI/CD configuration - #53

Merged
caorushizi merged 3 commits into
masterfrom
codex/dashboard-infisical-cleanup
Oct 3, 2026
Merged

caorushizi merged 3 commits into
masterfrom
codex/dashboard-infisical-cleanup

Conversation

@caorushizi

Copy link
Copy Markdown
Contributor

No description provided.

Automatically reuse or create shared-credentials after login and restore bindings per account.

Simplify project and credentials pages, improve workspace project rebinding, and remove unused service and template APIs. Update Chinese and English copy and documentation.
Copilot AI balanced review requested due to automatic review settings October 3, 2026 22:27
@vercel

vercel Bot commented Oct 3, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
one-cli-docs Ready Ready Preview Oct 3, 2026 10:28pm UTC

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🟡 Changes recommended

The unresolved critical binding-cache issue can update or delete secrets in the wrong project.

Review effort: Balanced
Findings: 1 High severity

Open (1)
What changed in this PR

Removes testing and CI/CD infrastructure across the CLI, kernel, Dashboard, and templates. Also simplifies Dashboard functionality and changes authentication and workspace registration.

Changes:

  • Remove tests, fixtures, test dependencies, Git hooks, and deployment configuration.
  • Remove Dashboard service controls and task projections.
  • Add automatic shared-credential preparation and earlier workspace registration.
  • Update templates and bilingual documentation.

Critical blocker — packages/cli/internal/transport/http/server.go:121: Shared-credential state remains cached when the global binding changes without a session/token change. During one serve, rebinding with one env bind --global --project-id OTHER --env dev leaves Dashboard confirmations targeting shared-credentials, while mutations update or delete secrets in OTHER. Refresh cached state when bindings change and reject mutations whose expected project differs from the saved target.

File Description
vercel.json Remove root deployment configuration.
pnpm-workspace.yaml Remove MSW build permission.
packages/​templates/​ts-library/​vitest.config.ts Remove Vitest configuration.
packages/​templates/​ts-library/​tsconfig.json Remove test types and configuration inclusion.
packages/​templates/​ts-library/​src/​index.test.ts Remove library tests.
packages/​templates/​ts-library/​README.md Remove testing instructions.
packages/​templates/​ts-library/​package.json Remove testing scripts and dependencies.
packages/​templates/​ts-library/​.gitignore Remove coverage exclusion.
packages/​templates/​registry.json Update library template metadata.
packages/​templates/​nextjs-site/​.gitignore Remove testing and deployment exclusions.
packages/​templates/​nextjs-app/​.gitignore Remove testing and deployment exclusions.
packages/​templates/​nestjs-api/​tsconfig.json Remove Jest types.
packages/​templates/​nestjs-api/​tsconfig.build.json Remove test exclusions.
packages/​templates/​nestjs-api/​test/​jest-e2e.json Remove end-to-end test configuration.
packages/​templates/​nestjs-api/​test/​app.e2e-spec.ts Remove API end-to-end tests.
packages/​templates/​nestjs-api/​src/​app.controller.spec.ts Remove controller tests.
packages/​templates/​nestjs-api/​README.md Update validation instructions.
packages/​templates/​nestjs-api/​package.json Remove Jest tooling and scripts.
packages/​templates/​nestjs-api/​.gitignore Remove coverage exclusion.
packages/​templates/​go-lib/​Taskfile.yml Remove testing tasks.
packages/​templates/​go-lib/​README.md Remove testing instructions.
packages/​templates/​go-lib/​pkg/​greeter/​greeter_test.go Remove greeter tests.
packages/​templates/​go-lib/​.gitignore Remove coverage exclusions.
packages/​templates/​go-api/​Taskfile.yml Remove testing task.
packages/​templates/​go-api/​README.md Update validation instructions.
packages/​templates/​go-api/​internal/​http/​router_test.go Remove route and CORS tests.
packages/​templates/​go-api/​.gitignore Remove coverage exclusion.
packages/​templates/​fumadocs-docs/​.gitignore Remove testing and deployment exclusions.
packages/​templates/​expo-mobile/​tsconfig.json Remove Jest types.
packages/​templates/​expo-mobile/​src/​hooks/​setup/​swr.test.ts Remove listener lifecycle tests.
packages/​templates/​expo-mobile/​README.md Update validation instructions.
packages/​templates/​expo-mobile/​package.json Remove Jest tooling and scripts.
packages/​templates/​expo-mobile/​jest.config.cjs Remove Jest configuration.
packages/​templates/​electron-app/​template.json Remove test-file rendering rule.
packages/​templates/​electron-app/​services/​one-template-electron-main/​tsconfig.json Remove test-source inclusion.
packages/​templates/​electron-app/​services/​one-template-electron-main/​package.json Remove Vitest tooling.
packages/​templates/​electron-app/​package.json Remove composite testing script.
packages/​templates/​electron-app/​.oxlintrc.json Remove coverage exclusion.
packages/​kernel/​Taskfile.yml Remove testing tasks.
packages/​kernel/​pkg/​kernel/​lifecycle_test.go Remove lifecycle tests.
packages/​kernel/​pkg/​kernel/​context_test.go Remove context tests.
packages/​kernel/​pkg/​kernel/​architecture_test.go Remove dependency-boundary tests.
packages/​cli/​tools/​verify-help/​main.go Update comments and recovery guidance.
packages/​cli/​tools/​verify-help/​main_test.go Remove help-verifier tests.
packages/​cli/​tools/​verify-cli-references/​main_test.go Remove reference-verifier tests.
packages/​cli/​tools/​repo-checks/​main_test.go Remove repository-check tests.
packages/​cli/​tests/​e2e/​snapshot_e2e_test.go Remove CLI snapshot tests.
packages/​cli/​tests/​e2e/​locale_terminal_unix_test.go Remove localized terminal tests.
packages/​cli/​tests/​e2e/​create_removed_flags_test.go Remove retired-flag tests.
packages/​cli/​tests/​e2e/​agents_locale_test.go Remove localized workspace-guidance tests.
packages/​cli/​testdata/​reference/​version.txt Remove version fixture.
packages/​cli/​testdata/​reference/​serve.json Remove server-output fixture.
packages/​cli/​testdata/​reference/​help/​whoami.txt Remove help snapshot.
packages/​cli/​testdata/​reference/​help/​upgrade.txt Remove help snapshot.
packages/​cli/​testdata/​reference/​help/​templates.txt Remove help snapshot.
packages/​cli/​testdata/​reference/​help/​templates_list.txt Remove help snapshot.
packages/​cli/​testdata/​reference/​help/​skills.txt Remove help snapshot.
packages/​cli/​testdata/​reference/​help/​serve.txt Remove help snapshot.
packages/​cli/​testdata/​reference/​help/​run.txt Remove help snapshot.
packages/​cli/​testdata/​reference/​help/​root.txt Remove help snapshot.
packages/​cli/​testdata/​reference/​help/​mise.txt Remove help snapshot.
packages/​cli/​testdata/​reference/​help/​logout.txt Remove help snapshot.
packages/​cli/​testdata/​reference/​help/​login.txt Remove help snapshot.
packages/​cli/​testdata/​reference/​help/​locale.txt Remove help snapshot.
packages/​cli/​testdata/​reference/​help/​init.txt Remove help snapshot.
packages/​cli/​testdata/​reference/​help/​init_mise.txt Remove help snapshot.
packages/​cli/​testdata/​reference/​help/​init_hooks.txt Remove help snapshot.
packages/​cli/​testdata/​reference/​help/​hk.txt Remove help snapshot.
packages/​cli/​testdata/​reference/​help/​exec.txt Remove help snapshot.
packages/​cli/​testdata/​reference/​help/​env.txt Remove help snapshot.
packages/​cli/​testdata/​reference/​help/​env_unset.txt Remove help snapshot.
packages/​cli/​testdata/​reference/​help/​env_set.txt Remove help snapshot.
packages/​cli/​testdata/​reference/​help/​env_list.txt Remove help snapshot.
packages/​cli/​testdata/​reference/​help/​env_bind.txt Remove help snapshot.
packages/​cli/​testdata/​reference/​help/​create.txt Remove help snapshot.
packages/​cli/​testdata/​reference/​help/​add.txt Remove help snapshot.
packages/​cli/​testdata/​reference/​error-unknown-command.json Remove error fixture.
packages/​cli/​testdata/​reference/​error-template-required.json Remove error fixture.
packages/​cli/​testdata/​reference/​error-template-not-found.json Remove error fixture.
packages/​cli/​testdata/​reference/​create-non-empty-error.json Remove creation-error fixture.
packages/​cli/​testdata/​reference/​create-default.json Remove creation-output fixture.
packages/​cli/​testdata/​reference/​add-go-api.json Remove project-addition fixture.
packages/​cli/​testdata/​dashboard-dev-workspace/​one.manifest.toml Remove Dashboard development fixture.
packages/​cli/​Taskfile.yml Remove testing tasks.
packages/​cli/​pkg/​toolchain/​types.go Correct adapter documentation.
packages/​cli/​pkg/​toolchain/​registry_test.go Remove adapter-registry tests.
packages/​cli/​pkg/​toolchain/​adapter.go Correct interface documentation.
packages/​cli/​internal/​transport/​http/​server.go Run shared-credential preparation with server lifecycle; critical binding-cache blocker remains.
packages/​cli/​internal/​transport/​http/​helpers_test.go Remove HTTP test helpers.
packages/​cli/​internal/​transport/​http/​handlers_workspaces.go Remove initialization route and service guard.
packages/​cli/​internal/​transport/​http/​handlers_workspace_mutate.go Remove backend-initialization handler.
packages/​cli/​internal/​transport/​http/​handlers_workspace_bind_test.go Remove workspace-binding tests.
packages/​cli/​internal/​transport/​http/​handlers_secrets_test.go Remove secret-route tests.
packages/​cli/​internal/​transport/​http/​handlers_catalog_test.go Remove catalog endpoint tests.
packages/​cli/​internal/​transport/​cobra/​skills/​cmd_test.go Remove skills command tests.
packages/​cli/​internal/​transport/​cobra/​run/​service.go Remove Dashboard service worker.
packages/​cli/​internal/​transport/​cobra/​run/​cmd.go Remove service-worker registration.
packages/​cli/​internal/​transport/​cobra/​exec/​global_test.go Remove global-execution tests.
packages/​cli/​internal/​transport/​cobra/​exec/​cmd_windows_test.go Remove Windows PATH tests.
packages/​cli/​internal/​transport/​cobra/​env/​set_test.go Remove variable-input tests.
packages/​cli/​internal/​transport/​cobra/​env/​render_test.go Remove localized output tests.
packages/​cli/​internal/​transport/​cobra/​create/​result_test.go Remove result-path tests.
packages/​cli/​internal/​transport/​cobra/​create/​name_test.go Remove workspace-naming tests.
packages/​cli/​internal/​transport/​cobra/​create/​create.go Include registration warnings in results.
packages/​cli/​internal/​transport/​cobra/​auth/​cmd.go Prepare shared credentials after login.
packages/​cli/​internal/​ports/​secrets/​merge_windows_test.go Remove Windows environment-merge tests.
packages/​cli/​internal/​ports/​secrets/​envname_test.go Remove environment-selection tests.
packages/​cli/​internal/​platform/​userdirs/​home_test.go Remove home-directory tests.
packages/​cli/​internal/​platform/​updatecheck/​manual_test.go Remove manual-update tests.
packages/​cli/​internal/​platform/​prompt/​theme_test.go Remove theme tests.
packages/​cli/​internal/​platform/​prompt/​spinner_test.go Remove spinner tests.
packages/​cli/​internal/​platform/​prompt/​prompt_test.go Remove prompt-error tests.
packages/​cli/​internal/​platform/​prompt/​form_test.go Remove form tests.
packages/​cli/​internal/​platform/​output/​mode.go Remove snapshot documentation.
packages/​cli/​internal/​platform/​output/​emit.go Remove test-only emission helper.
packages/​cli/​internal/​platform/​localurl/​localurl.go Remove service-URL normalization.
packages/​cli/​internal/​platform/​jsonedit/​strings_test.go Remove JSON string-editing tests.
packages/​cli/​internal/​platform/​jsonedit/​sort_test.go Remove JSON sorting tests.
packages/​cli/​internal/​platform/​i18n/​detect.go Correct locale helper comment.
packages/​cli/​internal/​platform/​fsutil/​replace_windows_test.go Remove Windows filesystem tests.
packages/​cli/​internal/​platform/​errors/​codes.go Remove test references from comments.
packages/​cli/​internal/​platform/​configedit/​regions_test.go Remove managed-region tests.
packages/​cli/​internal/​platform/​configedit/​manifest_test.go Remove manifest-editing tests.
packages/​cli/​internal/​modules/​toolenv/​environment_test.go Remove environment-parser tests.
packages/​cli/​internal/​modules/​taskui/​ui.go Remove scheduler-start callback.
packages/​cli/​internal/​modules/​tasks/​testdata/​catalog-zh-CN.txt Remove Chinese catalog fixture.
packages/​cli/​internal/​modules/​tasks/​testdata/​catalog-en-US.txt Remove English catalog fixture.
packages/​cli/​internal/​modules/​tasks/​taskui_test.go Remove task-graph tests.
packages/​cli/​internal/​modules/​tasks/​service.go Remove scheduler-start hook.
packages/​cli/​internal/​modules/​tasks/​projection.go Remove Dashboard task projection.
packages/​cli/​internal/​modules/​tasks/​options_test.go Remove execution-option tests.
packages/​cli/​internal/​modules/​tasks/​broker_ui_test.go Remove broker-state tests.
packages/​cli/​internal/​modules/​skills/​catalog.go Remove default Vitest skill selection.
packages/​cli/​internal/​modules/​skills/​catalog_test.go Remove skill-selection tests.
packages/​cli/​internal/​modules/​miseconfig/​dependencies_test.go Remove dependency-closure tests.
packages/​cli/​internal/​modules/​miseconfig/​config.go Stop generating aggregate CI task.
packages/​cli/​internal/​modules/​environment/​target.go Remove Dashboard initialization operation.
packages/​cli/​internal/​modules/​environment/​session_test.go Remove session-resolution tests.
packages/​cli/​internal/​modules/​environment/​global.go Expose shared-credential preparation.
packages/​cli/​internal/​modules/​devservice/​endpoints.go Remove service discovery and probing.
packages/​cli/​internal/​modules/​creation/​service.go Require observer and register workspaces earlier.
packages/​cli/​internal/​modules/​creation/​json_fields_test.go Remove JSON field-editing tests.
packages/​cli/​internal/​core/​workspace/​summary_test.go Remove dependency-readiness tests.
packages/​cli/​internal/​core/​workspace/​strings_test.go Remove workspace-ID tests.
packages/​cli/​internal/​core/​workspace/​retired_domains_test.go Remove retired-domain tests.
packages/​cli/​internal/​core/​workspace/​package_manager_test.go Remove package-manager tests.
packages/​cli/​internal/​core/​workspace/​groups_test.go Remove manifest-group tests.
packages/​cli/​internal/​core/​workspace/​environment_defaults_test.go Remove environment-default tests.
packages/​cli/​internal/​core/​workspace/​dashboard_dev_fixture_test.go Remove development-fixture tests.
packages/​cli/​internal/​core/​template/​resolve_test.go Remove template-resolution tests.
packages/​cli/​internal/​core/​template/​projects_test.go Remove composite-template tests.
packages/​cli/​internal/​core/​template/​go_template_test.go Remove Go template tests.
packages/​cli/​internal/​bootstrap/​cli/​task_shorthand_test.go Remove task-shorthand tests.
packages/​cli/​internal/​bootstrap/​cli/​dependencies.go Simplify workspace-service composition.
packages/​cli/​internal/​application/​workspace/​tasks.go Remove Dashboard task metadata.
packages/​cli/​internal/​application/​workspace/​service.go Simplify read-only workspace service.
packages/​cli/​internal/​application/​workspace/​service_test.go Remove workspace-service tests.
packages/​cli/​internal/​application/​workspace/​environment_settings.go Remove service locking.
packages/​cli/​internal/​application/​execution/​scope_test.go Remove execution-scope tests.
packages/​cli/​internal/​application/​execution/​runtime_test.go Remove runtime-selection tests.
packages/​cli/​internal/​application/​execution/​operation.go Remove project-operation resolver.
packages/​cli/​internal/​adapters/​env/​infisical/​shared_location.go Delegate binding to automatic preparation.
packages/​cli/​internal/​adapters/​env/​infisical/​config_test.go Remove Infisical configuration tests.
packages/​cli/​internal/​adapters/​env/​infisical/​client_error_test.go Remove API-error classification tests.
packages/​cli/​go.mod Remove PTY test dependency.
apps/​docs/​vercel.json Remove documentation deployment configuration.
apps/​docs/​content/​tutorials/​zh/​infisical-login.mdx Update Chinese authentication tutorial.
apps/​docs/​content/​tutorials/​en/​infisical-login.mdx Update English authentication tutorial.
apps/​docs/​content/​docs/​zh/​templates.md Remove template testing guidance.
apps/​docs/​content/​docs/​zh/​skills.md Update default skill listings.
apps/​docs/​content/​docs/​zh/​quick-start.md Update Dashboard capabilities.
apps/​docs/​content/​docs/​zh/​manifest.md Remove service-discovery description.
apps/​docs/​content/​docs/​zh/​env-vars.md Update binding guidance.
apps/​docs/​content/​docs/​zh/​create.md Document automatic workspace registration.
apps/​docs/​content/​docs/​zh/​build.md Direct task inspection to CLI.
apps/​docs/​content/​docs/​en/​templates.md Remove template testing guidance.
apps/​docs/​content/​docs/​en/​skills.md Update default skill listings.
apps/​docs/​content/​docs/​en/​serve.md Document registration and terminal-managed services.
apps/​docs/​content/​docs/​en/​quick-start.md Update Dashboard capabilities.
apps/​docs/​content/​docs/​en/​manifest.md Remove service-discovery description.
apps/​docs/​content/​docs/​en/​login.md Document automatic credential preparation.
apps/​docs/​content/​docs/​en/​env-vars.md Update binding guidance.
apps/​docs/​content/​docs/​en/​create.md Document automatic workspace registration.
apps/​docs/​content/​docs/​en/​build.md Direct task inspection to CLI.
apps/​dashboard/​vitest.config.ts Remove testing configuration.
apps/​dashboard/​src/​types/​api.ts Remove task and service metadata types.
apps/​dashboard/​src/​test/​setup.ts Remove browser-test setup.
apps/​dashboard/​src/​router/​routes.tsx Preserve workspace state; remove templates route.
apps/​dashboard/​src/​pages/​Overview.tsx Preserve inspector across environment changes.
apps/​dashboard/​src/​features/​services/​console.tsx Remove service console rendering.
apps/​dashboard/​src/​features/​project-settings/​forms/​FormLayout.tsx Remove unused form components.
apps/​dashboard/​src/​features/​project-settings/​forms/​EnvironmentForm.tsx Simplify environment panel layout.
apps/​dashboard/​src/​features/​infisical-session/​AccountSettings.tsx Show preparation status and clear logout caches.
apps/​dashboard/​src/​components/​ui/​button.tsx Add compact navigation size.
apps/​dashboard/​src/​components/​TopBar.tsx Remove templates breadcrumb.
apps/​dashboard/​src/​components/​AppMenu.tsx Remove templates navigation.
apps/​dashboard/​src/​App.tsx Adjust shared-credentials page sizing.
apps/​dashboard/​src/​api/​session.ts Add preparation state and identity-scoped cache keys.
apps/​dashboard/​src/​api/​services.ts Remove service-control client.
apps/​dashboard/​package.json Remove testing scripts and dependencies.
AGENTS.md Replace testing guidance with static validation.
.gitignore Remove testing exclusions and update comment.
.github/​workflows/​docs.yml Remove documentation build workflow.
.githooks/​pre-push Remove pre-push validation hook.
.githooks/​pre-commit Remove pre-commit validation hook.

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

Comment thread packages/cli/internal/transport/http/server.go
@caorushizi
caorushizi merged commit ff7d6dd into master Oct 3, 2026
3 checks passed
@caorushizi
caorushizi deleted the codex/dashboard-infisical-cleanup branch October 3, 2026 22:44

This branch was successfully deployed

1 active deployment
Preview — ada6e0f7 Deployed Oct 3, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants