Repository navigation
Conversation
Contributor
There was a problem hiding this comment.
Hey - I've found 1 issue
Prompt for AI Agents
Please address the comments from this code review:
## Individual Comments
### Comment 1
<location path="tests/test_project_delivery.py" line_range="376-377" />
<code_context>
],
"v2",
)
+ self.assertIn("release ancestry start", output.getvalue())
+ self.assertIn("release ancestry complete", output.getvalue())
def test_tag_containment_failure_fails_closed(self):
</code_context>
<issue_to_address>
**Diagnostic details can be omitted**
When the ancestry logs retain both labels but omit the commit prefix, tag count, or elapsed time, `test_tags_containing_commit_handles_annotated_lightweight_and_divergent_tags` uses `assertIn` on only the two labels at lines 376–377, so logs containing just those labels pass even when the commit prefix, tag count, and elapsed time are missing; the test then accepts diagnostics that cannot identify slow candidates.
Assert that the captured output includes the expected commit prefix and completion fields, including tag count and elapsed time.
</issue_to_address>Sourcery assessment
Approval pending. 1 finding to address first.
Blocking findings: tests/test_project_delivery.py:377
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Verification
Follow-up to #10935. No live Project write performed.
Summary by Sourcery
Improve Project sync observability for release ancestry checks without changing synchronization behavior.
Enhancements:
Tests: