CI: upgrade ptoas to v0.22 and update repo org references#72
CI: upgrade ptoas to v0.22 and update repo org references#72zhangqi-chen wants to merge 1 commit intohw-native-sys:mainfrom
Conversation
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
✅ Files skipped from review due to trivial changes (2)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughUpdated pinned PTOAS release version from Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Code Review
This pull request updates the PTOAS_VERSION from v0.17 to v0.22 in the environment setup documentation. A review comment points out that while the PR description mentions updating all CI jobs, the actual changes to the CI configuration files (such as .github/workflows/ci.yml) are missing from the pull request, which is necessary to maintain consistency between the local environment and the CI pipeline.
There was a problem hiding this comment.
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (2)
.claude/skills/setup_env/SKILL.md (1)
49-57:⚠️ Potential issue | 🟠 MajorUpdate chmod command to reference only the canonical PTOAS binary path.
Line 56 chmods both
$WORKSPACE_DIR/ptoas-bin/ptoasand$WORKSPACE_DIR/ptoas-bin/bin/ptoas. The canonical executable is$PTOAS_ROOT/ptoasonly;bin/ptoasis a legacy artifact from earlier tarball layouts and should not be documented as a supported path.Proposed fix
-chmod +x "$WORKSPACE_DIR/ptoas-bin/ptoas" "$WORKSPACE_DIR/ptoas-bin/bin/ptoas" +chmod +x "$WORKSPACE_DIR/ptoas-bin/ptoas"🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In @.claude/skills/setup_env/SKILL.md around lines 49 - 57, The chmod line is updating two paths including a legacy location; change it to only make the canonical PTOAS binary executable by replacing the chmod target list with the canonical path referenced by PTOAS_ROOT (i.e., use "$PTOAS_ROOT/ptoas" or "$WORKSPACE_DIR/ptoas-bin/ptoas" via PTOAS_ROOT) and remove any reference to "$WORKSPACE_DIR/ptoas-bin/bin/ptoas" so only PTOAS_ROOT/ptoas is documented and made executable; update the chmod invocation that currently mentions both paths accordingly..github/workflows/ci.yml (1)
59-67:⚠️ Potential issue | 🟡 MinorRemove redundant
bin/ptoaschmod operations from all threeInstall ptoasblocks.The tarball includes both
./ptoasand./bin/ptoas, butbin/ptoasis a legacy artifact. Only./ptoasshould be referenced per the canonical binary location. Remove the redundant chmod from lines 66, 127, and 190.Proposed workflow fix
chmod +x $GITHUB_WORKSPACE/ptoas-bin/ptoas - chmod +x $GITHUB_WORKSPACE/ptoas-bin/bin/ptoasApply the same removal in all three
Install ptoasblocks.🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In @.github/workflows/ci.yml around lines 59 - 67, The workflow contains redundant chmod calls for the legacy binary path bin/ptoas; in each "Install ptoas" block (the steps that set PTOAS_VERSION and extract ptoas), remove the chmod +x $GITHUB_WORKSPACE/ptoas-bin/bin/ptoas lines and only keep chmod +x $GITHUB_WORKSPACE/ptoas-bin/ptoas so the canonical ./ptoas binary is used; update all three occurrences (the blocks around the current chmod lines) to drop the bin/ptoas chmod.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Outside diff comments:
In @.claude/skills/setup_env/SKILL.md:
- Around line 49-57: The chmod line is updating two paths including a legacy
location; change it to only make the canonical PTOAS binary executable by
replacing the chmod target list with the canonical path referenced by PTOAS_ROOT
(i.e., use "$PTOAS_ROOT/ptoas" or "$WORKSPACE_DIR/ptoas-bin/ptoas" via
PTOAS_ROOT) and remove any reference to "$WORKSPACE_DIR/ptoas-bin/bin/ptoas" so
only PTOAS_ROOT/ptoas is documented and made executable; update the chmod
invocation that currently mentions both paths accordingly.
In @.github/workflows/ci.yml:
- Around line 59-67: The workflow contains redundant chmod calls for the legacy
binary path bin/ptoas; in each "Install ptoas" block (the steps that set
PTOAS_VERSION and extract ptoas), remove the chmod +x
$GITHUB_WORKSPACE/ptoas-bin/bin/ptoas lines and only keep chmod +x
$GITHUB_WORKSPACE/ptoas-bin/ptoas so the canonical ./ptoas binary is used;
update all three occurrences (the blocks around the current chmod lines) to drop
the bin/ptoas chmod.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 4c696b70-7c69-4fbf-a11f-5dfc4b0fca1b
📒 Files selected for processing (2)
.claude/skills/setup_env/SKILL.md.github/workflows/ci.yml
- Bump PTOAS_VERSION from v0.17 to v0.22 in all CI jobs - Migrate zhangstevenunity/PTOAS → hw-native-sys/PTOAS - Migrate ChaoWao/simpler → hw-native-sys/simpler - Update setup_env skill, create-issue skill, and CLAUDE.md
9f206a3 to
c58df4f
Compare
Summary
PTOAS_VERSIONfromv0.17tov0.22in all CI jobs (a2a3sim, a5sim, a2a3)zhangstevenunity/PTOAS→hw-native-sys/PTOASacross CI, skills, and docsChaoWao/simpler→hw-native-sys/simpleracross skills and docsRelated Issues
N/A