Skip to content

fix(news): stop IHAVE when duplicate lookup fails#89

Open
SabFabDev wants to merge 1 commit into
profullstack:mainfrom
SabFabDev:fix/ihave-backend-errors
Open

fix(news): stop IHAVE when duplicate lookup fails#89
SabFabDev wants to merge 1 commit into
profullstack:mainfrom
SabFabDev:fix/ihave-backend-errors

Conversation

@SabFabDev

Copy link
Copy Markdown

Summary

  • propagate unexpected backend errors from the NNTP IHAVE duplicate lookup instead of continuing to accept an article
  • add a regression test proving the connection closes and Post is not called when the lookup backend is unavailable
  • remove two unused fields reported by Staticcheck

This is a focused small uGig bugfix deliverable.

Verification

  • go test ./...
  • go vet ./...
  • go run honnef.co/go/tools/cmd/staticcheck@latest ./...
  • go test -race ./...
  • git diff --check

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.

1 participant