Skip to content

Conversation

@eksperimental
Copy link
Contributor

Related PR: #14985

@josevalim
Copy link
Member

Hi @eksperimental, I am not planning to go ahead with those changes for now.

  1. The erlc one will be removed soon anyway
  2. We still want to test deterministic to improve our coverage with the flag
  3. I think CI is a perfectly fine name

Thanks,

@josevalim josevalim closed this Dec 4, 2025

pull_request:
paths-ignore:
- "lib/**/*.md"
Copy link
Member

Choose a reason for hiding this comment

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

Is there a reason we are adding these?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

changes in the these files will not check the building of docs with warnings as errors.
You can introduce warnings in documentation, and it will never checked by the CI

@josevalim
Copy link
Member

I reopened the PR because we should merge the path changes. Is there a way to only run the docs one when only those files change? 🤔

@josevalim josevalim reopened this Dec 4, 2025
@eksperimental
Copy link
Contributor Author

eksperimental commented Dec 4, 2025

That was the original reasoning behing moving the doc building to its own action.

There's an action that can filter paths on a job/step level, its this one: https://github.com/dorny/paths-filter

@josevalim
Copy link
Member

Yeah, I understand now it was the original rationale but we change the code more often than we change those pages, so optimizing for faster general changes is better. I guess we could run some git command that aborts the other runners, except the docs one, if the diff only lists those directories?

@eksperimental
Copy link
Contributor Author

Yes. detecting changes with git is the other option to detect changes, aborting other runners I will have to look into that.

@eksperimental
Copy link
Contributor Author

I tried to implement a solution using git diff but I was not really happy with it and I don't think it would cover all the cases and I felt I was reinventing the wheel.
So I ended up implementing a solution with https://github.com/dorny/paths-filter
I was a bit reluctant to add an external action, but this one is used by Sentry and Google Chrome. I can submit a new PR if you are interested.

@josevalim
Copy link
Member

Since you did the work, please do send a PR! Worst case scenario it will work for documentation purposes!

@eksperimental
Copy link
Contributor Author

I have a working version that uses git diff, I will be sharing it tomorrow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants