Commit Graph

36 Commits

Author SHA1 Message Date
Eric Fritz
988a8569ac
codeintel: Remove oobmigration step from codeintel-qa (#47714) 2023-02-17 13:45:00 -06:00
Eric Fritz
a528304b51
codeintel: Register SCIP oobmigration (#45106) 2023-01-23 14:24:44 +00:00
Jean-Hadrien Chabran
bc5490c4bb
bazel: introduce build files for Go (#46770) 2023-01-23 14:00:01 +01:00
Eric Fritz
8a2ee34ae5
codeintel: Revert codeintel-qa bucket until SCIP tests are relevant (#46578) 2023-01-17 15:54:04 +00:00
Eric Fritz
a9fdbf3181
codeintel-qa: Remove bash (#46300) 2023-01-11 13:47:50 +00:00
Eric Fritz
ba779e9b26
codeintel-qa: Fix working directory in scripts (#45093) 2022-12-02 13:12:26 -06:00
Keegan Carruthers-Smith
27569d1fc7
all: run gofmt -s -w from 1.19 (#41629)
gofmt in go1.19 does a lot of reformating of godoc strings, mostly to
make them more consistent around lists.

Test Plan: CI
2022-09-13 07:44:06 +00:00
Noah S-C
84264dc162
dump lsif_configuration_policies (#39486) 2022-07-27 08:23:31 -05:00
Noah S-C
fc570afc99
codeintel: qa - sort monitored uploads, not just IDs (#38935) 2022-07-18 12:32:48 +00:00
Eric Fritz
64ca7ba975
codeintel-qa: Clean up debugging output (#38895) 2022-07-15 17:40:15 +00:00
Noah S-C
424ef05b1a
gqltest: allow writing of request and response bodies to a sink (#38841) 2022-07-14 22:33:04 +01:00
Eric Fritz
55e56dd5f7
codeintel-qa: Run pg_dump inside server image (#38821) 2022-07-14 18:40:11 +01:00
Noah S-C
76342deaed
[debug] codeintel: print stderr of pg_dump (#38803) 2022-07-14 12:27:39 +00:00
Eric Fritz
1ff13c4f9c
codeintel-qa: Add pg_dump to output (#38775) 2022-07-14 00:01:37 +00:00
Noah S-C
eb58e18c0e
[debug] codeintel: print uploads IDs where possible (#38748) 2022-07-13 15:00:57 +00:00
Noah S-C
da45fb3618
[debug] codeintel: dump raw uploads state in codeintel-qa (#38723) 2022-07-13 13:25:01 +01:00
Ryan
a810cccb2b
Update language for manage repos to manage code hosts (#38704) 2022-07-13 09:29:28 +02:00
Noah S-C
979148a999
codeintel: re-enable qa with audit logs dumping (#38554) 2022-07-11 17:44:16 -07:00
Varun Gandhi
9577d0736a
ci(flake): Disable test properly. (#37738) 2022-06-27 11:28:52 +02:00
Varun Gandhi
ecd29b4503
ci(flake): Skip codeintel QA upload test. (#37672) 2022-06-24 10:41:25 +02:00
Varun Gandhi
7b33210353
docs: Replace src lsif with src code-intel. (#37389) 2022-06-17 17:32:43 +00:00
Keegan Carruthers-Smith
18f487ccaa
all: use any instead of interface{} (#35102)
Now that we require go1.18, we can use a builtin type alias for
"interface{}": "any". I've updated all code except lib, which can be
imported by external modules. That is currently pinned at go1.16.
Additionally I had to rerun generate since rewriting generated go code
will fail CI.

  find -name '*.go' | xargs gofmt -s -r 'interface{} -> any' -w
  git checkout lib
  go generate ./...

Test Plan: CI will exercise that the code still compiles. Otherwise this
is a noop.
2022-05-09 10:59:39 +02:00
Eric Fritz
fc9c2816d3
codeintel: Add -allow-dirty-instance to codeintel-qa test (#35024) 2022-05-05 22:25:30 +00:00
Eric Fritz
72fc8aac75
codeintel-qa: Add clear command (#34936) 2022-05-05 19:13:59 +01:00
Eric Fritz
2fe31486ab
codeintel: Add instance state check on query failures in codeintel-qa (#34874) 2022-05-04 04:49:26 -05:00
Thorsten Ball
8d3e231322
golangci-lint: enable unparam linter (#31856)
Team work makes the linter dream work.

Co-authored-by: Varun Gandhi <varun.gandhi@sourcegraph.com>
2022-02-28 15:31:44 +01:00
Keegan Carruthers-Smith
039b26201f
all: replace regexp with grafana/regexp (#30948)
grafana/regexp's speedup branch contains the stdlib regexp with multiple
patches applied to speed up regexp. The benchmark improvements are quite
impressive across the board. The series of patches are being considered
for inclusion in golang. I took a look over them, and they look legit
enough for us to start using it.

This commit replaces all uses of regexp with grafana/regexp. This
replacement was done via a simple string replace on

  ^\s*"regexp"

Followed by goimports -w across the repository. I then manually
inspected each result to ensure it was on an import.
2022-02-14 09:08:21 +00:00
Eric Fritz
33c71b3fba
codeintel: Fix race condition in upload expirer (#30546) 2022-02-10 19:43:50 +00:00
Eric Fritz
7148009913
errors: Introduce internal package (#30558) 2022-02-07 15:03:45 +00:00
Eric Fritz
4d2a39d303
lint: Fix fmt.Errorf guard (#30604) 2022-02-03 14:56:55 +00:00
Eric Fritz
1be560d16d
migrations: Small refactor to runner package (#30428) 2022-01-31 14:47:48 -07:00
Eric Fritz
67482d8f13
codeintel-qa: Fix concurrent map read/write (take 2) (#26604) 2021-10-25 14:31:32 -05:00
Eric Fritz
1a6fe87eba
codeintel-qa: Fix concurrent map read/write (#26597) 2021-10-25 17:57:55 +00:00
Chris Wendt
9169054db9
codeintel-qa: print stats by repo on failure (#25818) 2021-10-08 19:15:15 -06:00
Chris Wendt
a993190368
codeintel-qa: more descriptive failure message (#25806) 2021-10-07 14:00:26 -06:00
Eric Fritz
95cbf3c85a
codeintel-qa: Rewrite precise-code-intel-tester (#25412) 2021-10-04 09:46:24 -05:00