Skip to content

[BE] Do not add . after troubleshooting_url#157753

Closed
malfet wants to merge 2 commits intomainfrom
malfet-patch-15
Closed

[BE] Do not add . after troubleshooting_url#157753
malfet wants to merge 2 commits intomainfrom
malfet-patch-15

Conversation

@malfet
Copy link
Contributor

@malfet malfet commented Jul 8, 2025

As it gets included into auto-hrefed URLs in say github logs to point to non existing location

For example from https://github.com/pytorch/pytorch/actions/runs/16130448756/job/45517004735?pr=157749#step:18:27

W0708 00:23:20.150000 67082 torch/_dynamo/convert_frame.py:1047] [0/8] To diagnose recompilation issues, see https://pytorch.org/docs/main/torch.compiler_troubleshooting.html.

cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @amjames

As it gets included into auto-hrefed URLs in say github logs to point to non existing location

For example from https://github.com/pytorch/pytorch/actions/runs/16130448756/job/45517004735?pr=157749#step:18:27
> W0708 00:23:20.150000 67082 torch/_dynamo/convert_frame.py:1047] [0/8] To diagnose recompilation issues, see https://pytorch.org/docs/main/torch.compiler_troubleshooting.html.
@pytorch-bot
Copy link

pytorch-bot bot commented Jul 8, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/157753

Note: Links to docs will display an error until the docs builds have been completed.

⏳ 23 Pending, 1 Unrelated Failure

As of commit 377c57b with merge base bbb930a (image):

FLAKY - The following job failed but was likely due to flakiness present on trunk:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR removes the trailing period from the troubleshooting URL placeholder in the diagnostic log message so that auto-hrefed links do not include an extra . and point to a non-existent location.

  • Drop the . at the end of the To diagnose recompilation issues, see %s format string
  • Preserve correct URL parsing in logs

" last reason: %s\n"
'To log all recompilation reasons, use TORCH_LOGS="recompiles".\n'
"To diagnose recompilation issues, see %s.",
"To diagnose recompilation issues, see %s",
Copy link

Copilot AI Jul 8, 2025

Choose a reason for hiding this comment

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

[nitpick] Consider adding the sentence-ending period outside the placeholder so the log message retains proper punctuation without including it in the URL, e.g., "To diagnose recompilation issues, see %s."

Suggested change
"To diagnose recompilation issues, see %s",
"To diagnose recompilation issues, see %s.",

Copilot uses AI. Check for mistakes.
@malfet
Copy link
Contributor Author

malfet commented Jul 8, 2025

@pytorchbot merge -f "Lint is green"

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use -f as last resort and instead consider -i/--ignore-current to continue the merge ignoring current failures. This will allow currently pending tests to finish and report signal before the merge.

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

@github-actions github-actions bot deleted the malfet-patch-15 branch August 8, 2025 02:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants