Skip to content

fix(probe): 建仓端点最终修正 - #506

Merged
randypanding merged 1 commit into
mainfrom
ir0010-probe-create-fix4
Sep 6, 2026
Merged

randypanding merged 1 commit into
mainfrom
ir0010-probe-create-fix4

Conversation

@randypanding

Copy link
Copy Markdown
Contributor

链条:#503 只改 body;#504 替换咬中 -d 体内 name;#505 断言失败未生效。本 PR(推送前本地终检:name=stronghold+visibility=private、POST URL 恰一处 -/repos、GET 两处 stronghold 不动)。

Copilot AI lite review requested due to automatic review settings September 6, 2026 10:26
@qodo-code-review

Copy link
Copy Markdown

ⓘ Qodo reviews are paused because your trial has ended. Ask your workspace admin to add credits to resume reviews. Manage billing

@randypanding
randypanding merged commit daf423a into main Sep 6, 2026
6 of 8 checks passed
@coderabbitai

coderabbitai Bot commented Sep 6, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Team

Run ID: ea9be05f-e335-4d45-af88-58ba79bdd764


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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@randypanding
randypanding deleted the ir0010-probe-create-fix4 branch September 6, 2026 10:26

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

It modifies a C1 path (.github/workflows/...) and will fail the adr-required gate unless the PR title/body references an ADR-NNNN (e.g., ADR-0108).

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

This PR finalizes the CNB stronghold probe’s repository-creation request so it matches the CNB API’s expected POST endpoint and payload, while keeping the existing GET probe paths unchanged.

Changes:

  • Restore create payload name to stronghold.
  • Update create endpoint to POST $API/Cloudbird-Software/-/repos.
File summaries
File Description
.github/workflows/cnb-stronghold-probe.yml Fixes the POST create request URL and body used by the stronghold probe workflow.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +36 to +37
-d '{"name":"stronghold","visibility":"private","description":"CNB 私有阵地(真值区)——ADR-0108"}' \
"$API/Cloudbird-Software/-/repos" || echo ERR)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants