sourcegraph/cmd
Ryan Slade 3a960a9b4b
a8n: Remove published_at from ChangesetJobs (#7864)
* a8n: Remove published_at from ChangesetJobs

It can be assumed that once a ChangesetJob has been created it should be
processed. Following this invariant, we no longer need the published_at
field on a ChangesetJob.

ChangesetJobs are created from CampaignJobs in one of two ways:

1. A Campaign is published leading to all CampaignJobs being created
along with their corresponding ChangesetJobs.

2. A ChangesetJob can be manually created by publishing an indivdual
campaign job.

* a8n: Group imports

* a8n: Rename PublishChangesetJobForCampaignJob to CreateChangesetJobForCampaignJob

Creating IS publishing

* Update enterprise/internal/a8n/store.go

Co-Authored-By: Thorsten Ball <mrnugget@gmail.com>

* a8n: Move test case back into main testing function

* a8n: Add extra test cases for GetLatestChangesetJobCreatedAt

* a8n: Improve GetLatestChangesetJobCreatedAt SQL

* migration: Add indexes to help GetLatestChangesetJobCreatedAt

* frontend: Regenerate schema

Co-authored-by: Thorsten Ball <mrnugget@gmail.com>
2020-01-20 16:46:34 +02:00
..
frontend a8n: Remove published_at from ChangesetJobs (#7864) 2020-01-20 16:46:34 +02:00
github-proxy all: fix some errcheck warnings (#7800) 2020-01-16 14:18:05 +02:00
gitserver vcs/git: do not use xtest (#7857) 2020-01-17 16:17:37 +02:00
loadtest loadtest: extract search closure (#7802) 2020-01-17 09:11:15 +02:00
lsif-server LSIF: Rewrite LSIF supervisor to use goreman (#7233) 2020-01-06 16:33:38 -06:00
query-runner Update internal telemetry endpoint and remove external one (#7351) 2019-12-26 09:46:58 -08:00
replacer Update comby/comby Docker tag to v0.13.0 (#7742) 2020-01-14 19:50:44 -07:00
repo-updater all: Replace usages of pretty.Compare with cmp.Diff (#7887) 2020-01-20 12:53:43 +02:00
searcher all: fix some errcheck warnings (#7800) 2020-01-16 14:18:05 +02:00
server ci: include job log on failure of parallel_run (#7862) 2020-01-17 16:54:32 +02:00
symbols all: fix some errcheck warnings (#7800) 2020-01-16 14:18:05 +02:00