Skip to content

fix(browser/cdp): compile against chromedp v0.13.6#206

Merged
Delqhi merged 1 commit into
mainfrom
fix/browser-cdp-compile
Jun 16, 2026
Merged

fix(browser/cdp): compile against chromedp v0.13.6#206
Delqhi merged 1 commit into
mainfrom
fix/browser-cdp-compile

Conversation

@Delqhi

@Delqhi Delqhi commented Jun 16, 2026

Copy link
Copy Markdown
Collaborator

PR #201 introduced the native CDP recorder, but the code was written against an older chromedp/cdproto API and would not build with the v0.13.6 version declared in go.mod.\n\nThis fix:\n- Uses target.SetAutoAttach(autoAttach, flatten) (2 args).\n- Removes references to events/symbols not present in v0.13.6.\n- Defers child-session enablement until the package is exercised with a browser.\n- Runs go mod tidy to add the missing go.sum entries.\n\nThe package now builds and the root cmd/sin-code test suite passes.

- target.SetAutoAttach now takes 2 arguments (autoAttach, flatten).

- security.EventSecurityStateChanged, page download events, and target.RunIfWaitingForDebugger are not present in v0.13.6.

- chromedp.WithExistingSession was removed; child-session enablement is deferred.

- go mod tidy adds the missing indirect sums so the package builds.
@vercel

vercel Bot commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
sin-code Ready Ready Preview, Comment, Open in v0 Jun 16, 2026 5:11pm

@Delqhi
Delqhi merged commit fa12c54 into main Jun 16, 2026
8 of 10 checks passed
@github-actions

Copy link
Copy Markdown

🏆 CEO Audit — A+ (100.0/100)

Metric Value
Grade A+
Score 100.0/100
Critical findings 0
High findings 0
Profile QUICK
Min grade gate B

📥 Download full report (Markdown)
📊 Download SARIF (for Code Scanning)

Run ~/.config/opencode/skills/ceo-audit/scripts/audit.sh . --profile=QUICK locally to reproduce.

@github-actions

Copy link
Copy Markdown

🏆 CEO Audit — A+ (100.0/100)

Metric Value
Grade A+
Score 100.0/100
Critical findings 0
High findings 0
Medium findings 0
Profile QUICK
Min grade gate B

📥 Download full report (Markdown)

Run ID: 27634986786 · Commit: ${github.sha}

Run ~/.config/opencode/skills/ceo-audit/scripts/audit.sh . --profile=QUICK locally to reproduce.

@Delqhi
Delqhi deleted the fix/browser-cdp-compile branch June 16, 2026 21:14
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