profile
viewpoint

efritz/nacelle 4

This project has migrated to http://github.com/go-nacelle/nacelle.

arrowsjs/arrows 3

Arrows are a method for async composition in JavaScript.

efritz/glock 2

Small go library for mocking parts of the time package.

efritz/backoff 1

Algorithms to generate intervals.

efritz/deepjoy 1

A pooling and retrying redis client.

push eventsourcegraph/deploy-sourcegraph

sourcegraph-bot

commit sha f9737bd04fe4345f2e6d1f01b816633829dfe461

Update Sourcegraph Docker insiders images (#1414)

view details

push time in 13 minutes

delete branch sourcegraph/deploy-sourcegraph

delete branch : renovate/docker-sourcegraph-docker-insiders-images

delete time in 13 minutes

PR merged sourcegraph/deploy-sourcegraph

Update Sourcegraph Docker insiders images automerge

This PR contains the following updates:

Package Update Change
index.docker.io/sourcegraph/cadvisor digest 7644fcf -> 422f844
index.docker.io/sourcegraph/frontend digest a485733 -> 6b40084
index.docker.io/sourcegraph/github-proxy digest abc76eb -> 693e642
index.docker.io/sourcegraph/gitserver digest ec8a624 -> 658231b
index.docker.io/sourcegraph/grafana digest 0294c60 -> dfc504d
index.docker.io/sourcegraph/jaeger-agent digest 0e3f361 -> 8261629
index.docker.io/sourcegraph/jaeger-all-in-one digest 62abc3c -> b2c92f8
index.docker.io/sourcegraph/precise-code-intel-worker digest 4c3326e -> 161ac81
index.docker.io/sourcegraph/prometheus digest fac3a50 -> 7e40eba
index.docker.io/sourcegraph/query-runner digest 06ad4f0 -> f26bde1
index.docker.io/sourcegraph/repo-updater digest 7386762 -> 94fca6c
index.docker.io/sourcegraph/searcher digest 4d69426 -> c02a835
index.docker.io/sourcegraph/symbols digest 68ad133 -> eb6e376

Source: https://github.com/sourcegraph/sourcegraph/pull/16360


Renovate configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

This PR was generated by the 'Renovate downstream' workflow

+19 -19

0 comment

12 changed files

sourcegraph-bot

pr closed time in 13 minutes

push eventsourcegraph/sourcegraph

renovate[bot]

commit sha 7fd13dd46ff218ec618a23ed7ed11a2f6f5ea3e0

Update dependency graphiql to ^1.1.0 (#16279) Co-authored-by: Renovate Bot <bot@renovateapp.com>

view details

renovate[bot]

commit sha db35069632dea59dcb4fb754ed5eef693fae3881

Update dependency graphql-schema-linter to v1 (#16377) Co-authored-by: Renovate Bot <bot@renovateapp.com>

view details

TJ Kandala

commit sha c04b335160a328d11360be74a033a659bb41eaab

docs: extension architecture (#15679)

view details

Stefan Hengl

commit sha d731388178b7ec8cc4a6dca0597281220d49baa2

search: code monitoring, move queries to store (#16357) This is a pure refactor. This PR moves all db-interactions with cm_queries from resolver.go to to the store (../queries.go).

view details

Rijnard van Tonder

commit sha 6d8ba01a130a34e868aab3dae09188ad49781bc1

search frontend: disable toggles for search expressions (#16346)

view details

ᴜɴᴋɴᴡᴏɴ

commit sha 1f1e102f8d1df9613ce11123015ab783a84a4857

graphqlbackend: make BigInt use signed ints (#16388)

view details

Ryan Slade

commit sha 9e7b950ae84a0f5bbf5e5a6b05ff6fa7a41d067a

repo-updater: Use unnest instead of json_to_recordset (#16372) * repo-updater: Use unnest instead of json_to_recordset We found previously that using json_to_recordset can lead to temporary file limit errors. In this case, even though we're mostly sending small amounts of data to our statements we have a trigger that runs after any rows in external_service_repos are deleted. The trigger reads most rows in our repo and external_service_repos table and this in combination with json_to_recordset appears to lead to temporary file limit errors. * Fix typo

view details

Tomás Senart

commit sha 15c35db708eb2541ddc86cb5c3c583e940693bf4

vcs/git: Remove commandRetryer (#16360) This changeset removes the jurassic `commandRetryer` struct and logic, that was used by `git.ResolveRevision` and `git.GetCommit`. With gitserver now always knowing the clone URL for a given repo name it receives, there's no need for the client side to have the logic to acquire the remote URL if needed. Co-authored-by: Keegan Carruthers-Smith <keegan.csmith@gmail.com> Co-authored-by: Keegan Carruthers-Smith <keegan.csmith@gmail.com>

view details

Renovate Bot

commit sha 9cecfdd86e297e2a8a3c3934da43a79c074af41b

Update dependency react-dom to v17

view details

push time in 21 minutes

push eventsourcegraph/sourcegraph

Renovate Bot

commit sha f6dada61cc3c3c71dd365852bb9191aa5d8f4967

Update dependency @types/recharts to v1.8.17

view details

Stefan Hengl

commit sha 97094018c45618df63d1f2d8094318ad0c72edac

search: code monitoring, move emails to store (#16234) This refactor moves the db interactions with table `cm_emails` from the resolver to store.

view details

Ryan Slade

commit sha 36c99deb5cbafcd8252cf9aadd246362c6ad5a97

db: Drop duplicate index. (#16286) On external_service_repos: external_service_repos_repo_id (repo_id) Is covered by: external_service_repos_repo_id_external_service_id_unique (repo_id, external_service_id)

view details

Stefan Hengl

commit sha 5401716954ce11c9fbb0e5f75ba613a0c313dcad

search: add email recipients to code monitor store (#16238) To send emails for trigger events, we need to retrieve the recipients of an email action from the db. This PR prepares the code for that; it is mostly a refactor which moves db-CRUD operations for recipients from resolvers.go down to the store.

view details

Renovate Bot

commit sha 7a03bae8066c920b772cbe271cca9852a6d1892c

Update dependency stylelint to ^13.8.0

view details

Renovate Bot

commit sha 5206eea88b373ad9f0e100fff34b23c1078d9282

Update dependency @types/resize-observer-browser to v0.1.4

view details

Stefan Hengl

commit sha cb5875900ce85dcf087898aeaa28cb6cd6aedbe0

search: add query monitorByID (#16316) This PR adds monitorByID which allows us to query the monitor independently of the user.

view details

Eric Fritz

commit sha 0d71d1e69cfc69d003c8ea4b43e380a045c78d2f

executor: Pass secrets along with job payload (#16260)

view details

Farhan Attamimi

commit sha a449dde1c29e0554bd8c5cf56081d15e54d32e5d

Manage code monitor page: base routing (#16274)

view details

Artem Ruts

commit sha a5fba26d5c3e1a6538b27651c4a630b461d0e8c3

Emails page redesign (#15778) User email settings page rewrite. Co-authored-by: TJ Kandala <kandalatj@gmail.com> Co-authored-by: Felix Becker <felix.b@outlook.com>

view details

María Craig

commit sha 4dc7a825359f2ecadebeedac90450f880ca1cda4

Replace image in tutorial to improve clarity (#16334)

view details

Eric Fritz

commit sha dc8beddf4066e30198c5ea368e6ee1092a6f4560

codeintel: Topologically sort commits in gitserver (#16270)

view details

Eric Fritz

commit sha 4e10e9f9a7a600d65dc9b24468073faad49e832d

codeintel: Reduce memory when calculating commit graph (#16086)

view details

Eric Fritz

commit sha 6c9ea16c0f48a7bb7835580cb7f5db838102763e

codeintel: Limit size of commit graph (#16140)

view details

Robert Lin

commit sha 833238b5c8fb40f889c45e4cb1ae8cc000dfc2cd

monitoring: upgrade gomarkdoc and regenerate (#16311)

view details

Eric Fritz

commit sha 76317ed3b30fcb894b10670bbd8c1e854e3046fb

codeintel: Make executor logs structured (#15957)

view details

Adam Harvey

commit sha 750c54825949b5b6b4863d22544c65cbefc6fbf8

campaigns: allow changeset diffs to be downloaded (#16337) Closes #16098.

view details

Erik Seliger

commit sha 5ca110b96ec7610f47dde6b63c071599bba44a1e

Implement delta API resolvers on changeset spec (#16185) Implements the GraphQL resolvers for the delta API fields added before. Closes #16055 Closes #16057

view details

Erik Seliger

commit sha f71d3dce5b16c47fefdf3657e5ea88ac821f4a55

Implement basic first version of delta UI (#16240) Adds a very first version of the delta UI, until it gets a proper design. This should help detect issues early so we have time before the release to iron things out.

view details

Rijnard van Tonder

commit sha 57e0d67bc97c592fcdf4b1c678fec33e27dc5167

search frontend: infer correct patterntype for eslint (#16338)

view details

push time in 22 minutes

push eventsourcegraph/deploy-sourcegraph-docker

Renovate Bot

commit sha 2ba653fbab322be43a94ad35d1b3cd4532e9836f

chore(deps): update github.com/sourcegraph/sourcegraph/enterprise/dev/ci/images commit hash to 15c35db

view details

push time in 23 minutes

push eventsourcegraph/deploy-sourcegraph-docker

Renovate Bot

commit sha 107fa0d18be73236184f7287ed6466388b5d4ea9

Update Sourcegraph Prometheus / Grafana Docker images

view details

push time in 23 minutes

push eventsourcegraph/deploy-sourcegraph-docker

Renovate Bot

commit sha 1592d6e0e693d53bd778d018a45c7071a62cdd37

Update Sourcegraph Docker images

view details

push time in 23 minutes

issue commentsourcegraph/sourcegraph

Centralize dogfood stackdriver logs into Elastic

Discussion on deployment models https://docs.google.com/document/d/13FLKXjBgjbxIfnbsAAoIhgtNJLgSJd7vhDltQXfBhgs/edit

chayim

comment created time in 30 minutes

push eventsourcegraph/deploy-sourcegraph

Renovate Bot

commit sha fa92316f70d343fcd3d7c436caeb053d09d71017

Update Sourcegraph Docker insiders images

view details

push time in 31 minutes

push eventsourcegraph/deploy-sourcegraph

sourcegraph-bot

commit sha d03a30b31323a24d547eb8412f5587ce2e0b893b

Update Sourcegraph Docker insiders images (#1413)

view details

Renovate Bot

commit sha f597bfde9d3de8f88f897ffc62b1a465aff9fa3c

Update module Azure/go-autorest to v14

view details

push time in 32 minutes

push eventsourcegraph/deploy-sourcegraph

sourcegraph-bot

commit sha d03a30b31323a24d547eb8412f5587ce2e0b893b

Update Sourcegraph Docker insiders images (#1413)

view details

Renovate Bot

commit sha f870fa1d50a39f886a0e5e0ef2fe9c0722e8447f

Update github.com/sourcegraph/sourcegraph/enterprise/dev/ci/images commit hash to 15c35db

view details

push time in 32 minutes

PR opened sourcegraph/deploy-sourcegraph

Update Sourcegraph Docker insiders images

This PR contains the following updates:

Package Update Change
index.docker.io/sourcegraph/cadvisor digest 7644fcf -> 422f844
index.docker.io/sourcegraph/frontend digest a485733 -> 6b40084
index.docker.io/sourcegraph/github-proxy digest abc76eb -> 693e642
index.docker.io/sourcegraph/gitserver digest ec8a624 -> 658231b
index.docker.io/sourcegraph/grafana digest 0294c60 -> b8454c1
index.docker.io/sourcegraph/jaeger-agent digest 0e3f361 -> 8261629
index.docker.io/sourcegraph/jaeger-all-in-one digest 62abc3c -> 5108b38
index.docker.io/sourcegraph/precise-code-intel-worker digest 4c3326e -> 161ac81
index.docker.io/sourcegraph/prometheus digest fac3a50 -> 31b0d16
index.docker.io/sourcegraph/query-runner digest 06ad4f0 -> f26bde1
index.docker.io/sourcegraph/repo-updater digest 7386762 -> 94fca6c
index.docker.io/sourcegraph/searcher digest 4d69426 -> c02a835
index.docker.io/sourcegraph/symbols digest 68ad133 -> 4b9c35d

Source: https://github.com/sourcegraph/sourcegraph/pull/16360


Renovate configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

This PR was generated by the 'Renovate downstream' workflow

+19 -19

0 comment

12 changed files

pr created time in 33 minutes

push eventsourcegraph/sourcegraph

ᴜɴᴋɴᴡᴏɴ

commit sha 1f1e102f8d1df9613ce11123015ab783a84a4857

graphqlbackend: make BigInt use signed ints (#16388)

view details

Ryan Slade

commit sha 9e7b950ae84a0f5bbf5e5a6b05ff6fa7a41d067a

repo-updater: Use unnest instead of json_to_recordset (#16372) * repo-updater: Use unnest instead of json_to_recordset We found previously that using json_to_recordset can lead to temporary file limit errors. In this case, even though we're mostly sending small amounts of data to our statements we have a trigger that runs after any rows in external_service_repos are deleted. The trigger reads most rows in our repo and external_service_repos table and this in combination with json_to_recordset appears to lead to temporary file limit errors. * Fix typo

view details

Tomás Senart

commit sha 15c35db708eb2541ddc86cb5c3c583e940693bf4

vcs/git: Remove commandRetryer (#16360) This changeset removes the jurassic `commandRetryer` struct and logic, that was used by `git.ResolveRevision` and `git.GetCommit`. With gitserver now always knowing the clone URL for a given repo name it receives, there's no need for the client side to have the logic to acquire the remote URL if needed. Co-authored-by: Keegan Carruthers-Smith <keegan.csmith@gmail.com> Co-authored-by: Keegan Carruthers-Smith <keegan.csmith@gmail.com>

view details

Renovate Bot

commit sha ab744e457d63f40be82151bb5db8244a0436ea19

Pin reviewdog/action-golangci-lint Docker tag

view details

push time in 39 minutes

push eventsourcegraph/extension-api-stubs

Felix Becker

commit sha b7293a28a2d59ea9a592c5a66cbc642eaa09d8f2

ci: rename test -> build

view details

push time in an hour

push eventsourcegraph/sourcegraph

Tomás Senart

commit sha 15c35db708eb2541ddc86cb5c3c583e940693bf4

vcs/git: Remove commandRetryer (#16360) This changeset removes the jurassic `commandRetryer` struct and logic, that was used by `git.ResolveRevision` and `git.GetCommit`. With gitserver now always knowing the clone URL for a given repo name it receives, there's no need for the client side to have the logic to acquire the remote URL if needed. Co-authored-by: Keegan Carruthers-Smith <keegan.csmith@gmail.com> Co-authored-by: Keegan Carruthers-Smith <keegan.csmith@gmail.com>

view details

push time in an hour

delete branch sourcegraph/sourcegraph

delete branch : debt/remove-command-retryer

delete time in an hour

PR merged sourcegraph/sourcegraph

Reviewers
vcs/git: Remove commandRetryer team/cloud

This changeset removes the jurassic commandRetryer struct and logic, that was used by git.ResolveRevision and git.GetCommit. With gitserver now always knowing the clone URL for a given repo name it receives, there's no need for the client side to have the logic to acquire the remote URL if needed.

+45 -190

2 comments

23 changed files

tsenart

pr closed time in an hour

push eventsourcegraph/sourcegraph

Ryan Slade

commit sha 9e7b950ae84a0f5bbf5e5a6b05ff6fa7a41d067a

repo-updater: Use unnest instead of json_to_recordset (#16372) * repo-updater: Use unnest instead of json_to_recordset We found previously that using json_to_recordset can lead to temporary file limit errors. In this case, even though we're mostly sending small amounts of data to our statements we have a trigger that runs after any rows in external_service_repos are deleted. The trigger reads most rows in our repo and external_service_repos table and this in combination with json_to_recordset appears to lead to temporary file limit errors. * Fix typo

view details

push time in an hour

delete branch sourcegraph/sourcegraph

delete branch : unnest-upsert-sources

delete time in an hour

PR merged sourcegraph/sourcegraph

repo-updater: Use unnest instead of json_to_recordset team/cloud

We found previously that using json_to_recordset can lead to temporary file limit errors.

In this case, even though we're mostly sending small amounts of data to our statements we have a trigger that runs after any rows in external_service_repos are deleted. The trigger reads most rows in our repo and external_service_repos table and this in combination with json_to_recordset appears to lead to temporary file limit errors.

Closes: https://github.com/sourcegraph/sourcegraph/issues/16318

+46 -56

1 comment

1 changed file

ryanslade

pr closed time in an hour

issue closedsourcegraph/sourcegraph

Temporary file size error when upserting sources

Currently we are getting an error whenever upserting sources:

syncer.sync.store.upsert-sources: pq: temporary file size exceeds temp_file_limit (1025563kB)

This is likely caused by a db cleanup where we moved about 400k repos from one external service to another.

closed time in an hour

ryanslade

push eventsourcegraph/extension-api-stubs

Felix Becker

commit sha 41b1837ac882fd39f7eb6e33181de9a9037fdc03

ci: migrate to GitHub actions

view details

push time in an hour

push eventsourcegraph/sourcegraph

Ryan Slade

commit sha dd736554ac1e823580d3b3f374d082d1ad6eea21

Fix typo

view details

push time in an hour

issue commentsourcegraph/sourcegraph

Migrate our external public repos from Travis to GitHub actions

Heads up @joelkw @felixfbecker @jeanduplessis - the "team/web" label was applied to this issue.

felixfbecker

comment created time in an hour

issue openedsourcegraph/sourcegraph

Migrate our external public repos from Travis to GitHub actions

Travis has become increasingly unreliable since they switched to credit-based pricing, blocking teammates from merging PRs. We should migrate those repos to GitHub actions.

created time in an hour

Pull request review commentsourcegraph/sourcegraph

repo-updater: Use unnest instead of json_to_recordset

 func (s *DBStore) UpsertSources(ctx context.Context, inserts, updates, deletes m 		return nil 	} -	marshalSourceList := func(sources map[api.RepoID][]SourceInfo) ([]byte, error) {-		srcs := make([]externalServiceRepo, 0, len(sources))+	type sourceSlices struct {+		exteralServiceIDs []int64+		repoIDs           []int64+		cloneURLs         []string+	}++	makeSourceSlices := func(sources map[api.RepoID][]SourceInfo) sourceSlices {+		srcs := sourceSlices{+			exteralServiceIDs: make([]int64, 0, len(sources)),+			repoIDs:           make([]int64, 0, len(sources)),+			cloneURLs:         make([]string, 0, len(sources)),+		} 		for rid, infoList := range sources { 			for _, info := range infoList {-				srcs = append(srcs, externalServiceRepo{-					ExternalServiceID: info.ExternalServiceID(),-					RepoID:            int64(rid),-					CloneURL:          info.CloneURL,-				})+				srcs.exteralServiceIDs = append(srcs.exteralServiceIDs, info.ExternalServiceID())+				srcs.repoIDs = append(srcs.repoIDs, int64(rid))+				srcs.cloneURLs = append(srcs.cloneURLs, info.CloneURL) 			} 		}-		return json.Marshal(srcs)+		return srcs 	} -	insertedSources, err := marshalSourceList(inserts)-	if err != nil {-		return err-	}--	updatedSources, err := marshalSourceList(updates)-	if err != nil {-		return err-	}+	insertedSources := makeSourceSlices(inserts)+	updatedSources := makeSourceSlices(updates)+	deletedSources := makeSourceSlices(deletes) -	deletedSources, err := marshalSourceList(deletes)-	if err != nil {-		return err-	}+	// TODO: Most of the time deletes don't happen so we should lazily add that statement because

I'll do this in a followup PR once we confirm that the other changes solve the root cause

ryanslade

comment created time in an hour

push eventsourcegraph/deploy-sourcegraph

sourcegraph-bot

commit sha d03a30b31323a24d547eb8412f5587ce2e0b893b

Update Sourcegraph Docker insiders images (#1413)

view details

push time in an hour

delete branch sourcegraph/deploy-sourcegraph

delete branch : renovate/docker-sourcegraph-docker-insiders-images

delete time in an hour

more