Skip to content

chore(pnpm): remove tasks/e2e workspace#16881

Merged
graphite-app[bot] merged 1 commit intomainfrom
12-15-chore_pnpm_remove_tasks_e2e_workspace
Dec 16, 2025
Merged

chore(pnpm): remove tasks/e2e workspace#16881
graphite-app[bot] merged 1 commit intomainfrom
12-15-chore_pnpm_remove_tasks_e2e_workspace

Conversation

@Boshen
Copy link
Member

@Boshen Boshen commented Dec 15, 2025

I thought making it a separate would be easier to manage,
but it's actually not.

Previous setup was also downloading packages from npm on every CI run.

Copilot AI review requested due to automatic review settings December 15, 2025 08:04
@github-actions github-actions bot added the C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior label Dec 15, 2025
Copy link
Member Author

Boshen commented Dec 15, 2025


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • 0-merge - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

Copy link
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.

Pull request overview

This PR consolidates the tasks/e2e workspace into the main monorepo workspace, removing the separate pnpm workspace configuration that was causing packages to be downloaded from npm on every CI run.

Key Changes:

  • Removed separate workspace configuration (tasks/e2e/pnpm-workspace.yaml) and lockfile (tasks/e2e/pnpm-lock.yaml)
  • Added tasks/e2e and its subdirectories to the root workspace configuration
  • Simplified CI workflow by removing redundant pnpm install command
  • Updated Renovate to ignore the tasks/e2e directory

Reviewed changes

Copilot reviewed 4 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
tasks/e2e/pnpm-workspace.yaml Deleted separate workspace config (no longer needed)
tasks/e2e/pnpm-lock.yaml Deleted 3888-line lockfile (dependencies now managed at root level)
pnpm-workspace.yaml Added tasks/e2e and tasks/e2e/tests to main workspace packages
.github/workflows/ci.yml Simplified e2e test execution by removing redundant install step
.github/renovate.json Added tasks/e2e to ignore paths to prevent automated updates
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link

@charliecreates charliecreates bot left a comment

Choose a reason for hiding this comment

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

  • tasks/e2e is now ignored by Renovate, which will likely prevent dependency/security updates for a workspace that still runs in CI.
  • CI’s e2e step now assumes dependencies are already installed from the root workspace; that coupling is fine if guaranteed, but fragile if the workflow changes.
  • Listing both tasks/e2e and tasks/e2e/tests as workspace packages is likely incorrect unless tests/ is a real standalone package; it can lead to confusing pnpm behavior and should be simplified.
Additional notes (1)
  • Readability | .github/workflows/ci.yml:196-203
    The e2e job no longer runs pnpm install --frozen-lockfile inside tasks/e2e. This is probably intended after consolidating lockfiles, but it does introduce a subtle coupling: the step now assumes the root workspace install has already happened in this job and that the workspace install includes tasks/e2e dependencies.

If the job matrix or filter ever skips the root install step (or if tasks/e2e isn’t included in the installed subset), e2e can fail with missing deps. Also, you lose a local “lockfile is honored” assertion for the e2e workspace (though the root lockfile still applies).

Summary of changes

Summary

This change removes the standalone tasks/e2e pnpm workspace and folds it back into the root workspace/lockfile.

Key updates

  • Workspace layout

    • Added tasks/e2e and tasks/e2e/tests to the root pnpm-workspace.yaml.
    • Deleted nested workspace files:
      • tasks/e2e/pnpm-lock.yaml
      • tasks/e2e/pnpm-workspace.yaml
  • CI workflow

    • Simplified the e2e step to run pnpm run test in tasks/e2e without an extra pnpm install.
  • Renovate config

    • Updated ignorePaths to include tasks/e2e.
  • Lockfile consolidation

    • Root pnpm-lock.yaml now includes an importers.tasks/e2e section and a large set of dependencies that previously lived in tasks/e2e/pnpm-lock.yaml.

@charliecreates charliecreates bot removed the request for review from CharlieHelps December 15, 2025 08:15
@github-actions github-actions bot added the A-parser Area - Parser label Dec 15, 2025
@graphite-app
Copy link
Contributor

graphite-app bot commented Dec 15, 2025

Merge activity

  • Dec 15, 5:24 PM UTC: This pull request can not be added to the Graphite merge queue. Please try rebasing and resubmitting to merge when ready.
  • Dec 15, 5:24 PM UTC: Graphite disabled "merge when ready" on this PR due to: a merge conflict with the target branch; resolve the conflict and try again..
  • Dec 16, 3:50 AM UTC: The merge label '0-merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.
  • Dec 16, 1:45 PM UTC: The merge label '0-merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.
  • Dec 16, 1:57 PM UTC: Boshen added this pull request to the Graphite merge queue.
  • Dec 16, 2:09 PM UTC: Merged by the Graphite merge queue.

@Boshen Boshen force-pushed the 12-15-chore_pnpm_remove_tasks_e2e_workspace branch from 8c08383 to 041e2c7 Compare December 16, 2025 03:50
@Boshen Boshen added the 0-merge Merge with Graphite Merge Queue label Dec 16, 2025
@Boshen Boshen force-pushed the 12-15-chore_pnpm_remove_tasks_e2e_workspace branch 2 times, most recently from f0f9fb2 to 8e48fbb Compare December 16, 2025 12:45
@Boshen Boshen closed this Dec 16, 2025
@Boshen
Copy link
Member Author

Boshen commented Dec 16, 2025

I give up.

@Boshen Boshen deleted the 12-15-chore_pnpm_remove_tasks_e2e_workspace branch December 16, 2025 13:04
@Boshen Boshen restored the 12-15-chore_pnpm_remove_tasks_e2e_workspace branch December 16, 2025 13:26
@Boshen Boshen reopened this Dec 16, 2025
@Boshen Boshen force-pushed the 12-15-chore_pnpm_remove_tasks_e2e_workspace branch from bbb3642 to f69d4fa Compare December 16, 2025 13:45
@Boshen Boshen requested a review from camc314 as a code owner December 16, 2025 13:45
@github-actions github-actions bot added A-linter Area - Linter A-cli Area - CLI A-codegen Area - Code Generation A-formatter Area - Formatter labels Dec 16, 2025
@Boshen Boshen force-pushed the 12-15-chore_pnpm_remove_tasks_e2e_workspace branch from f69d4fa to dee1614 Compare December 16, 2025 13:51
I thought making it a separate would be easier to manage,
but it's actually not.

Previous setup was also downloading packages from npm on every CI run.
@graphite-app graphite-app bot force-pushed the 12-15-chore_pnpm_remove_tasks_e2e_workspace branch from dee1614 to 1d680de Compare December 16, 2025 14:03
@graphite-app graphite-app bot merged commit 1d680de into main Dec 16, 2025
20 of 21 checks passed
@graphite-app graphite-app bot deleted the 12-15-chore_pnpm_remove_tasks_e2e_workspace branch December 16, 2025 14:09
@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label Dec 16, 2025
qinyuhang pushed a commit to qinyuhang/oxc that referenced this pull request Jan 22, 2026
I thought making it a separate would be easier to manage,
but it's actually not.

Previous setup was also downloading packages from npm on every CI run.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-cli Area - CLI A-codegen Area - Code Generation A-formatter Area - Formatter A-linter Area - Linter A-parser Area - Parser C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants