Skip to content

fix: Docker build and dependency cleanup#435

Merged
CybotTM merged 1 commit intomainfrom
fix/docker-build-and-deps
Feb 4, 2026
Merged

fix: Docker build and dependency cleanup#435
CybotTM merged 1 commit intomainfrom
fix/docker-build-and-deps

Conversation

@CybotTM
Copy link
Member

@CybotTM CybotTM commented Feb 4, 2026

Summary

  • Remove obsolete COPY scripts/ line from Dockerfile (directory was removed in 9bb242f)
  • Update pnpm version in Dockerfile from 10.20.0 to 10.28.2
  • Remove unused github.com/gofiber/fiber/v3 dependency
  • Clean up indirect dependencies via go mod tidy

Test plan

  • Docker build completes successfully
  • Go tests pass
  • TypeScript compilation succeeds

- Remove COPY scripts/ line from Dockerfile (directory was removed in 9bb242f)
- Update pnpm version in Dockerfile from 10.20.0 to 10.28.2
- Remove unused github.com/gofiber/fiber/v3 dependency
- Clean up indirect dependencies via go mod tidy
Copilot AI review requested due to automatic review settings February 4, 2026 23:50
@entelligence-ai-pr-reviews
Copy link

Walkthrough

This PR performs dependency cleanup and Docker image optimization. The main focus is removing the unused Fiber v3 web framework dependency while retaining Fiber v2, which eliminates several transitive dependencies no longer needed by the project. The Go dependency files (go.mod and go.sum) are cleaned up to remove outdated entries and reduce the dependency footprint. Additionally, the Dockerfile is updated to use a newer version of pnpm (10.28.2) and removes the scripts/ directory from the Docker image, streamlining the build process and reducing image size. These changes represent routine maintenance to keep dependencies current and remove unused code.

Changes

File(s) Summary
Dockerfile Updated pnpm version from 10.20.0 to 10.28.2 and removed scripts/ directory from Docker image copy operations.
go.mod Removed Fiber v3 dependency (github.com/gofiber/fiber/v3) and associated transitive dependencies including philhofer/fwd, savsgio/dictpool, savsgio/gotils, and tinylib/msgp.
go.sum Cleaned up dependency checksums by removing outdated Fiber v2 (v2.44.0) entries, all Fiber v3 references, unused transitive dependencies, and outdated Go standard library module references.

Sequence Diagram

This diagram shows the interactions between components:

sequenceDiagram
    participant Docker as Docker Build
    participant npm as npm
    participant pnpm as pnpm v10.28.2
    participant FS as File System
    participant Build as Frontend Build

    Note over Docker: Dockerfile Build Process
    
    Docker->>npm: Install pnpm globally
    npm->>pnpm: Install pnpm@10.28.2
    Note right of pnpm: Updated from v10.20.0
    
    Docker->>FS: Copy package.json & pnpm-lock.yaml
    Note over FS: Layer caching optimization
    
    Docker->>pnpm: Install dependencies
    pnpm->>FS: Download & install packages
    
    Docker->>FS: Copy config files
    Note over FS: postcss.config.js<br/>tailwind.config.js<br/>tsconfig.json
    
    Note over Docker,FS: scripts/ directory no longer copied
    
    Docker->>FS: Copy internal/web/
    
    Docker->>Build: Execute pnpm build:assets
    Build->>pnpm: Run build command
    pnpm->>FS: Read source files
    pnpm->>FS: Generate build artifacts
    FS-->>Build: Build output
    Build-->>Docker: Build complete
Loading

🔗 Cross-Repository Impact Analysis

Enable automatic detection of breaking changes across your dependent repositories. → Set up now

Learn more about Cross-Repository Analysis

What It Does

  • Automatically identifies repositories that depend on this code
  • Analyzes potential breaking changes across your entire codebase
  • Provides risk assessment before merging to prevent cross-repo issues

How to Enable

  1. Visit Settings → Code Management
  2. Configure repository dependencies
  3. Future PRs will automatically include cross-repo impact analysis!

Benefits

  • 🛡️ Prevent breaking changes across repositories
  • 🔍 Catch integration issues before they reach production
  • 📊 Better visibility into your multi-repo architecture

▶️AI Code Reviews for VS Code, Cursor, Windsurf
Install the extension

Note for Windsurf Please change the default marketplace provider to the following in the windsurf settings:

Marketplace Extension Gallery Service URL: https://marketplace.visualstudio.com/_apis/public/gallery

Marketplace Gallery Item URL: https://marketplace.visualstudio.com/items

Entelligence.ai can learn from your feedback. Simply add 👍 / 👎 emojis to teach it your preferences. More shortcuts below

Emoji Descriptions:

  • ⚠️ Potential Issue - May require further investigation.
  • 🔒 Security Vulnerability - Fix to ensure system safety.
  • 💻 Code Improvement - Suggestions to enhance code quality.
  • 🔨 Refactor Suggestion - Recommendations for restructuring code.
  • ℹ️ Others - General comments and information.

Interact with the Bot:

  • Send a message or request using the format:
    @entelligenceai + *your message*
Example: @entelligenceai Can you suggest improvements for this code?
  • Help the Bot learn by providing feedback on its responses.
    @entelligenceai + *feedback*
Example: @entelligenceai Do not comment on `save_auth` function !

Also you can trigger various commands with the bot by doing
@entelligenceai command

The current supported commands are

  1. config - shows the current config
  2. retrigger_review - retriggers the review

More commands to be added soon.

Copy link

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 cleans up Docker configuration and Go dependencies by removing obsolete references and updating versions to match the project's current state.

Changes:

  • Updated pnpm version in Dockerfile from 10.20.0 to 10.28.2 to align with package.json
  • Removed obsolete COPY scripts/ directive from Dockerfile (directory no longer exists)
  • Removed unused github.com/gofiber/fiber/v3 direct dependency from go.mod
  • Cleaned up indirect dependencies (philhofer/fwd, savsgio/dictpool, savsgio/gotils, tinylib/msgp) via go mod tidy

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.

File Description
Dockerfile Updated pnpm version to 10.28.2 and removed obsolete scripts directory copy
go.mod Removed unused fiber/v3 dependency and cleaned up 4 indirect dependencies
go.sum Removed checksums for deleted dependencies and outdated versions

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

@codecov
Copy link

codecov bot commented Feb 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 45.58%. Comparing base (b155c1d) to head (0ee342f).
⚠️ Report is 72 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #435   +/-   ##
=======================================
  Coverage   45.58%   45.58%           
=======================================
  Files          14       14           
  Lines         702      702           
=======================================
  Hits          320      320           
  Misses        365      365           
  Partials       17       17           
Flag Coverage Δ
backend 45.58% <ø> (ø)
unittests 45.58% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b155c1d...0ee342f. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@CybotTM CybotTM merged commit a9fd9f7 into main Feb 4, 2026
19 of 20 checks passed
@CybotTM CybotTM deleted the fix/docker-build-and-deps branch February 4, 2026 23:59
@github-actions github-actions bot added the released:v1.2.0 Released in v1.2.0 label Feb 22, 2026
@github-actions
Copy link
Contributor

Released in v1.2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released:v1.2.0 Released in v1.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants