Repository navigation
[MAINT] Add chron job for updating OS compiler dependencies - #2408
Open
ndgrigorian wants to merge 1 commit into
Open
ndgrigorian wants to merge 1 commit into
ndgrigorian wants to merge 1 commit into
Conversation
ndgrigorian
requested review from
antonwolfy and
vlad-perevezentsev
as code owners
November 2, 2026 23:56
|
View rendered docs @ https://intelpython.github.io/dpctl/pulls/2408/index.html |
Collaborator
antonwolfy
approved these changes
Nov 3, 2026
antonwolfy
left a comment
Collaborator
There was a problem hiding this comment.
A couple of minor nits. In overall, LGTM,
| with: | ||
| path: | | ||
| /home/runner/work/sycl_bundle | ||
| key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('/home/runner/work/sycl_bundle/bundle_id.txt') }} |
Collaborator
There was a problem hiding this comment.
The cache is saved once and never refreshed. After every pin bump, each run downloads the deps again. Keying on hashFiles('.github/sycl-build-deps.env') would fix it.
Comment on lines
+56
to
+57
| [[ "${LLVM_REF}" =~ ^[A-Za-z0-9._/-]+$ ]] || fail "invalid intel/llvm ref: ${LLVM_REF}" | ||
| LLVM_SHA=$(gh api "repos/intel/llvm/commits/${LLVM_REF}" --jq .sha) |
Collaborator
There was a problem hiding this comment.
The input's pattern allows .., which can point the gh api call at another path. The SHA that comes back isn't checked either. Only people who can run the workflow manually can supply the input.
As an option we can add [[ $LLVM_SHA =~ ^[0-9a-f]{40}$ ]], and optionally reject ...
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR proposes the addition of a chron job for updating the dependencies of the OS compiler workflow