chore: ci:validate, ci:test:fetch-cache simplification, and code cleanup - #9840
Merged
Conversation
🦋 Changeset detectedLatest commit: 2d0189d The changes in this PR will be included in the next version bump. This PR includes changesets to release 9 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
mmaietta
marked this pull request as ready for review
June 5, 2026 14:18
…-validate # Conflicts: # packages/app-builder-lib/src/util/dynamicImport.ts # scripts/checkDeps.js
Closed
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.
This pull request includes a mix of workflow, dependency, code style, and minor refactoring updates across the repository. The main goals are to streamline CI workflows, clean up dependencies, improve TypeScript and ESLint configurations, and enhance code clarity and maintainability.
CI/CD Workflow Improvements:
.github/actions/pretest/action.ymlwith a singlepnpm ci:test:fetch-cachecommand, simplifying cache restoration logic.shard-planjob tovalidate-and-shardin.github/workflows/test.yamland adds new steps to validate and lint files before outputting the shard plan, ensuring code quality checks run in CI. [1] [2]Merge cache filescommand to justpnpm ci:test:merge-cache, removing explicit artifact and output arguments.Dependency and Configuration Updates:
@types/fs-extradependency and addsfs-extraas a devDependency inpackage.jsonfor better dependency hygiene. [1] [2]scripts/checkDeps.jsto account for dynamic imports (e.g.,@electron/universal) and adjusts the known unused/missed dependencies lists for more accurate dependency checks. [1] [2] [3]ESLint and TypeScript Improvements:
eslint.config.mjsto disable the@typescript-eslint/unbound-methodrule for test files that use Vitest spies/mocks, reducing unnecessary lint errors.Code Refactoring and Minor Fixes:
MacTargetHelper.getPlatformTypeFromTarget, AWS credentials parsing, and S3 header construction). [1] [2] [3]vi.mocked(log)for improved mocking and type safety intest/src/cliTest.ts. [1] [2] [3] [4] [5] [6]_, and updating type usage). [1] [2] [3]These changes collectively improve the reliability, maintainability, and clarity of the codebase and CI/CD pipeline.