Commit Graph

702 Commits

Author SHA1 Message Date
Erik Seliger
f9ac351dc3
Remove App from codebase (#59115)
Cody no longer needs it and it is obsolete now!

Since App added a non-insignificant amount of new concepts and alternative code paths, I decided to take some time and remove it from out codebase.
This PR removes ~21k lines of code. If we ever want parts of single binary (app), the redis kv alternatives, or the release pipeline for a native mac app back, we can look back at this PR and revert parts of it, but maintaining 21k lines of code and many code paths for which I had to delete a surprisingly small amount of tests justifies this move for me very well.

Technically, to some extent SG App and Cody App both still existed in the codebase, but we don't distribute either of them anymore, so IMO we shouldn't keep this weight in our code.

So.. here we go.

This should not affect any of the existing deployments, we only remove functionality that was special-cased for app.
2023-12-21 01:07:05 +01:00
William Bezuidenhout
a3143120c4
actions: create reusable workflow for sentry reports (#59098)
* actions: create reusable workflow for sentry reports
2023-12-20 17:05:03 +02:00
William Bezuidenhout
836271fddf
github-actions: report run failures to sentry (#59060)
* github-actions: report run failures to sentry

* report job name as well

* make buildchecker action consistent
2023-12-18 16:06:50 +00:00
William Bezuidenhout
d4660297f3
buildchecker: send an event to sentry if the action has failed (#59059)
* buildchecker: add step to report failures to sentry

* use dsn for sentry in action

* remove debug exit 1
2023-12-18 15:04:19 +02:00
William Bezuidenhout
c4e28460b0
license checker: update reviewers for automated update license pr (#59053) 2023-12-18 10:56:43 +02:00
Felix Kling
b8ef6d7476
Do not add code-exploration team label to PRs (#59003)
This team doesn't exist anymore
2023-12-14 16:18:53 +00:00
William Bezuidenhout
cc03635fdd
pr-auditor: use token secret (#58933) 2023-12-12 16:35:32 +00:00
Noah S-C
e821ef3c7f
bump go version in buildchecker (#58775) 2023-12-05 13:36:45 +00:00
Bolaji Olajide
568e5b2c1c
Update marketing website link in monorepo (#58449)
Co-authored-by: Alex Isken <alex.isken@sourcegraph.com>
Co-authored-by: Joe Chen <joe@sourcegraph.com>
2023-12-01 22:22:34 +00:00
Michael Lin
172d70097e
ci: bump go to 1.21 in gitub actions (#58642) 2023-11-28 21:33:58 -08:00
Bolaji Olajide
be46841014
remove CODEOWNERS (#58452) 2023-11-21 08:54:20 +01:00
Natik Gadzhi
c0550d263f
docs: Fixed a couple links in contributor docs (#58364)
- Removed a broken link in `CONTRIBUTING.md`. The handbook article must
  have been moved.
- Added the Discord link into `CONTRIBUTING.md`.
- Reworded Slack link to Discord link in the good first issue GH issue
  template.

Co-authored-by: Valery Bugakov <skymk1@gmail.com>
2023-11-16 09:59:34 +00:00
Camden Cheek
9b63655fca
Chore: remove team notification every time "batch" is mentioned (#58050) 2023-11-01 15:45:40 +00:00
Joe Chen
f145afbddd
chore: update label-notify.yml for Cody Gateway (#57968) 2023-10-30 09:32:39 +02:00
Michael Lin
c54a6a54b3
ci: fix sg msp is not release (#57955)
* ci: fix sg msp is not release

* Update sg-binary-release.yml
2023-10-27 15:48:24 -07:00
William Bezuidenhout
cf09ced6c5
license check: update versions used by workflow (#57943)
* update versions used by license check workflow

* update ruby version

* update pnpm version
2023-10-27 11:46:06 +00:00
Michael Lin
1b1bc4dadf
ci: release sg msp build (#57935) 2023-10-26 18:23:27 -07:00
Quinn Slack
b1c79d7c2e
bump pnpm version in scip-typescript workflow (#57921) 2023-10-26 05:06:42 -07:00
Camden Cheek
557b22b6c1
Chore: remove old issue templates (#57710) 2023-10-18 18:42:09 +00:00
s.shivasurya
4a296825ad
Remove Secret Scan Github Action in favour of Background Secret Scan (#57678)
remove trufflehog scan in favour of background scan
2023-10-17 18:00:13 +00:00
Ólafur Páll Geirsson
a0b711d35e
JetBrains: remove plugin (#57505)
The plugin codebase has been moved to the sourcegraph/jetbrains
repository. We keep the web assets for Code Search features inside this
repository.
2023-10-17 09:03:43 +00:00
William Bezuidenhout
5f2fbbb1a5
go: update to 1.20.10 (#57525) 2023-10-12 14:13:46 +02:00
Jean-Hadrien Chabran
e6ea7b2b9a
tracking-issue: only trigger periodically (#57538) 2023-10-11 14:20:37 +00:00
Erik Seliger
8a435278c8
source: Use automated project board workflows (#57487)
We added an [automated workflow](https://github.com/orgs/sourcegraph/projects/209/workflows/12532815) that adds team/source tickets to our triage inbox.
We will check this column regularly instead of creating massive email spam for each of us each time an issue is labeled with team/source.
This also allows us to retire some old GitHub actions workflows.
2023-10-10 18:47:51 +02:00
William Bezuidenhout
e2bcd9dccf
update go to 1.20.9 (#57483) 2023-10-09 16:16:57 +00:00
Erik Seliger
58fe87f6b5
enterprise: Move last directory out (#57392)
This is the end of the PR train to remove the enterprise directory from out repo since we have consolidated to use a single license.

Bye rough code split :)
2023-10-05 20:15:40 +00:00
William Bezuidenhout
c5b31f789e
ctags: fix push branch target (#57339) 2023-10-04 15:48:26 +02:00
William Bezuidenhout
9660ae5534
ctags actions: only upload when a change to ctags nix is pushed to main (#57296)
* only upload when a change to ctags nix is pushed to main

* change to trigger workflow

* use apple specific shasum

* binaries get uploaded when branch matches

* use github.head_ref

* use ref_name for push events

* add short sha to filename
2023-10-04 14:45:34 +02:00
Erik Seliger
6567e48223
Stop pinging efritz (#57322)
Until next time, dear fella :)
2023-10-03 22:36:47 +00:00
Erik Seliger
05faad04fb
Move worker out of enterprise and combine main entrypoints (#57302)
We're not doing the enterprise split anymore, so merging the two worker cmds.
2023-10-03 14:53:04 +02:00
Joe Chen
414ce2cb3c
chore: clean up obsolete tagging of the @sourcegraph/apis (#57091) 2023-09-27 16:31:11 +00:00
Joe Chen
046fccf2e3
chore: clean up CODENOTIFY for @sourcegraph/delivery (#57046) 2023-09-26 15:20:42 -04:00
Jean-Hadrien Chabran
2f6b83f774
ci: update Go version for sg binary releases (#56963) 2023-09-22 17:36:11 +01:00
Ólafur Páll Geirsson
ffee36605b
JetBrains: add restarting logic for agent (#56954)
* JetBrains: add restarting logic for agent

Previously, if the agent failed to start for some reason then we didn't
try restarting it on autocomplete/chat requests. This PR changes the
behavior to add restarting logic when the user submits a chat message
AND when the user triggers autocomplete with the alt-backslash shortcut
(but not automatic triggers).

To further aid in troubleshooting agent startup issues, this PR also:

- Redirects agent stderr into idea.log so that we capture unexpected
  errors starting the process (previously, stderr was lost).
- Adds a new GitHub issue template so that we can link to
  it in the error message when the agent is not running.

* Format
2023-09-22 14:37:57 +02:00
Andre Eleuterio
976eda3fe0
Add Shiva to security issue template (#56874) 2023-09-20 23:17:36 -04:00
Keegan Carruthers-Smith
981400909f
ci: remove scip actions for codyintel.sourcegraphcloud.com (#56833)
This instance no longer exists.

Test Plan: CI
2023-09-20 14:47:43 +00:00
Thorsten Ball
15dcd472c6
label-notify: add search-platform and apis (#56766)
This just makes sure we get pinged if assigned to a ticket.
2023-09-19 15:09:22 +02:00
Joe Chen
40b3b333c8
label-notify: add eric and geoffrey for Cody Gateway (#56705) 2023-09-16 09:03:17 -07:00
Piotr Chabelski
47cc6fe42d
JetBrains: Cody: Verify plugin compatibility (#56634)
* JetBrains: Cody: Configure plugin verifier

* JetBrains: Cody: Run plugin verifier on the CI

* JetBrains: Cody: Cache CI Gradle dependencies & IDEs for plugin verification (commented for now)

* JetBrains: Cody: Run plugin verifier in the release script
2023-09-15 09:38:02 +02:00
Jean-Hadrien Chabran
7b141f879f
gh: give a proper name to Jetbrains test job (#56622) 2023-09-14 12:37:17 +02:00
Erik Seliger
bf63610fad
Bump NodeJS to v18 (#56546)
* Bump NodeJS to v18

v16 is completely without support now, so finally making the switch to v18!

sg start and building the server image still seem to work - so I'm assuming this is fine.

Bazel question: Where does bazel get it's nodejs version from? Is this covered in this diff?

* update rules_js,rules_ts for node 18

* add rules_ts bazelrc config

* update test timeouts

* use 6.0.1 rules_nodejs and 18.17.1 nodejs tls

---------

Co-authored-by: William Bezuidenhout <william.bezuidenhout@sourcegraph.com>
2023-09-13 17:48:33 +02:00
Erik Seliger
ae0f7b5667
go: Upgrade to 1.20.8 (#56523)
Upgrades go from 1.20.5 to 1.20.8 which includes

go1.20.6 (released 2023-07-11) includes a security fix to the net/http package, as well as bug fixes to the compiler, cgo, the cover tool, the go command, the runtime, and the crypto/ecdsa, go/build, go/printer, net/mail, and text/template packages. See the Go 1.20.6 milestone on our issue tracker for details.

go1.20.7 (released 2023-08-01) includes a security fix to the crypto/tls package, as well as bug fixes to the assembler and the compiler. See the Go 1.20.7 milestone on our issue tracker for details.

go1.20.8 (released 2023-09-06) includes two security fixes to the html/template package, as well as bug fixes to the compiler, the go command, the runtime, and the crypto/tls, go/types, net/http, and path/filepath packages. See the Go 1.20.8 milestone on our issue tracker for details.
2023-09-12 11:58:32 +00:00
Jean-Hadrien Chabran
fe9695be7f
bzl: wrap migrations schemas/describe scripts (#56389)
Co-authored-by: William Bezuidenhout <william.bezuidenhout@sourcegraph.com>
2023-09-11 16:19:44 +02:00
Erik Seliger
7a116a2a15
Merge enterprise and oss frontend (#56476)
This is a big one! Merged the enterprise frontend with the OSS one, to get yet another step closer to getting rid of the enterprise directory :)
2023-09-11 14:16:38 +02:00
Kelli Rockwell
d859f2946c
Remove self from CODENOTIFY/OWNERS (#56451)
Co-authored-by: Bolaji Olajide <25608335+BolajiOlajide@users.noreply.github.com>
2023-09-08 15:37:51 +01:00
s.shivasurya
ba25b07efd
bumped trufflehog version to v3.54.3 (#56354)
* bumped version to v3.54.3

* Update .github/workflows/trufflehog.yml

Co-authored-by: Vincent <evict@users.noreply.github.com>

* Update .github/workflows/trufflehog.yml

Co-authored-by: Vincent <evict@users.noreply.github.com>

* fixed output flag

---------

Co-authored-by: Vincent <evict@users.noreply.github.com>
2023-09-04 13:56:05 -04:00
Bolaji Olajide
cf44b9ff17
release: update token used for backport (#56344) 2023-09-04 14:00:50 +01:00
s.shivasurya
231d0ac7d7
Trufflehog as Github Action Check (#56299)
* added trufflehog config

* added slack webhook for this action

* added slack webhook alerting

* fix argument

* remove github actions argument

* updated github action definition

* Update .github/workflows/trufflehog.yml

Co-authored-by: Vincent <evict@users.noreply.github.com>

* Update .github/workflows/trufflehog.yml

Co-authored-by: Vincent <evict@users.noreply.github.com>

* Update .github/workflows/trufflehog.yml

Co-authored-by: Vincent <evict@users.noreply.github.com>

* Update .github/workflows/trufflehog.yml

Co-authored-by: Vincent <evict@users.noreply.github.com>

---------

Co-authored-by: Vincent <evict@users.noreply.github.com>
2023-09-01 07:44:03 -04:00
Erik Seliger
0780363bf0
Remove GitHub handles from notifications (#56199)
To not spam their accounts indefinitely, removing them from codenotify.
2023-08-24 12:45:50 +00:00
Dave Try
87dcc9f8d7
build on PR, not push (#56125) 2023-08-22 14:30:39 +00:00