forked from y-scope/clp
-
Notifications
You must be signed in to change notification settings - Fork 0
Refine uv lock maintenance loops #7
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
Open
junhaoliao
wants to merge
22
commits into
main
Choose a base branch
from
codex/fix-issue-#1381-in-repository
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 10 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
79b88a8
Refine uv lock maintenance loops
junhaoliao 929bd25
feat(log-converter): Add log-converter binary which converts unstruct…
gibber9809 1677431
fix(clp-mcp-server): Include log viewer links in formatted log events…
20001020ycx 9e82bdb
chore(deployment): Exclude generated `.env` file under `presto-clp` f…
junhaoliao 6c6de99
fix(deployment): Update archives directory mount paths in Presto Dock…
junhaoliao 2ac456e
feat(clp-package)!: Add `compress-from-s3` Python and shell scripts f…
Eden-D-Zhang cbb8629
fix lock.yaml
junhaoliao 03f33a2
ci: Add clp-uv-checks workflow for validating Python UV lock files.
junhaoliao 212a904
fix(deps): Ensure lock.yaml ends with a newline.
junhaoliao cb57c0e
Merge branch 'main' into codex/fix-issue-#1381-in-repository
junhaoliao 143058d
use LF for newlines
junhaoliao 47a58d5
ci(workflows): Rename rust-checks job to uv-checks in clp-uv-checks w…
junhaoliao dae6cb7
ci(workflows): Add uv installation step in clp-uv-checks workflow.
junhaoliao 6da77ea
Fix hyphenation in "up-to-date" adjective.
junhaoliao 16f34b7
ci(workflows): Adjust placement of version comment in clp-uv-checks w…
junhaoliao dd13a01
ci(workflows): Adjust spacing in checkout action comment in clp-uv-ch…
junhaoliao 874df6d
feat(deployment): Add `--setup-only` flag to `start-clp.sh` to set up…
junhaoliao 1b92ca8
fix(docker): Include `libmariadbcpp.so` (required by `spider_schedule…
junhaoliao fdd2f82
fix(deployment): Use CLP Package's Docker Compose network for Presto …
junhaoliao fde9a1a
Merge branch 'main' into codex/fix-issue-#1381-in-repository
junhaoliao 39417f0
Improve docs - Apply suggestions from code review
junhaoliao b5dc6ca
fix(ci): Update uv installation method to use the setup-uv action
junhaoliao File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,50 @@ | ||
| name: "clp-uv-checks" | ||
|
Check failure on line 1 in .github/workflows/clp-uv-checks.yaml
|
||
|
|
||
| on: | ||
| pull_request: | ||
| paths: &monitored_paths | ||
| - ".github/workflows/clp-uv-checks.yaml" | ||
| - "components/clp-mcp-server/pyproject.toml" | ||
| - "components/clp-mcp-server/uv.lock" | ||
| - "components/clp-package-utils/pyproject.toml" | ||
| - "components/clp-package-utils/uv.lock" | ||
| - "components/clp-py-utils/pyproject.toml" | ||
| - "components/clp-py-utils/uv.lock" | ||
| - "components/job-orchestration/pyproject.toml" | ||
| - "components/job-orchestration/uv.lock" | ||
| - "integration-tests/pyproject.toml" | ||
| - "integration-tests/uv.lock" | ||
| push: | ||
| paths: *monitored_paths | ||
| schedule: | ||
| # Run daily at 00:15 UTC (the 15 is to avoid periods of high load) | ||
| - cron: "15 0 * * *" | ||
| workflow_dispatch: | ||
|
|
||
| concurrency: | ||
| group: "${{github.workflow}}-${{github.ref}}" | ||
| # Cancel in-progress jobs for efficiency | ||
| cancel-in-progress: true | ||
|
|
||
| jobs: | ||
| rust-checks: | ||
| strategy: | ||
| matrix: | ||
| os: | ||
| - "macos-15" | ||
| - "ubuntu-22.04" | ||
| - "ubuntu-24.04" | ||
| runs-on: "${{matrix.os}}" | ||
| steps: | ||
| - # v5.0.0 | ||
|
Check warning on line 39 in .github/workflows/clp-uv-checks.yaml
|
||
coderabbitai[bot] marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| uses: "actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8" | ||
| with: | ||
| submodules: "recursive" | ||
|
|
||
| - name: "Install task" | ||
| shell: "bash" | ||
| run: "npm install -g @go-task/[email protected]" | ||
|
|
||
| - name: "Validate lock files" | ||
| shell: "bash" | ||
| run: "task deps:lock:check-uv" | ||
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
YAML alias syntax is not supported in GitHub Actions
pathstriggers.Actionlint reports that using an alias for the
pathskey (line 18:paths: *monitored_paths) is invalid. GitHub Actions workflow YAML does not support this syntax—thepathssection must be a direct sequence node, not an alias reference.This will likely cause the workflow to fail parsing.
Replace the alias reference on line 18 with the full list of paths:
Alternatively, if duplicating is not preferred, define the workflow in a separate script or use a workflow generation tool, but for inline YAML, direct sequence nodes are required.
🧰 Tools
🪛 actionlint (1.7.8)
18-18: "paths" section must be sequence node but got alias node with "" tag
(syntax-check)
🤖 Prompt for AI Agents