Skip to content

Instantly share code, notes, and snippets.

@arafatkatze
Created February 2, 2024 16:41
Show Gist options
  • Save arafatkatze/47df8fe47665e6d9e1fc18ddc7bab233 to your computer and use it in GitHub Desktop.
Save arafatkatze/47df8fe47665e6d9e1fc18ddc7bab233 to your computer and use it in GitHub Desktop.
sourcegraph git:(main) brew services stop postgresql@15
brew uninstall postgresql@15
rm -rf /usr/local/var/postgres
rm /usr/local/var/log/postgres.log
rm -f ~/.psqlrc ~/.psql_history
Stopping `postgresql@15`... (might take a while)
==> Successfully stopped `postgresql@15` (label: homebrew.mxcl.postgresql@15)
Uninstalling /opt/homebrew/Cellar/postgresql@15/15.5_3... (3,700 files, 63MB)
rm: /usr/local/var/log/postgres.log: No such file or directory
➜ sourcegraph git:(main) git checkout jsm/sg-setup-pg
error: pathspec 'jsm/sg-setup-pg' did not match any file(s) known to git
➜ sourcegraph git:(main) git pull
remote: Enumerating objects: 707, done.
remote: Counting objects: 100% (707/707), done.
remote: Compressing objects: 100% (399/399), done.
remote: Total 707 (delta 351), reused 601 (delta 306), pack-reused 0
Receiving objects: 100% (707/707), 1.43 MiB | 14.06 MiB/s, done.
Resolving deltas: 100% (351/351), completed with 61 local objects.
From https://github.com/sourcegraph/sourcegraph
dc2251c2e9..0a038b1593 main -> origin/main
17edad2349..2b7f52bdb0 5.3 -> origin/5.3
+ 8970814a7d...58ed08a783 bo/code-search-landing-page -> origin/bo/code-search-landing-page (forced update)
* [new branch] bo/implement-cody-dashboard -> origin/bo/implement-cody-dashboard
3a9c183a95..30e8fbfb53 cc/no-type-by-default -> origin/cc/no-type-by-default
601999c290..3915847e1c chrsmith/60071/correct-trial-and-sub-end-mismatch -> origin/chrsmith/60071/correct-trial-and-sub-end-mismatch
* [new branch] cw/update-azure-openai-client -> origin/cw/update-azure-openai-client
37e458d13b..3fb281e190 dax/add_more_otel_processors -> origin/dax/add_more_otel_processors
* [new branch] dpc/no-cody-codebase -> origin/dpc/no-cody-codebase
* [new branch] dpc/rfc-search -> origin/dpc/rfc-search
* [new branch] es/globallimiter-bucket-prom -> origin/es/globallimiter-bucket-prom
+ 73fb3f1f5e...0cf118c970 es/license-ui -> origin/es/license-ui (forced update)
* [new branch] fkling/repo-commits-link -> origin/fkling/repo-commits-link
67954395d4..4b0fcd3593 jhwg/migrator-test -> origin/jhwg/migrator-test
* [new branch] jsm/sg-setup-pg -> origin/jsm/sg-setup-pg
+ 2e998d32c6...3cf497f298 naman/gateway-sams-auth -> origin/naman/gateway-sams-auth (forced update)
061469fca1..0a616d539a pjlast/split-out-archive-reader -> origin/pjlast/split-out-archive-reader
+ 2d730f85a1...4ef89f6717 renovate/pin-dependencies -> origin/renovate/pin-dependencies (forced update)
* [new branch] sh/chore/rename-trace -> origin/sh/chore/rename-trace
7d2e83f23a..0c589c4b2c sh/keyword/default-on -> origin/sh/keyword/default-on
107a75bce8..8c0cc755be syntactic-worker-database -> origin/syntactic-worker-database
+ 0b58af314a...7d3d7f4b70 vg/move-server-code -> origin/vg/move-server-code (forced update)
* [new branch] vg/rename-3 -> origin/vg/rename-3
0f972cde28..33d29c6c96 vk/search-results-design-tweaks -> origin/vk/search-results-design-tweaks
* [new branch] will/custom-grafana-image -> origin/will/custom-grafana-image
* [new branch] will/improve-ctags-tests -> origin/will/improve-ctags-tests
Updating dc2251c2e9..0a038b1593
Fast-forward
CHANGELOG.md | 1 +
client/web-sveltekit/BUILD.bazel | 1 -
client/web-sveltekit/src/lib/images.ts | 1 -
client/web-sveltekit/src/routes/Header.svelte | 13 +++---
client/web-sveltekit/src/routes/InfoBanner.svelte | 13 +++---
client/web-sveltekit/src/routes/layout.spec.ts | 6 +--
client/web-sveltekit/src/routes/styles.scss | 4 +-
client/web-sveltekit/static/react-logo.svg | 1 -
client/web/BUILD.bazel | 2 +
client/web/dist/img/svelte-logo-disabled.svg | 20 ----------
client/web/dist/img/svelte-logo.svg | 20 ----------
client/web/src/cody/components/ChatUI/ChatUi.tsx | 6 +++
client/web/src/cody/components/ChatUI/useIsFileIgnored.ts | 57 ++++++++++++++++++++++++++
client/web/src/cody/components/GettingStarted.tsx | 12 +-----
client/web/src/cody/components/ScopeSelector/ScopeSelector.tsx | 17 ++++++--
client/web/src/featureFlags/featureFlags.ts | 4 ++
client/web/src/sveltekit/SvelteKitNavItem.tsx | 19 ++++++---
client/web/src/sveltekit/util.ts | 20 +++++-----
cmd/cody-gateway/internal/actor/productsubscription/BUILD.bazel | 1 -
cmd/cody-gateway/internal/actor/productsubscription/productsubscription.go | 2 +-
cmd/cody-gateway/internal/httpapi/completions/BUILD.bazel | 1 -
cmd/cody-gateway/internal/httpapi/completions/upstream.go | 2 +-
cmd/cody-gateway/internal/httpapi/embeddings/BUILD.bazel | 1 -
cmd/cody-gateway/internal/httpapi/embeddings/handler.go | 2 +-
cmd/cody-gateway/internal/httpapi/embeddings/models.go | 3 +-
cmd/frontend/internal/app/ui/sveltekit.go | 6 ++-
cmd/frontend/internal/authz/resolvers/BUILD.bazel | 1 -
cmd/frontend/internal/authz/resolvers/resolver.go | 2 +-
cmd/frontend/internal/executorqueue/handler/BUILD.bazel | 1 -
cmd/frontend/internal/executorqueue/handler/multihandler.go | 2 +-
cmd/gitserver/internal/vcssyncer/BUILD.bazel | 1 -
cmd/gitserver/internal/vcssyncer/packages_syncer_test.go | 2 +-
cmd/symbols/image_test.yaml | 2 +-
cmd/worker/internal/auth/BUILD.bazel | 1 -
cmd/worker/internal/auth/sourcegraph_operator_cleaner_test.go | 2 +-
cmd/worker/internal/permissions/BUILD.bazel | 1 -
cmd/worker/internal/permissions/bitbucket_projects_test.go | 2 +-
deps.bzl | 76 +++++++++++++++++------------------
dev/managedservicesplatform/internal/imageupdater/BUILD.bazel | 1 -
dev/managedservicesplatform/internal/imageupdater/imageupdater.go | 2 +-
dev/managedservicesplatform/internal/resource/alertpolicy/alertpolicy.go | 13 +++---
dev/managedservicesplatform/internal/resource/logcountmetric/BUILD.bazel | 15 +++++++
.../internal/resource/logcountmetric/logcountmetric.go | 79 +++++++++++++++++++++++++++++++++++++
dev/managedservicesplatform/managedservicesplatform.go | 1 +
dev/managedservicesplatform/stacks/cloudrun/BUILD.bazel | 1 -
dev/managedservicesplatform/stacks/cloudrun/cloudrun.go | 2 +-
dev/managedservicesplatform/stacks/monitoring/BUILD.bazel | 1 +
dev/managedservicesplatform/stacks/monitoring/cloudsql.go | 28 +++++++++++--
dev/managedservicesplatform/stacks/monitoring/monitoring.go | 7 ++--
dev/managedservicesplatform/stacks/monitoring/service.go | 62 +++++++++++++++++++++++++++++
dev/oci_deps.bzl | 56 +++++++++++++-------------
dev/sg/BUILD.bazel | 1 -
dev/sg/sg_bazel.go | 34 ++++++----------
dev/zoekt/update | 2 +-
docker-images/search-indexer/image_test.yaml | 2 +-
go.mod | 34 ++++++++--------
go.sum | 72 ++++++++++++++++-----------------
internal/authz/providers/github/BUILD.bazel | 1 -
internal/authz/providers/github/github_test.go | 4 +-
internal/codeintel/codenav/BUILD.bazel | 1 -
internal/codeintel/codenav/service.go | 7 ++--
internal/codeintel/dependencies/internal/store/BUILD.bazel | 1 -
internal/codeintel/dependencies/internal/store/store.go | 9 +++--
internal/database/BUILD.bazel | 1 -
internal/database/authz_test.go | 2 +-
internal/database/perms_store_test.go | 2 +-
internal/gitserver/BUILD.bazel | 1 -
internal/gitserver/addrs.go | 2 +-
internal/licensing/BUILD.bazel | 1 -
internal/licensing/codygateway.go | 2 +-
internal/licensing/telemetryexport.go | 2 +-
internal/oobmigration/BUILD.bazel | 1 -
internal/oobmigration/store.go | 2 +-
internal/search/backend/BUILD.bazel | 1 -
internal/search/backend/index_options.go | 22 ++++++++---
internal/search/exhaustive/service/BUILD.bazel | 1 -
internal/search/exhaustive/service/searcher_test.go | 7 ++--
internal/search/job/jobutil/BUILD.bazel | 2 -
internal/search/job/jobutil/filter_file_contains.go | 8 ++--
internal/search/job/jobutil/job_test.go | 4 +-
internal/search/query/repo_revs.go | 16 ++++----
internal/search/repos/BUILD.bazel | 2 -
internal/search/repos/repos.go | 6 +--
internal/search/repos/repos_test.go | 11 +++---
internal/search/result/match.go | 32 +++++++++------
internal/search/result/range.go | 6 +++
internal/search/streaming/client/BUILD.bazel | 1 -
internal/search/streaming/client/progress.go | 3 +-
internal/search/zoekt/BUILD.bazel | 1 -
internal/search/zoekt/query_test.go | 11 +++---
package.json | 1 +
pnpm-lock.yaml | 24 +++++++----
92 files changed, 584 insertions(+), 355 deletions(-)
delete mode 100644 client/web-sveltekit/static/react-logo.svg
delete mode 100644 client/web/dist/img/svelte-logo-disabled.svg
delete mode 100644 client/web/dist/img/svelte-logo.svg
create mode 100644 client/web/src/cody/components/ChatUI/useIsFileIgnored.ts
create mode 100644 dev/managedservicesplatform/internal/resource/logcountmetric/BUILD.bazel
create mode 100644 dev/managedservicesplatform/internal/resource/logcountmetric/logcountmetric.go
➜ sourcegraph git:(main) git checkout jsm/sg-setup-pg
branch 'jsm/sg-setup-pg' set up to track 'origin/jsm/sg-setup-pg'.
Switched to a new branch 'jsm/sg-setup-pg'
➜ sourcegraph git:(jsm/sg-setup-pg) sg setup --fix
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ sg ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ _ __ __ __ ┃
┃ | | / /__ / /________ ____ ___ ___ / /_____ ┃
┃ | | /| / / _ \/ / ___/ __ \/ __ '__ \/ _ \ / __/ __ \ ┃
┃ | |/ |/ / __/ / /__/ /_/ / / / / / / __/ / /_/ /_/ / ┃
┃ |__/|__/\___/_/\___/\____/_/ /_/ /_/\___/ \__/\____/ ┃
┃ __ __ ┃
┃ ___________ ________ / /___ ______ / / ┃
┃ / ___/ __ / / ___/ _ \/ __/ / / / __ \/ / ┃
┃ (__ ) /_/ / (__ ) __/ /_/ /_/ / /_/ /_/ ┃
┃ /____/\__, / /____/\___/\__/\__,_/ .___(_) ┃
┃ /____/ /_/ ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
INFO: You can quit any time by typing ctrl-c.
βœ… 1. Homebrew (1s)
βœ… 2. Base utilities (2s)
βœ… 3. Docker (2s)
βœ… 4. Clone repositories (4s)
❌ 5. Programming languages & tooling (4s)
❌ pnpm
version "8.15.1" from "pnpm" does not match constraint "~> 8.9.2"
❌ asdf reshim
we may need to regenerate asdf shims: version "8.15.1" from "pnpm" does not match constraint "~> 8.9.2"
❌ src
unexpected output from src: src: 1.33
❌ 6. Postgres database (4s)
❌ Install Postgres
executable "psql" not found in $PATH
❌ Start Postgres
failed all attempts to connect to Postgresql database
failed to connect to Postgresql Database at : failed to connect to `host=/private/tmp user=arafatkhan database=`: dial error (dial unix /private/tmp/.s.PGSQL.5432: connect: no such file or directory)
failed to connect to Postgresql Database at postgres://Arafat%20Khan:@127.0.0.1:5432: failed to connect to `host=127.0.0.1 user=Arafat Khan database=`: dial error (dial tcp 127.0.0.1:5432: connect: connection refused)
failed to connect to Postgresql Database at postgres://127.0.0.1:5432: failed to connect to `host=127.0.0.1 user=arafatkhan database=`: dial error (dial tcp 127.0.0.1:5432: connect: connection refused)
failed to connect to Postgresql Database at postgres://postgres:postgres@127.0.0.1:5432: failed to connect to `host=127.0.0.1 user=postgres database=`: dial error (dial tcp 127.0.0.1:5432: connect: connection refused)
failed to connect to Postgresql Database at postgres://postgres:password@127.0.0.1:5432: failed to connect to `host=127.0.0.1 user=postgres database=`: dial error (dial tcp 127.0.0.1:5432: connect: connection refused)
❌ Connection to 'sourcegraph' database
failed to connect to Sourcegraph Postgres database at postgres://sourcegraph:sourcegraph@localhost:5432/sourcegraph?sslmode=disable. Please check the settings in sg.config.yml (see https://docs.sourcegraph.com/dev/background-information/sg#changing-database-configuration): failed to connect to `host=localhost user=sourcegraph database=sourcegraph`: dial error (dial tcp 127.0.0.1:5432: connect: connection refused)
❌ Path to pg utilities (createdb, etc ...)
currently defined PG_UTILS_PATH doesn't include createdb: stat /opt/homebrew/opt/postgresql@15/bin/createdb: no such file or directory
βœ… 7. Redis database (4s)
βœ… 8. sourcegraph.test development proxy (4s)
βœ… 9. Additional sg configuration (4s)
βœ… 10. Cloud services (5s)
πŸ‘‰ Attempting to fix 2 failed categories
Trying my hardest to fix "Programming languages & tooling" automatically...
✱ Fixing "pnpm"...
pnpm 8.9.2 is already installed
Check "pnpm" still failing: version "8.15.1" from "pnpm" does not match constraint "~> 8.9.2"
✱ Fixing "asdf reshim"...
Check "asdf reshim" still failing: we may need to regenerate asdf shims: version "8.15.1" from "pnpm" does not match constraint "~> 8.9.2"
✱ Fixing "src"...
Warning: sourcegraph/src-cli/src-cli 5.2.1 already installed
Check "src" still failing: unexpected output from src: src: 1.33
❌ 5. Programming languages & tooling - Some checks are still not satisfied
Trying my hardest to fix "Postgres database" automatically...
✱ Fixing "Install Postgres"...
==> Downloading https://ghcr.io/v2/homebrew/core/postgresql/15/manifests/15.5_3
Already downloaded: /Users/arafatkhan/Library/Caches/Homebrew/downloads/b258d3a2db1aff19601c169e7ff808b0062f31e9dc31adfefc73f0e9fe508fc2--postgresql@15-15.5_3.bottle_manifest.json
==> Fetching postgresql@15
==> Downloading https://ghcr.io/v2/homebrew/core/postgresql/15/blobs/sha256:95d6f10df345ca0a4b1a31d586fc54489570c63f268d46b97429ba2d52f37df7
Already downloaded: /Users/arafatkhan/Library/Caches/Homebrew/downloads/bbcc01efc99b8c9f594b1bcb74eb8a9ab9930f7fb58ab4c2c7bba48803555d89--postgresql@15--15.5_3.arm64_sonoma.bottle.tar.gz
==> Pouring postgresql@15--15.5_3.arm64_sonoma.bottle.tar.gz
==> Caveats
This formula has created a default database cluster with:
initdb --locale=C -E UTF-8 /opt/homebrew/var/postgresql@15
For more details, read:
https://www.postgresql.org/docs/15/app-initdb.html
postgresql@15 is keg-only, which means it was not symlinked into /opt/homebrew,
because this is an alternate version of another formula.
If you need to have postgresql@15 first in your PATH, run:
echo 'export PATH="/opt/homebrew/opt/postgresql@15/bin:$PATH"' >> ~/.zshrc
For compilers to find postgresql@15 you may need to set:
export LDFLAGS="-L/opt/homebrew/opt/postgresql@15/lib"
export CPPFLAGS="-I/opt/homebrew/opt/postgresql@15/include"
For pkg-config to find postgresql@15 you may need to set:
export PKG_CONFIG_PATH="/opt/homebrew/opt/postgresql@15/lib/pkgconfig"
To start postgresql@15 now and restart at login:
brew services start postgresql@15
Or, if you don't want/need a background service you can just run:
LC_ALL="C" /opt/homebrew/opt/postgresql@15/bin/postgres -D /opt/homebrew/var/postgresql@15
==> Summary
🍺 /opt/homebrew/Cellar/postgresql@15/15.5_3: 3,700 files, 63MB
==> Running `brew cleanup postgresql@15`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
Check "Install Postgres" is satisfied now!
✱ Fixing "Start Postgres"...
❗️ Failed to fix "Start Postgres": exit status 1
✱ Fixing "Connection to 'sourcegraph' database"...
createuser: error: connection to server on socket "/tmp/.s.PGSQL.5432" failed: No such file or directory
Is the server running locally and accepting connections on that socket?
psql: error: connection to server on socket "/tmp/.s.PGSQL.5432" failed: No such file or directory
Is the server running locally and accepting connections on that socket?
❗️ Failed to fix "Connection to 'sourcegraph' database": exit status 2: psql: error: connection to server on socket "/tmp/.s.PGSQL.5432" failed: No such file or directory
Is the server running locally and accepting connections on that socket?
✱ Fixing "Path to pg utilities (createdb, etc ...)"...
Check "Path to pg utilities (createdb, etc ...)" is satisfied now!
❌ 6. Postgres database - Some checks are still not satisfied
❌ Some categories are still unsatisfied: "Programming languages & tooling", "Postgres database"
➜ sourcegraph git:(jsm/sg-setup-pg) sg setup
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ sg ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ _ __ __ __ ┃
┃ | | / /__ / /________ ____ ___ ___ / /_____ ┃
┃ | | /| / / _ \/ / ___/ __ \/ __ '__ \/ _ \ / __/ __ \ ┃
┃ | |/ |/ / __/ / /__/ /_/ / / / / / / __/ / /_/ /_/ / ┃
┃ |__/|__/\___/_/\___/\____/_/ /_/ /_/\___/ \__/\____/ ┃
┃ __ __ ┃
┃ ___________ ________ / /___ ______ / / ┃
┃ / ___/ __ / / ___/ _ \/ __/ / / / __ \/ / ┃
┃ (__ ) /_/ / (__ ) __/ /_/ /_/ / /_/ /_/ ┃
┃ /____/\__, / /____/\___/\__/\__,_/ .___(_) ┃
┃ /____/ /_/ ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
INFO: You can quit any time by typing ctrl-c.
βœ… 1. Homebrew (2s)
βœ… 2. Base utilities (2s)
βœ… 3. Docker (2s)
βœ… 4. Clone repositories (3s)
❌ 5. Programming languages & tooling (4s)
❌ pnpm
version "8.15.1" from "pnpm" does not match constraint "~> 8.9.2"
❌ asdf reshim
we may need to regenerate asdf shims: version "8.15.1" from "pnpm" does not match constraint "~> 8.9.2"
❌ src
unexpected output from src: src: 1.33
❌ 6. Postgres database (4s)
❌ Start Postgres
failed all attempts to connect to Postgresql database
failed to connect to Postgresql Database at : failed to connect to `host=/private/tmp user=arafatkhan database=`: dial error (dial unix /private/tmp/.s.PGSQL.5432: connect: no such file or directory)
failed to connect to Postgresql Database at postgres://Arafat%20Khan:@127.0.0.1:5432: failed to connect to `host=127.0.0.1 user=Arafat Khan database=`: dial error (dial tcp 127.0.0.1:5432: connect: connection refused)
failed to connect to Postgresql Database at postgres://127.0.0.1:5432: failed to connect to `host=127.0.0.1 user=arafatkhan database=`: dial error (dial tcp 127.0.0.1:5432: connect: connection refused)
failed to connect to Postgresql Database at postgres://postgres:postgres@127.0.0.1:5432: failed to connect to `host=127.0.0.1 user=postgres database=`: dial error (dial tcp 127.0.0.1:5432: connect: connection refused)
failed to connect to Postgresql Database at postgres://postgres:password@127.0.0.1:5432: failed to connect to `host=127.0.0.1 user=postgres database=`: dial error (dial tcp 127.0.0.1:5432: connect: connection refused)
❌ Connection to 'sourcegraph' database
failed to connect to Sourcegraph Postgres database at postgres://sourcegraph:sourcegraph@localhost:5432/sourcegraph?sslmode=disable. Please check the settings in sg.config.yml (see https://docs.sourcegraph.com/dev/background-information/sg#changing-database-configuration): failed to connect to `host=localhost user=sourcegraph database=sourcegraph`: dial error (dial tcp 127.0.0.1:5432: connect: connection refused)
βœ… 7. Redis database (4s)
βœ… 8. sourcegraph.test development proxy (4s)
βœ… 9. Additional sg configuration (4s)
βœ… 10. Cloud services (5s)
πŸ‘‰ What do you want to do?
[ 0]: Fix everything
[ 5]: Fix "Programming languages & tooling"
[ 6]: Fix "Postgres database"
[99]: Quit
πŸ‘‰ Enter choice: 99
➜ sourcegraph git:(jsm/sg-setup-pg) brew services start postgresql@15
==> Successfully started `postgresql@15` (label: homebrew.mxcl.postgresql@15)
➜ sourcegraph git:(jsm/sg-setup-pg) sg setup --fix
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ sg ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ _ __ __ __ ┃
┃ | | / /__ / /________ ____ ___ ___ / /_____ ┃
┃ | | /| / / _ \/ / ___/ __ \/ __ '__ \/ _ \ / __/ __ \ ┃
┃ | |/ |/ / __/ / /__/ /_/ / / / / / / __/ / /_/ /_/ / ┃
┃ |__/|__/\___/_/\___/\____/_/ /_/ /_/\___/ \__/\____/ ┃
┃ __ __ ┃
┃ ___________ ________ / /___ ______ / / ┃
┃ / ___/ __ / / ___/ _ \/ __/ / / / __ \/ / ┃
┃ (__ ) /_/ / (__ ) __/ /_/ /_/ / /_/ /_/ ┃
┃ /____/\__, / /____/\___/\__/\__,_/ .___(_) ┃
┃ /____/ /_/ ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
INFO: You can quit any time by typing ctrl-c.
βœ… 1. Homebrew (0s)
βœ… 2. Base utilities (2s)
βœ… 3. Docker (2s)
βœ… 4. Clone repositories (3s)
❌ 5. Programming languages & tooling (4s)
❌ pnpm
version "8.15.1" from "pnpm" does not match constraint "~> 8.9.2"
❌ asdf reshim
we may need to regenerate asdf shims: version "8.15.1" from "pnpm" does not match constraint "~> 8.9.2"
❌ src
unexpected output from src: src: 1.33
βœ… 6. Postgres database (4s)
βœ… 7. Redis database (4s)
βœ… 8. sourcegraph.test development proxy (4s)
βœ… 9. Additional sg configuration (4s)
βœ… 10. Cloud services (5s)
πŸ‘‰ Attempting to fix 1 failed categories
Trying my hardest to fix "Programming languages & tooling" automatically...
✱ Fixing "pnpm"...
pnpm 8.9.2 is already installed
Check "pnpm" still failing: version "8.15.1" from "pnpm" does not match constraint "~> 8.9.2"
✱ Fixing "asdf reshim"...
Check "asdf reshim" still failing: we may need to regenerate asdf shims: version "8.15.1" from "pnpm" does not match constraint "~> 8.9.2"
✱ Fixing "src"...
Warning: sourcegraph/src-cli/src-cli 5.2.1 already installed
Check "src" still failing: unexpected output from src: src: 1.33
❌ 5. Programming languages & tooling - Some checks are still not satisfied
❌ Some categories are still unsatisfied: "Programming languages & tooling"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment