Skip to content

[Build] Binary size regression: 260MB vs expected ~94MB #58

Description

@randomm

Summary

The opencode binary has ballooned from ~94MB to ~260MB in recent builds on the feature/oclite-ui-components branch.

Expected

  • Binary size: ~84-94MB (as seen in previous builds)

Actual

  • Binary size: ~260MB

Context

  • Branch: feature/oclite-ui-components
  • Build command: bun run build --single
  • Version: 0.0.0-feature/oclite-ui-components-202601270726
  • Platform: darwin-arm64

Investigation needed

  • Compare build output between recent commits
  • Check if new dependencies were added
  • Check if build config changed (bundler settings, tree shaking, etc.)
  • Check if assets/data files are being included unnecessarily
  • Compare with a build from dev branch as baseline

Related

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions