Skip to content

update: dataset deletion - #133

Merged
nikhilsinhaparseable merged 1 commit into
parseablehq:mainfrom
parmesant:update-tests-for-async-dataset-deletion
Nov 11, 2026
Merged

nikhilsinhaparseable merged 1 commit into
parseablehq:mainfrom
parmesant:update-tests-for-async-dataset-deletion

Conversation

@parmesant

@parmesant parmesant commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

changes for Parseable #1770

RetriggerView in GreptileConfidence Score: 4/5

The PR appears safe to merge, with a non-blocking gap in tests for the new retry helpers.

Fix All in CodexFindings

  1. P2 Retry behavior lacks tests ▶
Fix with agent prompt
### Issue 1
tests/integration/test_utils.go:89
The new retry helpers have no focused tests, so mistakes in conflict recovery or request rebuilding could go unnoticed. Add tests for a conflict followed by success, a lasting conflict, and an unrelated error. Check that HTTP retries resend the schema body and headers, and that the CLI retry matches the output from the supported `pb` version.

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

Summary

Updates integration helpers for asynchronous dataset deletion.

  • Integration tests wait out conflicts after dataset deletion.

Reviews (1) · Last reviewed commit: "update: dataset deletion" · Reviewed by Greptile

changes for Parseable #1770
// actually gone the instant DeleteStream returns). buildRequest is called
// again on every attempt since a request (and any body reader it holds)
// can't be reused once sent.
func doWithRetryOn409(t *testing.T, client httpclient.HTTPClient, buildRequest func() (*http.Request, error)) *http.Response {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Retry behavior lacks tests

The new retry helpers have no focused tests, so mistakes in conflict recovery or request rebuilding could go unnoticed. Add tests for a conflict followed by success, a lasting conflict, and an unrelated error. Check that HTTP retries resend the schema body and headers, and that the CLI retry matches the output from the supported pb version.

Prompt To Fix With AI
This is a comment left during a code review.
Path: tests/integration/test_utils.go
Line: 89

Comment:
**Retry behavior lacks tests**

The new retry helpers have no focused tests, so mistakes in conflict recovery or request rebuilding could go unnoticed. Add tests for a conflict followed by success, a lasting conflict, and an unrelated error. Check that HTTP retries resend the schema body and headers, and that the CLI retry matches the output from the supported `pb` version.

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

Fix in Codex Fix in Claude Code

@nikhilsinhaparseable
nikhilsinhaparseable merged commit 163bce0 into parseablehq:main Nov 11, 2026
2 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 11, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants