Skip to content

Conversation

@ysiraichi
Copy link
Collaborator

This PR fixes the error found in this push-docs CI run for a push event on master branch.

What happened:

  • push-docs failed because it couldn't find the torch-xla-wheels artifact
  • The torch-xla-wheels artifact wasn't uploaded because its upload and the dependent build step are coditioned by inputs.has_code_changes == 'true'

Solution:

  • Build PyTorch and PyTorch/XLA on every push event, since that's also when push-docs runs

Note: push-docs job actually needs to install both PyTorch and PyTorch/XLA, otherwise it can't retrieve the docstrings that we rely on to build the documentation.

Copy link
Collaborator

@zhanyong-wan zhanyong-wan left a comment

Choose a reason for hiding this comment

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

This PR seems to contain many unrelated changes. Can you double check?

@ghpvnist , WDYT? I think you introduced the conditional skip of the doc build.

@ysiraichi
Copy link
Collaborator Author

Ah, wait. I was doing some work reviewing another PR. The first commit wasn't supposed to be here!
Sorry. Let me fix this.

@ysiraichi ysiraichi force-pushed the ysiraichi/fix-docs-ci-on-no-code-changes-push-events branch from 8b402a6 to 134b491 Compare October 23, 2025 17:28
@ysiraichi
Copy link
Collaborator Author

ysiraichi commented Oct 23, 2025

@zhanyong-wan Sorry for the noise with those unrelated changes.
Now, there's only 1 changed file, as expected.

@ysiraichi ysiraichi merged commit df6798d into master Oct 24, 2025
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants