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

CBG-3697 make sure on demand import errors show up as 404 #6637

Merged
merged 3 commits into from
Jan 11, 2024
Merged

Conversation

torcolvin
Copy link
Collaborator

  • The result of this is that blip will send a NoRev message since this
    revision is not accessible.

  • Delete validation in validateImportBody rather than change the type to
    report 404 since the only caller does not pass a nil pointer into this
    function.

Pre-review checklist

  • Removed debug logging (fmt.Print, log.Print, ...)
  • Logging sensitive data? Make sure it's tagged (e.g. base.UD(docID), base.MD(dbName))
  • Updated relevant information in the API specifications (such as endpoint descriptions, schemas, ...) in docs/api

Integration Tests

- The result of this is that blip will send a NoRev message since this
revision is not accessible.

- Delete validation in validateImportBody rather than change the type to
  report 404 since the only caller does not pass a nil pointer into this
  function.
@adamcfraser adamcfraser merged commit 444f9b1 into master Jan 11, 2024
30 checks passed
@adamcfraser adamcfraser deleted the CBG-3697 branch January 11, 2024 21:23
gregns1 pushed a commit that referenced this pull request Feb 6, 2024
* write test

* Change validation

* CBG-3697 make sure on demand import errors show up as 404

- The result of this is that blip will send a NoRev message since this
revision is not accessible.

- Delete validation in validateImportBody rather than change the type to
  report 404 since the only caller does not pass a nil pointer into this
  function.
torcolvin added a commit that referenced this pull request Feb 6, 2024
…ed correctly (#6670)

* CBG-3697 make sure on demand import errors show up as 404 (#6637)

* write test

* Change validation

* CBG-3697 make sure on demand import errors show up as 404

- The result of this is that blip will send a NoRev message since this
revision is not accessible.

- Delete validation in validateImportBody rather than change the type to
  report 404 since the only caller does not pass a nil pointer into this
  function.

* CBG-3697 skip test without xattrs (#6649)

* updates to remove btcrunner on test

---------

Co-authored-by: Tor Colvin <[email protected]>
bbrks pushed a commit that referenced this pull request Mar 28, 2024
* write test

* Change validation

* CBG-3697 make sure on demand import errors show up as 404

- The result of this is that blip will send a NoRev message since this
revision is not accessible.

- Delete validation in validateImportBody rather than change the type to
  report 404 since the only caller does not pass a nil pointer into this
  function.
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.

2 participants