镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Keep imported provider agents out of local connection setup - #2487

Open
klopez4212 wants to merge 1 commit into
mainfrom
terp/hosted-import-marker-20261104
Open

klopez4212 wants to merge 1 commit into
mainfrom
terp/hosted-import-marker-20261104

Conversation

@klopez4212

@klopez4212 klopez4212 commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Legacy harness imports store their provider backend under imported.record.backend. Reading only the top-level backend classified these hosted agents as local harnesses, allowing the connection card to offer a local import after stale hosted presence disappeared.

Read the backend from the persisted payload for harness imports, while retaining the top-level lookup for old Buzz records. Regression coverage checks known/custom harness commands and the portable-agent listing path.

Follow-up to #2423: #2423 (comment)

Validation: all 101 agent-controller tests passed; agent-controller Clippy passed; machine push policy checks passed. Source review confirms the existing connection card excludes the resulting hosted runtime. Real native legacy import was not exercised. Ready for review as requested.

Co-authored-by: Terp <5856f6900e8e0a4e0ea1f4f8d2ee33e4753d2119bc122f94ecafc660b46c0511@buzz.block.builderlab.xyz>
Signed-off-by: klopez4212 <klopez4212@gmail.com>
@klopez4212
klopez4212 requested a review from a team as a code owner November 4, 2026 20:58
@chatgpt-codex-connector

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

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-04T21:02:02.449048Z c4764c9 PR opened
ℹ️ 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.

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c4764c9092

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

.unwrap_or("buzz-agent")
};
let runtime = if record["backend"]["type"].as_str() == Some("provider") {
let backend = if harness {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Add the required Signed-off-by trailer

The reviewed commit message has no Signed-off-by trailer, so the repository’s hosted DCO check will fail even though local hooks passed. Recreate the commit with git commit --signoff before submitting it.

AGENTS.md reference: AGENTS.md:L217-L220

Useful? React with 👍 / 👎.

@joahg joahg left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

🤖 Fix is correct: imported harness records keep their backend under imported.record.backend, and both new tests cover it. The Codex P1 about a missing Signed-off-by is stale, since the commit carries the trailer.

This branch has not been deployed

No deployments
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