Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ jobs:
- test-self-hosted-server
secrets: inherit
uses: rapidsai/shared-workflows/.github/workflows/pr-builder.yaml@main
if: always()
with:
needs: ${{ toJSON(needs) }}
check-lean-ci:
runs-on: ubuntu-latest
outputs:
Expand Down
2 changes: 0 additions & 2 deletions ci/build_wheel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ package_dir=$2

source rapids-configure-sccache
source rapids-date-string
RAPIDS_INIT_PIP_REMOVE_NVIDIA_INDEX="true"
export RAPIDS_INIT_PIP_REMOVE_NVIDIA_INDEX
Copy link
Member Author

Choose a reason for hiding this comment

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

Just picking an arbitrary place on the diff to re-post this comment, so follow-ups can be grouped together in a thread.

hmmmm I'm not really sure why this isn't mergeable. pr-builder / run is getting skipped:

image

https://github.com/NVIDIA/cuopt/actions/runs/21615281140/job/62369023603?pr=821

I tried manually re-running it and it was skipped again.

Maybe the changes from #805 and/or this PR have left it in a weird state? I'll investigate. It shouldn't be the case that things like docs-build being skipped cause the entire pr-builder run to be skipped.

Copy link
Member Author

Choose a reason for hiding this comment

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

Ah, there's a GitHub outage affecting status checks: https://www.githubstatus.com/incidents/f314nlctbfs5

Copy link
Member Author

Choose a reason for hiding this comment

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

GitHub say they've pushed a fix but re-running the pr-builder job, it still showed as skipped. I've just fully re-run all CI on this PR... it's possible that other status checks from earlier jobs were lost during the incident or something.

If that still fails, I'll investigate whether there's something else going on here, maybe unrelated to that GitHub incident.

Copy link
Member Author

Choose a reason for hiding this comment

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

Jobs getting skipped should be no problem for pr-builder:

https://github.com/rapidsai/shared-workflows/blob/ce125aca3e92a02adb84a78f7361424bc08ee62c/.github/workflows/pr-builder.yaml#L20

I haven't seen this problem in any other repo using that. My theories right now are either that this PR was in a weird state because of the GitHub incident related to statuses today, or that some of this custom stuff done in this repo is confusing the check:

check-lean-ci:

prevent-merge-with-lean-ci:

compute-matrix-filters:

Copy link
Member Author

Choose a reason for hiding this comment

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

Aha! I see the problem!

pr-builder is misconfigured here:

  • needs an if: always() to ensure it isn't skipped when other jobs are skipped
  • needs to actually pass the list of required jobs through to the workflow

Like this:

https://github.com/rapidsai/cudf/blob/b978750d0af8ddb20f4112fdbd6936e49297eafc/.github/workflows/pr.yaml#L47-L49

The fact that those were missing means this workflow has probably never worked in this repo and it's been doing a full run of CI on every commit 🙃

Just pushed 20c564e fixing that.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Thank you @jameslamb, I always assumed it was designed by default

source rapids-init-pip

# Update the version to accomdate nightly and release changes for the wheel name
Expand Down
2 changes: 0 additions & 2 deletions ci/build_wheel_cuopt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

set -euo pipefail

RAPIDS_INIT_PIP_REMOVE_NVIDIA_INDEX="true"
export RAPIDS_INIT_PIP_REMOVE_NVIDIA_INDEX
source rapids-init-pip

# Install rockylinux repo
Expand Down
2 changes: 0 additions & 2 deletions ci/build_wheel_cuopt_mps_parser.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

set -euo pipefail

RAPIDS_INIT_PIP_REMOVE_NVIDIA_INDEX="true"
export RAPIDS_INIT_PIP_REMOVE_NVIDIA_INDEX
source rapids-init-pip

package_dir="python/cuopt/cuopt/linear_programming"
Expand Down
2 changes: 0 additions & 2 deletions ci/build_wheel_cuopt_server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@

set -euo pipefail

RAPIDS_INIT_PIP_REMOVE_NVIDIA_INDEX="true"
export RAPIDS_INIT_PIP_REMOVE_NVIDIA_INDEX
source rapids-init-pip

package_dir="python/cuopt_server"
Expand Down
2 changes: 0 additions & 2 deletions ci/build_wheel_cuopt_sh_client.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@

set -euo pipefail

RAPIDS_INIT_PIP_REMOVE_NVIDIA_INDEX="true"
export RAPIDS_INIT_PIP_REMOVE_NVIDIA_INDEX
source rapids-init-pip

package_dir="python/cuopt_self_hosted"
Expand Down
2 changes: 0 additions & 2 deletions ci/build_wheel_libcuopt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

set -euo pipefail

RAPIDS_INIT_PIP_REMOVE_NVIDIA_INDEX="true"
export RAPIDS_INIT_PIP_REMOVE_NVIDIA_INDEX
source rapids-init-pip

package_name="libcuopt"
Expand Down
2 changes: 0 additions & 2 deletions ci/test_self_hosted_service.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@

set -euo pipefail

RAPIDS_INIT_PIP_REMOVE_NVIDIA_INDEX="true"
export RAPIDS_INIT_PIP_REMOVE_NVIDIA_INDEX
source rapids-init-pip

# Download the cuopt built in the previous step
Expand Down
2 changes: 0 additions & 2 deletions ci/test_wheel_cuopt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ set -euo pipefail

# sets up a constraints file for 'pip' and puts its location in an exported variable PIP_EXPORT,
# so those constraints will affect all future 'pip install' calls
RAPIDS_INIT_PIP_REMOVE_NVIDIA_INDEX="true"
export RAPIDS_INIT_PIP_REMOVE_NVIDIA_INDEX
source rapids-init-pip

# Download the packages built in the previous step
Expand Down
2 changes: 0 additions & 2 deletions ci/test_wheel_cuopt_server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@

set -eou pipefail

RAPIDS_INIT_PIP_REMOVE_NVIDIA_INDEX="true"
export RAPIDS_INIT_PIP_REMOVE_NVIDIA_INDEX
source rapids-init-pip

# Download the packages built in the previous step
Expand Down
Loading