Skip to content

Conversation

@smoreinis
Copy link
Collaborator

Summary

Fix test_list_trackers_with_order_by which has been broken since it was introduced in #84.

Problem

The test was creating trackers manually, not accounting for the fact that task_repo.create() auto-creates an AgentTaskTracker for each task. This resulted in 6 trackers instead of the expected 3.

Solution

Removed manual tracker creation — the auto-created trackers are sufficient for testing order_by functionality.

Test Plan

  • test_list_trackers_with_order_by now passes
  • All other tracker tests unaffected

…kers

task_repo.create() auto-creates an AgentTaskTracker for each task.
The test was incorrectly creating additional trackers manually,
resulting in 6 trackers instead of the expected 3.

Removed manual tracker creation since the auto-created trackers
are sufficient for testing order_by functionality.
@smoreinis smoreinis requested a review from a team as a code owner December 20, 2025 05:26
@smoreinis
Copy link
Collaborator Author

We only run unit tests in the checks here, but this is an integration test which I'm not sure gets exercised on commits. Thoughts on having this run on PRs also or elsewhere?

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