Skip to content

Conversation

@eseliger
Copy link
Member

We didn't return the specs in case of an error, so we would ignore the error, but still have no changeset specs uploaded, which resulted in the generated batch spec in the preview being empty.

We didn't return the specs in case of an error, so we would ignore the error, but still have no changeset specs uploaded, which resulted in the generated batch spec in the preview being empty.
@eseliger eseliger added bug Something isn't working team/code-search labels May 17, 2021
@eseliger eseliger requested a review from a team May 17, 2021 18:30
Copy link
Contributor

@courier-new courier-new left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice find! Thanks for adding a regression test for this, too.

@eseliger eseliger merged commit fac5bb1 into main May 17, 2021
@eseliger eseliger deleted the es/fix-skip-errors-flag branch May 17, 2021 22:03
mrnugget added a commit that referenced this pull request May 18, 2021
mrnugget added a commit that referenced this pull request May 18, 2021
mrnugget added a commit that referenced this pull request May 19, 2021
…Coordinator/Service/executor (#536)

* Broken build with TaskStatusHubThing

* Introduce Coordinator

* Replace TaskStatusHubThing with TaskStatusCollection

* Clean up the executor

* Clean up handling of ExecutionOpts

* Fix missing rename

* Make executor property and status a runtime arg

* Create separate tests for Coordinator

* Fix tests for Coordinator

* More test cleanup

* Re-add missing test

* Re-add transfromGroup test but its passing, what

* Add test for transform group

* Add test helpers

* Backport fix from #539

* Update internal/batches/executor/coordinator.go

Co-authored-by: Adam Harvey <aharvey@sourcegraph.com>

Co-authored-by: Adam Harvey <aharvey@sourcegraph.com>
scjohns pushed a commit that referenced this pull request Apr 24, 2023
We didn't return the specs in case of an error, so we would ignore the error, but still have no changeset specs uploaded, which resulted in the generated batch spec in the preview being empty.
scjohns pushed a commit that referenced this pull request Apr 24, 2023
…Coordinator/Service/executor (#536)

* Broken build with TaskStatusHubThing

* Introduce Coordinator

* Replace TaskStatusHubThing with TaskStatusCollection

* Clean up the executor

* Clean up handling of ExecutionOpts

* Fix missing rename

* Make executor property and status a runtime arg

* Create separate tests for Coordinator

* Fix tests for Coordinator

* More test cleanup

* Re-add missing test

* Re-add transfromGroup test but its passing, what

* Add test for transform group

* Add test helpers

* Backport fix from #539

* Update internal/batches/executor/coordinator.go

Co-authored-by: Adam Harvey <aharvey@sourcegraph.com>

Co-authored-by: Adam Harvey <aharvey@sourcegraph.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working team/code-search

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants