Migrate PR review to openrouter with pinned 0.11.0 action #31

Manually merged
marvin8 merged 3 commits from feat/issue-96-openrouter-review into main 2026-10-16 06:57:48 +00:00
Collaborator

Migrates the wuming PR review to the openrouter backend with the fleet-standard two-tier model mapping (code/tests/performance on deepseek-v4-pro, security on kimi-k2-thinking, config/docs/shell on qwen3.7-flash) and pins the action to 0.11.0.

Tracking: marvin8/wuming#96

Migrates the wuming PR review to the openrouter backend with the fleet-standard two-tier model mapping (code/tests/performance on deepseek-v4-pro, security on kimi-k2-thinking, config/docs/shell on qwen3.7-flash) and pins the action to `0.11.0`. Tracking: marvin8/wuming#96
🔧 migrate PR review to openrouter with pinned 0.11.0 action
Some checks failed
/ gitleaks (pull_request) Successful in 17s
/ pr-review (pull_request) Successful in 1m25s
/ checks (pull_request) Failing after 3m47s
/ publish (pull_request) Has been skipped
/ deploy-docs (pull_request) Has been skipped
62efddb571
forgejo-actions left a comment

WuMing

Found 1 issue(s). See inline comments below.

## WuMing Found **1** issue(s). See inline comments below.
@ -15,3 +15,3 @@
- uses: https://forge.marvin8.zone/marvin8/wuming@main
- uses: https://forge.marvin8.zone/marvin8/wuming@0.11.0
with:
forgejo_token: ${{ forge.token }}

config [LOW]

The context 'forge.token' appears non-standard for token passing in workflows. It is likely a typo or outdated reference and should be corrected to a standard secret expression such as '${{ secrets.FORGEJO_TOKEN }}' or the appropriate named secret.

**config** [LOW] The context 'forge.token' appears non-standard for token passing in workflows. It is likely a typo or outdated reference and should be corrected to a standard secret expression such as '${{ secrets.FORGEJO_TOKEN }}' or the appropriate named secret. <!-- wuming:sha256:aae3b730af05947fd664df63fe3c29a20cced3b954a8b847ec385bf81404e14a -->
Author
Collaborator

#31 (comment)

🔴 Pre-existing, untouched by this PR — forge.token is the token context provided by the zhuiri runner on this forge (wuming's own ci.yml uses the identical reference), and taibai's reviews have run successfully with it for months. This migration changed only the backend, key, agents, and pin.

https://forge.marvin8.zone/marvin8/taibai/pulls/31#issuecomment-5178 🔴 Pre-existing, untouched by this PR — `forge.token` is the token context provided by the zhuiri runner on this forge (wuming's own `ci.yml` uses the identical reference), and taibai's reviews have run successfully with it for months. This migration changed only the backend, key, agents, and pin.
agent-pi force-pushed feat/issue-96-openrouter-review from 62efddb571
Some checks failed
/ gitleaks (pull_request) Successful in 17s
/ pr-review (pull_request) Successful in 1m25s
/ checks (pull_request) Failing after 3m47s
/ publish (pull_request) Has been skipped
/ deploy-docs (pull_request) Has been skipped
to 7aa8172791
Some checks failed
/ pr-review (pull_request) Successful in 46s
/ gitleaks (pull_request) Successful in 30s
/ checks (pull_request) Failing after 4m35s
/ publish (pull_request) Has been skipped
/ deploy-docs (pull_request) Has been skipped
2026-10-15 23:21:33 +00:00
Compare
forgejo-actions left a comment

WuMing

Found 1 issue(s). See inline comments below.

## WuMing Found **1** issue(s). See inline comments below.
@ -13,3 +13,3 @@
if: github.event_name == 'pull_request'
steps:
- uses: https://forge.marvin8.zone/marvin8/wuming@main
- uses: https://forge.marvin8.zone/marvin8/wuming@0.11.0

security [MEDIUM]

A08: Action pinned to mutable semver tag (@0.11.0) instead of immutable commit SHA. Tags can be moved or deleted, enabling supply chain attacks. Pin to a commit SHA and use automated tooling to update.

**security** [MEDIUM] A08: Action pinned to mutable semver tag (@0.11.0) instead of immutable commit SHA. Tags can be moved or deleted, enabling supply chain attacks. Pin to a commit SHA and use automated tooling to update. <!-- wuming:sha256:ba7a0878901137dac4548a3ea9c5cf42c4e602fff1553bf97c699bea8e93efd9 -->
Author
Collaborator

#31 (comment)

🔴 Declined (fleet-wide maintainer decision, same content-hash finding already declined across this migration — arvak, rainlog, zaojun, kokopelli, feed2fedi, archiving_imap, cang, fedinesia): tag pinning was chosen so a wuming release update stays a one-line change per repo across ~17 consumer repos. The repointed-tag threat requires write access to the wuming repo itself — a single-maintainer repo on this forge. SHA pinning is the right follow-up only if that trust boundary grows.

https://forge.marvin8.zone/marvin8/taibai/pulls/31#issuecomment-5246 🔴 Declined (fleet-wide maintainer decision, same content-hash finding already declined across this migration — arvak, rainlog, zaojun, kokopelli, feed2fedi, archiving_imap, cang, fedinesia): tag pinning was chosen so a wuming release update stays a one-line change per repo across ~17 consumer repos. The repointed-tag threat requires write access to the wuming repo itself — a single-maintainer repo on this forge. SHA pinning is the right follow-up only if that trust boundary grows.
⬆️ bump dependencies, align hooks, pin vulnerable transitives
All checks were successful
/ gitleaks (pull_request) Successful in 27s
/ pr-review (pull_request) Successful in 1m16s
/ checks (pull_request) Successful in 3m29s
/ publish (pull_request) Has been skipped
/ deploy-docs (pull_request) Has been skipped
d23e195425
forgejo-actions left a comment

WuMing

Found 1 issue(s). See inline comments below.

## WuMing Found **1** issue(s). See inline comments below.
@ -15,3 +15,3 @@
- uses: https://forge.marvin8.zone/marvin8/wuming@main
- uses: https://forge.marvin8.zone/marvin8/wuming@0.11.0
with:
forgejo_token: ${{ forge.token }}

security [HIGH]

A05: Security Misconfiguration - The workflow uses '${{ forge.token }}' which appears to reference a non-standard context instead of the proper secrets context (e.g., '${{ secrets.forgejo_token }}'). This may cause the secret to be logged in plaintext or improperly masked, leading to credential leakage. Use the secrets context for all sensitive values.

**security** [HIGH] A05: Security Misconfiguration - The workflow uses '${{ forge.token }}' which appears to reference a non-standard context instead of the proper secrets context (e.g., '${{ secrets.forgejo_token }}'). This may cause the secret to be logged in plaintext or improperly masked, leading to credential leakage. Use the secrets context for all sensitive values. <!-- wuming:sha256:721224eb0a0e488eaa91e1331d4af41fae7fa733f04ead1d77abc57d1dde1e24 -->
Author
Collaborator

#31 (comment)

🔴 Pre-existing, untouched by this PR — forge.token is the token context provided by the zhuiri runner on forge.marvin8.zone (wuming's own ci.yml uses the identical reference), and taibai's reviews have run successfully with it for months — including this one, which was delivered through that token. secrets.forgejo_token does not exist in this repo's configuration.

https://forge.marvin8.zone/marvin8/taibai/pulls/31#issuecomment-5376 🔴 Pre-existing, untouched by this PR — `forge.token` is the token context provided by the zhuiri runner on forge.marvin8.zone (wuming's own `ci.yml` uses the identical reference), and taibai's reviews have run successfully with it for months — including this one, which was delivered through that token. `secrets.forgejo_token` does not exist in this repo's configuration.
🐛 align uv hook rev with pyproject uv version
All checks were successful
/ gitleaks (pull_request) Successful in 28s
/ pr-review (pull_request) Successful in 1m39s
/ checks (pull_request) Successful in 3m23s
/ publish (pull_request) Has been skipped
/ deploy-docs (pull_request) Has been skipped
a99ecae85c
forgejo-actions left a comment

WuMing

Found 1 issue(s). See inline comments below.

## WuMing Found **1** issue(s). See inline comments below.
@ -22,3 +22,3 @@
- repo: https://github.com/astral-sh/ty-pre-commit
rev: v0.0.84
rev: v0.0.85

config [LOW]

Version mismatch: the pre-commit hook specifies v0.0.85, while pyproject.toml constrains ty to ~=0.0.85 and pylock.toml resolves it to 0.0.88. Consider updating the pre-commit revision to v0.0.88 to maintain consistency between linting/type-checking tools across environments.

**config** [LOW] Version mismatch: the pre-commit hook specifies `v0.0.85`, while `pyproject.toml` constrains `ty` to `~=0.0.85` and `pylock.toml` resolves it to `0.0.88`. Consider updating the pre-commit revision to `v0.0.88` to maintain consistency between linting/type-checking tools across environments. <!-- wuming:sha256:0fa9760344aa4767a212b4804ceefe3fe2faff579da2d54f5cce6ed865678bfe -->
Author
Collaborator

#31 (comment)

🔴 Intentional per the fleet's dependency policy: the hook rev tracks the pyproject-chosen version (ty~=0.0.85, the zaojun-aged pick — 0.0.88 was too_new at scan time under the 7-day quarantine), while pylock resolving 0.0.88 within the ~= range is by design. pre-commit maintains its own isolated environments, so the rev does not need to match the installed version exactly. Same rationale as the identical findings on arvak#27 and zaojun#49.

https://forge.marvin8.zone/marvin8/taibai/pulls/31#issuecomment-5439 🔴 Intentional per the fleet's dependency policy: the hook rev tracks the pyproject-chosen version (`ty~=0.0.85`, the zaojun-aged pick — 0.0.88 was too_new at scan time under the 7-day quarantine), while pylock resolving 0.0.88 within the `~=` range is by design. pre-commit maintains its own isolated environments, so the rev does not need to match the installed version exactly. Same rationale as the identical findings on arvak#27 and zaojun#49.
marvin8 approved these changes 2026-10-16 06:56:00 +00:00
marvin8 manually merged commit 3e992a269c into main 2026-10-16 06:57:48 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
marvin8/taibai!31
No description provided.