Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ci] Assert that Jenkinsfile changes also change the timestamp #12388

Closed
driazati opened this issue Aug 11, 2022 · 1 comment
Closed

[ci] Assert that Jenkinsfile changes also change the timestamp #12388

driazati opened this issue Aug 11, 2022 · 1 comment
Labels
needs-triage PRs or issues that need to be investigated by maintainers to find the right assignees to address it type:ci Relates to TVM CI infrastructure

Comments

@driazati
Copy link
Member

driazati commented Aug 11, 2022

Concurrent Jenkinsfile changes that happen in a sequence like:

  1. PR 1 makes changes
  2. PR 2 makes changes
  3. PR 1 merges
  4. PR 2 merges

Can create a situation where both PRs pass CI but break main when merged with failures like https://ci.tlcpack.ai/blue/organizations/jenkins/tvm/detail/main/4024/pipeline.

There is a timestamp in the Jenkinsfile that makes it so these PRs will have a merge conflict (in the example above PR 2 must be rebased and run through CI again before it can merge), we should check that any changes to the Jenkinsfile also change this timestamp (so if say PR 2 did not change the timestamp it wouldn't pass PR CI)

cc @Mousius @areusch @gigiblender

driazati added a commit to driazati/tvm that referenced this issue Aug 11, 2022
driazati added a commit to driazati/tvm that referenced this issue Aug 11, 2022
driazati added a commit to driazati/tvm that referenced this issue Aug 11, 2022
driazati added a commit to driazati/tvm that referenced this issue Aug 11, 2022
@areusch areusch added the type:ci Relates to TVM CI infrastructure label Aug 12, 2022
driazati added a commit to driazati/tvm that referenced this issue Aug 19, 2022
driazati added a commit to driazati/tvm that referenced this issue Aug 25, 2022
@areusch areusch added the needs-triage PRs or issues that need to be investigated by maintainers to find the right assignees to address it label Oct 19, 2022
@driazati
Copy link
Member Author

This isn't necessary in all cases anymore

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-triage PRs or issues that need to be investigated by maintainers to find the right assignees to address it type:ci Relates to TVM CI infrastructure
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants