Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

runner: Make bad file errors unretriable #129

Merged
merged 2 commits into from
Jan 24, 2023

Conversation

victorges
Copy link
Member

No description provided.

@victorges victorges requested a review from a team as a code owner January 24, 2023 16:13
task/runner.go Outdated
@@ -28,13 +28,13 @@ const (

// Humanized errors
var (
errFileInaccessible = errors.New("file could not be imported from URL because it was not accessible")
errFileInaccessible = UnretriableError{errors.New("file could not be imported from URL because it was not accessible")}
Copy link
Contributor

Choose a reason for hiding this comment

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

The other two make sense, but could this one potentially be temporary for e.g a flakey HTTP endpoint?

Copy link
Member Author

@victorges victorges Jan 24, 2023

Choose a reason for hiding this comment

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

Yeahh, I had just removed this on a self review as well 🧠⚡🧠 haha c415ba0

Copy link
Contributor

Choose a reason for hiding this comment

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

@victorges victorges changed the title runner: Make bad file/url errors unretriable runner: Make bad file errors unretriable Jan 24, 2023
@victorges victorges enabled auto-merge (squash) January 24, 2023 16:17
@victorges victorges merged commit 209d66c into main Jan 24, 2023
@victorges victorges deleted the vg/fix/make-bad-file-errs-unretriable branch January 24, 2023 18:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants