Skip to content
Snippets Groups Projects

chore: Fix enterprise frontend build

Merged Warren Gifford requested to merge ef/fix-build into main

Created by: efritz

Context: https://sourcegraph.slack.com/archives/CMBA8F926/p1602684842044900

https://buildkite.com/sourcegraph/sourcegraph/builds/76477 is failing because I started using the codeintel database package which imports sqlite utilities from the frontend, which was not being built with cgo enabled.

This enables the sqlite wrapper in the enterprise frontend container and fixes the build script. This is temporary, as we'll be removing all sqlite interaction in the precise code intel flow in the next milestone, so we can revert this once that's done.

Merge request reports

Merged by avatar (Jun 24, 2025 1:14am UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Created by: mrnugget

    The "chore: " in the title makes me think that you rolled your eyes, said "uuuuugh" and stomped one foot on the ground when opening the PR.

  • Created by: efritz

    @mrnugget ugggh: Fix enterprise frontend build

  • Created by: codecov[bot]

    Codecov Report

    Merging #14721 into main will increase coverage by 0.00%. The diff coverage is n/a.

    @@           Coverage Diff           @@
    ##             main   #14721   +/-   ##
    =======================================
      Coverage   52.26%   52.26%           
    =======================================
      Files        1552     1552           
      Lines       79265    79265           
      Branches     6957     7013   +56     
    =======================================
    + Hits        41427    41428    +1     
    - Misses      34089    34090    +1     
    + Partials     3749     3747    -2     
    Flag Coverage Δ
    #go 52.56% <ø> (+<0.01%) :arrow_up:
    #integration 30.73% <ø> (ø)
    #storybook 22.16% <ø> (ø)
    #typescript 51.52% <ø> (ø)
    #unit 33.35% <ø> (ø)
    Impacted Files Coverage Δ
    cmd/frontend/graphqlbackend/zoekt.go 74.55% <0.00%> (-0.26%) :arrow_down:
    .../internal/codeintel/resolvers/graphql/locations.go 85.56% <0.00%> (+2.06%) :arrow_up:
Please register or sign in to reply
Loading