Skip to content

Fix Dockerfile: add missing COPY line for plugins/fusion-plugin-linear-import#1940

Open
Automata-intelligentsia wants to merge 1 commit into
Runfusion:mainfrom
Automata-intelligentsia:fix/dockerfile-copy-linear-import-package-json
Open

Fix Dockerfile: add missing COPY line for plugins/fusion-plugin-linear-import#1940
Automata-intelligentsia wants to merge 1 commit into
Runfusion:mainfrom
Automata-intelligentsia:fix/dockerfile-copy-linear-import-package-json

Conversation

@Automata-intelligentsia

@Automata-intelligentsia Automata-intelligentsia commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Fixes #1939.

Adds the single missing COPY plugins/fusion-plugin-linear-import/package.json ./plugins/fusion-plugin-linear-import/package.json line to the Dockerfile's pre-install COPY block.

Root cause

Commit dfb6e52 added plugins/fusion-plugin-linear-import as a new pnpm workspace member, but didn't add a matching Dockerfile COPY line for its package.json. As a result that member's devDependencies (@types/node, @types/react) are never installed inside the image, and the later pnpm build step fails with TS2688 once the compiler reaches that plugin.

Fix

One line, alphabetically placed alongside the other plugins/fusion-plugin-* COPY lines.

Summary by CodeRabbit

  • Chores
    • Updated the container build setup to include an additional package manifest needed during image creation.

…ckage.json

The Dockerfile's pre-install COPY block was missing a line for
plugins/fusion-plugin-linear-import, which was added as a workspace
member in dfb6e52 but never got a
matching COPY line. Without it, that plugin's package.json (and its
@types/node / @types/react devDependencies) is never staged before
'pnpm install --frozen-lockfile', causing the later 'pnpm build' step
to fail with TS2688.

Fixes Runfusion#1939
@greptile-apps

greptile-apps Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR fixes the Docker build setup for the Linear import plugin. The main change is:

  • Added the plugin package manifest to the Dockerfile pre-install COPY block.

Confidence Score: 5/5

This looks safe to merge.

  • No blocking issues found in the changed code.

Important Files Changed

Filename Overview
Dockerfile Adds the missing plugins/fusion-plugin-linear-import/package.json COPY line before pnpm install in the builder stage.

Reviews (1): Last reviewed commit: "fix: add missing COPY line for plugins/f..." | Re-trigger Greptile

@coderabbitai

coderabbitai Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 12a4877d-bba1-4ac6-b0d7-4d9015a98b4c

📥 Commits

Reviewing files that changed from the base of the PR and between ca84473 and de418a7.

📒 Files selected for processing (1)
  • Dockerfile

📝 Walkthrough

Walkthrough

Adds a single COPY instruction in the Dockerfile's builder stage to stage plugins/fusion-plugin-linear-import/package.json into the build context, ensuring it is present before pnpm install runs.

Changes

Dockerfile build context fix

Layer / File(s) Summary
Add missing COPY line for plugin package.json
Dockerfile
Adds a COPY instruction copying plugins/fusion-plugin-linear-import/package.json into the builder stage's build context alongside other workspace package.json files.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Related issues: Fixes Dockerfile missing COPY line for plugins/fusion-plugin-linear-import causing TS2688 build failure (#1939).

Suggested labels: bug, docker

Suggested reviewers: None

🐰 A tiny line, a copy true,
the plugin's types now shine anew,
no more TS2688 despair,
the build hops on without a care.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the main Dockerfile fix for the missing COPY line.
Linked Issues check ✅ Passed The change adds the exact missing COPY line requested to fix the Docker build failure.
Out of Scope Changes check ✅ Passed The pull request contains only the one expected Dockerfile line and no unrelated changes.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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.

Dockerfile missing COPY line for plugins/fusion-plugin-linear-import causes TS2688 build failure

1 participant