Skip to content

Conversation

@AlexWaygood
Copy link
Member

Summary

A small quality-of-life improvement to make it easier to evaluate whether a typing-conformance diff is good or bad

Test Plan

A small quality-of-life improvement to make it easier to evaluate whether a typing-conformance diff is good or bad
@AlexWaygood AlexWaygood added ci Related to internal CI tooling ty Multi-file analysis & type inference labels Aug 4, 2025
@AlexWaygood AlexWaygood changed the title Link directly to typing conformance test suite when commenting the diff [ty] Link directly to typing conformance test suite when commenting the diff Aug 4, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Aug 4, 2025

Diagnostic diff on typing conformance tests

No changes detected when running ty on typing conformance tests ✅

Copy link
Member

@dhruvmanila dhruvmanila left a comment

Choose a reason for hiding this comment

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

Thank you!

@AlexWaygood AlexWaygood requested a review from dhruvmanila August 4, 2025 09:58
echo '<!-- generated-comment typing_conformance_diagnostics_diff -->' >> comment.txt
echo '## Diagnostic diff on typing conformance tests' >> comment.txt
echo "## Diagnostic diff on [typing conformance tests](https://github.com/python/typing/tree/${CONFORMANCE_SUITE_COMMIT}/conformance)" >> comment.txt
Copy link
Member

Choose a reason for hiding this comment

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

nit: it might be worth linking directly to the conformance/tests directory?

Copy link
Member Author

@AlexWaygood AlexWaygood Aug 4, 2025

Choose a reason for hiding this comment

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

I considered it, but I like that this directory has a README.md file (which might be useful for first-time contributors!), whereas the tests subdirectory doesn't :-)

@AlexWaygood AlexWaygood merged commit af8587e into main Aug 4, 2025
36 checks passed
@AlexWaygood AlexWaygood deleted the alex/typing-conformance-diff branch August 4, 2025 14:51
@AlexWaygood
Copy link
Member Author

Ugh, it appears to be uploading the commit correctly: https://github.com/astral-sh/ruff/actions/runs/16730858154?pr=19669

And I think it is downloading it correctly: https://github.com/astral-sh/ruff/actions/runs/16730894339/job/47358456147

but the links are not making it into the comment correctly, for whatever reason: #19669 (comment)

dhruvmanila added a commit that referenced this pull request Aug 5, 2025
## Summary

This PR fixes the issue mentioned in
#19736 (comment)
~~but I can't test it without merging it on `main` because GitHub
Actions still pickup the old version of the workflow file.~~ and is
tested by manually triggering the workflow, refer to the comment on this
PR
(#19754 (comment))
which has the commit hash.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Related to internal CI tooling ty Multi-file analysis & type inference

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants