Skip to content

test: simplify test_agent_waits_for_messages_when_predecessor_is_blocked#10744

Merged
anakin87 merged 5 commits intomainfrom
simplify-agent-test2
Mar 6, 2026
Merged

test: simplify test_agent_waits_for_messages_when_predecessor_is_blocked#10744
anakin87 merged 5 commits intomainfrom
simplify-agent-test2

Conversation

@anakin87
Copy link
Member

@anakin87 anakin87 commented Mar 5, 2026

Related Issues

When working on #10718, I noticed this recently introduced test (in #10734).

It took me some time to understand what bug it was trying to prevent. To make this easier for future readers, I tried to simplify it a bit.

Proposed Changes:

  • simplify the test, mark it as integration and try to explain better

How did you test it?

CI. Also tested that this is equivalent to the original test: if we go back to commit 6626f2c (before merging #10734), it fails as expected.

Checklist

  • I have read the contributors guidelines and the code of conduct.
  • I have updated the related issue with new insights and changes.
  • I have added unit tests and updated the docstrings.
  • I've used one of the conventional commit types for my PR title: fix:, feat:, build:, chore:, ci:, docs:, style:, refactor:, perf:, test: and added ! in case the PR includes breaking changes.
  • I have documented my code.
  • I have added a release note file, following the contributors guidelines.
  • I have run pre-commit hooks and fixed any issue.

@vercel
Copy link

vercel bot commented Mar 5, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
haystack-docs Ignored Ignored Preview Mar 6, 2026 6:39am

Request Review

@anakin87 anakin87 changed the title draft test: simplify test_agent_waits_for_messages_when_predecessor_is_blocked Mar 5, 2026
@coveralls
Copy link
Collaborator

coveralls commented Mar 5, 2026

Pull Request Test Coverage Report for Build 22752304150

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 92.768%

Totals Coverage Status
Change from base Build 22752247302: 0.0%
Covered Lines: 15610
Relevant Lines: 16827

💛 - Coveralls

@anakin87 anakin87 added the ignore-for-release-notes PRs with this flag won't be included in the release notes. label Mar 5, 2026
@anakin87 anakin87 marked this pull request as ready for review March 5, 2026 16:36
@anakin87 anakin87 requested a review from a team as a code owner March 5, 2026 16:36
@anakin87 anakin87 requested review from bogdankostic and removed request for a team March 5, 2026 16:36
Copy link
Contributor

@bogdankostic bogdankostic left a comment

Choose a reason for hiding this comment

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

Thanks @anakin87, I agree that the test is now easier to understand.

@anakin87 anakin87 merged commit 86e8d53 into main Mar 6, 2026
18 checks passed
@anakin87 anakin87 deleted the simplify-agent-test2 branch March 6, 2026 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ignore-for-release-notes PRs with this flag won't be included in the release notes. topic:tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants