Skip to content

fix: wrap SDK create calls in online tests with retry_create#134

Merged
flipbit03 merged 1 commit intomainfrom
fix/online-test-retry-create
Mar 27, 2026
Merged

fix: wrap SDK create calls in online tests with retry_create#134
flipbit03 merged 1 commit intomainfrom
fix/online-test-retry-create

Conversation

@flipbit03
Copy link
Copy Markdown
Owner

@flipbit03 flipbit03 commented Mar 27, 2026

Summary

  • Wrap 2 bare .unwrap() SDK create calls in CLI online tests with retry_create to handle Linear API eventual consistency
  • project_create in project_milestones_full_crud — this was causing intermittent CI failures with "conflict on insert of Project" / "already exists"
  • issue_create in the find-branch test — same pattern, same risk

All other create calls in the file already used retry_create. The SDK online tests (crates/lineark-sdk/tests/online.rs) consistently use it everywhere — these 2 were the only stragglers.

Test plan

  • CI online tests pass without the intermittent "conflict on insert" failure

@flipbit03 flipbit03 merged commit 3b3aadc into main Mar 27, 2026
8 checks passed
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