Repository navigation
GH#34545: fix(opencode): fail closed on standalone browser Task transport - #34547
Conversation
|
Important Review skippedAuto reviews are limited based on label configuration. 🏷️ Required labels (at least one): 1🚫 Excluded labels (none allowed): 1
Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
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 |
Markdown Lint (changed-line scoped)No new violations in changed lines (0 pre-existing in touched files — ignored).
|
Up to standards ✅🟢 Issues
|
Qlty New-File Smell Gate✅ Clean — 1 new source file(s) scanned, no smells found.
New files scanned
|
Shell Function Complexity Regression Gate✅ No regression — no new function(s) >100 lines.
|
Qlty Smell Regression Gate✅ No change — smell count unchanged.
|
🔍 Code Quality Report�[0;35m[MONITOR]�[0m Code Review Monitoring Report SonarCloud: 0 bugs, 0 vulnerabilities, 1 code smells Tue Oct 13 15:21:29 UTC 2026: Code review monitoring started 📈 Current Quality Metrics
Generated on: Tue Oct 13 15:24:03 UTC 2026 Generated by AI DevOps Framework Code Review Monitoring |
Shell Nesting Depth Regression Gate✅ No regression — no new file(s) with nesting depth >8.
|
File Size Regression Gate✅ No regression — no new non-README Markdown file(s) >1000 lines at root / >500 elsewhere.
|
|
Maintainer Gate: BLOCKED This PR cannot be merged because: Issue #34545 has no assignee — an issue must be assigned before work begins.
This is an automated check. See issue-triage-gate.yml for the triage policy. |
|
Maintainer review and verification at head
Marking ready for merge. aidevops.sh v3.39.31 plugin for OpenCode v1.19.0 with claude-opus-5-5 spent 11h 33m and 901,781 tokens on this with the user in an interactive session. |
marcusquinn
left a comment
There was a problem hiding this comment.
Auto-approved by pulse runner @marcusquinn — author @vladimirdulov confirmed collaborator, pre-merge gates passed.
aidevops.sh v3.39.31 automated scan.
alex-solovyev
left a comment
There was a problem hiding this comment.
Auto-approved by pulse runner @alex-solovyev — author @vladimirdulov confirmed collaborator, pre-merge gates passed.
aidevops.sh v3.39.31 automated scan.
🔍 Code Quality Report�[0;35m[MONITOR]�[0m Code Review Monitoring Report SonarCloud: 0 bugs, 0 vulnerabilities, 1 code smells Thu Oct 15 04:13:00 UTC 2026: Code review monitoring started 📈 Current Quality Metrics
Generated on: Thu Oct 15 04:14:47 UTC 2026 Generated by AI DevOps Framework Code Review Monitoring |
Summary
Resolves #34545.
aidevops.browser-task/v1JSON Task envelopes for explicit browser transport selection..agents/tools/browser/playwright.mdand cover the shared quality pre-tool boundary with offline regressions.Files and reference pattern
Implementation:
.agents/plugins/opencode-aidevops/browser-task-transport.mjs, called byquality-hooks.mjsbefore native Task execution. Reference: canonical Playwright role defaults, capability registry and existing fail-closed research-only boundary. Regression:tests/test-browser-task-transport.mjs.Verification
b9de982bbd66499d31934bd9aba6d9d9d73ed2ae. All 111 scoped tests passed (transport, research-only, subagent effort, MCP lifecycle, V2 adapter and permissions).4dbdd625cby runningnode --testontest-shell-env-origin.mjs,test-source-access-approval.mjsandtest-source-access-context.mjsfrom a Git archive of that revision.Blocked finalization checkpoint
full-loop-helper.sh commit-and-prfinalized the WIP history locally but its mandatorynpm run testvalidator failed before pushing. The PR remains draft with the earlier pushed implementation checkpoint. Do not treat this as ready or merged. No validator, signing, permission or merge controls were bypassed.Baseline failures are the shell-env PATH assertion, two V3 source-access manifest tests, two source-context transport tests and the runtime-adapter socket assertion. Observed failures concern selected Node PATH and private source-context/socket environment requirements. They are unrelated to browser Task transport and were not repaired in this task. Original implementation files are unchanged by the intervening release-only base update.
Resume after those baseline validator failures are resolved on the runner/default branch: rerun the full plugin validator and scoped tests, then
full-loop-helper.sh commit-and-pr --issue 34545with the recorded summary/testing, mark the exact-head PR ready, verify MERGE_SUMMARY and remote checks, and attempt guarded merge once.Evidence and limitations
Offline reproduction covers the unsafe dispatch configuration, not the original child's unavailable historical tool trace. No live provider, sign-in, playback or credentials were used. The implementation deliberately fails closed instead of adding a standalone child runner or claiming a shell sandbox. Legacy prose-only requests retain default behavior; explicit transport restrictions must use the structured envelope. Supplied readiness is not independently reconstructed live evidence or site authorization.
aidevops.sh v3.39.27 plugin for OpenCode v1.18.34 with gpt-6.1-sol spent 15m and 133,184 tokens on this as a headless worker.