Skip to content

feat: update injected packages after run#9100

Merged
zkochan merged 68 commits intomainfrom
sync-injected-workspace-packages-9081
Feb 24, 2025
Merged

feat: update injected packages after run#9100
zkochan merged 68 commits intomainfrom
sync-injected-workspace-packages-9081

Conversation

@KSXGitHub
Copy link
Copy Markdown
Contributor

@KSXGitHub KSXGitHub commented Feb 13, 2025

Resolves #9081

@KSXGitHub KSXGitHub marked this pull request as ready for review February 14, 2025 14:37
@KSXGitHub KSXGitHub requested a review from zkochan February 14, 2025 14:37
@KSXGitHub KSXGitHub marked this pull request as draft February 17, 2025 13:50
@zkochan zkochan requested a review from Copilot February 17, 2025 14:27
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 5 out of 19 changed files in this pull request and generated no comments.

Files not reviewed (14)
  • exec/plugin-commands-script-runners/package.json: Language not supported
  • exec/plugin-commands-script-runners/tsconfig.json: Language not supported
  • workspace/update-injected-packages/package.json: Language not supported
  • workspace/update-injected-packages/tsconfig.json: Language not supported
  • workspace/update-injected-packages/tsconfig.lint.json: Language not supported
  • exec/plugin-commands-script-runners/src/runRecursive.ts: Evaluated as low risk
  • exec/plugin-commands-script-runners/src/run.ts: Evaluated as low risk
  • config/config/src/Config.ts: Evaluated as low risk
  • fs/indexed-pkg-importer/src/index.ts: Evaluated as low risk
  • config/config/src/types.ts: Evaluated as low risk
  • .changeset/strange-cherries-promise.md: Evaluated as low risk
  • pnpm-lock.yaml: Evaluated as low risk
  • .changeset/ninety-masks-study.md: Evaluated as low risk
  • exec/plugin-commands-script-runners/src/shouldUpdateInjectedPackagesAfterRun.ts: Evaluated as low risk
Comments suppressed due to low confidence (1)

workspace/update-injected-packages/src/DirPatcher.ts:83

  • Ensure that the behavior of the applyDiff function is covered by tests.
export async function applyDiff (optimizedDirDiff: DirDiff, sourceDir: string, targetDir: string): Promise<void> {

How could I even misunderstand my own code?!

`Patcher.apply()` will never call stat on the files because they have all
been loaded to calculate `Patcher.patch`.

This test is therefore nonsense.
@KSXGitHub KSXGitHub requested a review from zkochan February 22, 2025 11:21
@KSXGitHub KSXGitHub requested a review from zkochan February 23, 2025 07:38
@zkochan zkochan merged commit e32b1a2 into main Feb 24, 2025
13 of 16 checks passed
@zkochan zkochan deleted the sync-injected-workspace-packages-9081 branch February 24, 2025 01:09
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.

option to re-sync files of injected workspace packages

3 participants