Uh oh!
There was an error while loading. Please reload this page.
(🎁) ci: include more of the primer comment - #15032
Conversation
This comment has been minimized.
This comment has been minimized.
ikonst
commented
Apr 11, 2023
Obligatory links:
|
ikonst
commented
Apr 12, 2023
Actually, are you sure that KotlinIsland/basedmypy#357 (comment) is pushing the limit? In particular, in #14059 there are two issues being discussed:
|
ikonst
commented
Apr 12, 2023
Trial and error shows that this is the longest comment GitHub would accept: python3-c'print("x" * (2**18 - 2))'|pbcopyMeanwhile, the UI says the maximum length is 65,535 characters, which is probably isn't far from the truth when taking Unicode into consideration. |
KotlinIsland
commented
Apr 12, 2023
Ergh, I knew it was too good to be true :(. So basically the problem with the current solution is that I don't see all the diff, I can see three solutions:
I've updated this PR to meet option 1, happy to accept other ideas. |
According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉 |
ikonst
commented
Apr 12, 2023
A "core dump" in a comment is not what comments were made for, so GitHub's UI is not particularly accommodating for that use case, and it can also interfere with our normal communications around PRs in comments. Maybe opt for shorter output that only gives a "taste" for what changed, and a link to the artifact download URL, e.g. |
I think that linking to a downloadable zip is not an idea UX (although would be an improvement). What if we always put the changes in a |
ikonst
commented
Apr 12, 2023
Also check that "Details" don't slow down scrolling etc. (And then maybe Details per project?) |
hauntsaninja
commented
May 1, 2023
I like the idea of including a link to artifact download if we truncated things. |
hauntsaninja
commented
Jun 21, 2025
Closing since this has gotten stale, feel free to reopen if you want to try link to artifact download |
I don't think you need to truncate the primer comment anymore.
proof: here we have applied the same change, removing the truncation of the comment, which is having no issue commenting the full-form of the diff.