Skip to content

fix: ask for the review guide when the service cannot call the run's provider - #180

Open
Svilen-Stefanov wants to merge 1 commit into
mainfrom
fix/guide-without-provider
Open

Svilen-Stefanov wants to merge 1 commit into
mainfrom
fix/guide-without-provider

Conversation

@Svilen-Stefanov

@Svilen-Stefanov Svilen-Stefanov commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Ask for the review guide even when the service cannot call the run's provider, so those runs get the guide's structure instead of nothing.

Ship this only after licensing #70 is deployed: https://app.codeboarding.org/CodeBoarding/licensing-aws/pull/70

Status on 29 Nov: #70 is merged, but production still answers 404 on /v1/merge-risk (from #69, deployed together with #70), so licensing is not deployed yet. Merge this after the deploy.

Until then the service still answers these runs with a 409, so every run on a provider it cannot call (a custom base URL, LiteLLM, a self-hosted Ollama) would log ::notice::review-guide failed: the service answered 409: ... where it now skips quietly, and would keep closed/bundle.json.xz in the review artifact for a guide that never comes. Nothing fails, but the log and the artifact both say something is wrong when nothing is.

What

  • scripts/remote_features.py: run_review_guide no longer skips a run whose headers name a provider without a key. The service now answers such a run with the guide's structure, marked words: {"status": "missing", "reason": "no_model"}, and the action stores it as returned. Only the provider's name is sent, never its key, so the service makes no model call and never falls back to the hosted model.
  • README: the guide paragraph says what words carries when the model step is missing or partial, and an unsupported provider now gets the guide's structure as well as architecture's measured findings.

Split out of https://app.codeboarding.org/CodeBoarding/CodeBoarding-action/pull/179 (merged), so merge risk could ship without waiting for #70; rebased on main after it. The merge-risk checklist follow-up, https://app.codeboarding.org/CodeBoarding/CodeBoarding-action/pull/181, adds model headers to the merge-risk request only and leaves this skip in place, so this is still needed.

Tests

Full suite on the rebased branch: 376 tests OK (9 skipped); Black clean.

tests/test_remote_features.py: an unsupported provider sends both requests with the provider's name and no key and stores the returned structure; a guide without the model's words (missing/model_error, missing/timeout, partial/timeout) is stored as returned; the bundle is kept for such a run. Full suite: 360 tests OK (9 skipped). Black clean.

Nothing visible changes in the app or the review comment.

Not tagged or released.

🤖 Generated with Claude Code

@codeboarding-review

codeboarding-review Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

CodeBoarding review

Status: 1 changed component

See the full change in CodeBoarding.

graph LR
    n_Action_Workflow_and_Analysis_Execution["Action Workflow and Analysis Execution"]
    n_Remote_Review_and_Problem_Ledger["Remote Review and Problem Ledger"]
    classDef added fill:#1f883d,stroke:#0b5d23,color:#ffffff;
    classDef modified fill:#bf8700,stroke:#7d4e00,color:#ffffff;
    classDef deleted fill:#cf222e,stroke:#82071e,color:#ffffff,stroke-dasharray:5 3;
    class n_Remote_Review_and_Problem_Ledger modified;
Loading

download artifacts · run 46260925897

The service now answers a run it has no model for with the guide's structure, marked
`words: {"status": "missing", "reason": "no_model"}`, instead of a 409. Skipping the request on the
runner kept those runs from ever getting it. Only the provider's name is sent, never its key, so the
service still makes no model call and never falls back to the hosted model.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Svilen-Stefanov
Svilen-Stefanov force-pushed the fix/guide-without-provider branch from 8cd734e to 0f18756 Compare November 29, 2026 12:10
@Svilen-Stefanov
Svilen-Stefanov marked this pull request as ready for review November 29, 2026 12:11
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 29, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-29T12:13:01.871972Z 0f18756 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

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.

1 participant