Skip to content

feat(browser): retain worker source and runtime evidence - #2068

Open
cyanseek wants to merge 81 commits into
morluto:mainfrom
cyanseek:codex/browser-worker-evidence
Open

cyanseek wants to merge 81 commits into
morluto:mainfrom
cyanseek:codex/browser-worker-evidence

Conversation

@cyanseek

@cyanseek cyanseek commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Fixes #883. inspect_web_page retains worker sources and runtime evidence with explicit ownership, selection and coverage. Matching URLs do not establish ownership: dedicated workers use observed page/frame attachment, Service Workers use observed controlled clients, and explicitly selected shared/unrelated workers retain unknown ownership.

Change and scope

  • One capture owner manages worker/frame sessions, lifecycle, source reads and cleanup. Separate serialized lifecycle and source queues bound in-flight work; queued work rechecks detach/ownership and stops on cancellation or failure.
  • Resume only unfinished domain setup when Service Worker page control returns; retain the gap and exclude events received outside current scope. Loaded-source inventory does not assert execution during the gap.
  • Default output omits unknown-owner target IDs and URLs, retaining anonymous coverage diagnostics and explicit worker selection.
  • Running Service Workers without a target ID retain an anonymous discovery gap when they control the page, including client ownership established by a later iframe/worker attachment. Unrelated or stopped versions do not create that gap.
  • Preserve ordered Service Worker client history across attachment/version order, missing updates and client detachment. Unresolved previously controlled targets keep discovery incomplete. Historical relationships do not grant ongoing collection authority.
  • Retain worker console/WebSocket data with caller-selected content policy and budgets, normalized safe response metadata and untrusted agent hints. Missing domains and revoked control retain coverage gaps.
  • Validate retained page/worker selection, source approval, sanitized URLs and origin scope before reconciliation or export. Page-related ownership requires a dedicated worker; service-worker-client ownership requires a Service Worker. Unknown ownership cannot manufacture page selection.
  • Keep opaque target/script/context identities and exact source digests. Non-JavaScript scripts retain metadata without being retrieved or exported as JavaScript. Missing-session source failures are cached per session; individual script errors and other sessions remain independent.
  • A failed worker/frame detach makes the existing socket owner evict and close its connection, retaining its cleanup lease if closure fails. Confirmed detach keeps connection reuse.
  • Keep main's page-script/source-map comparison and directional network completeness rules. Observed excess can establish a difference against a complete peer; an incomplete inventory cannot establish absence. Worker script comparisons retain their own identity and coverage. Successful discovery alone does not prove complete code inventory or that an unobserved script was not loaded.
  • Integrate main 21cfc80, including the page-attachment cleanup in fix(browser): preserve peer observations after a rejected page attachment #13841 and the shared worker-target, network-event and script-source parsers. Empty relationship identifiers are rejected before ownership policy; opaque nonempty identifiers are preserved exactly.

Contract and boundary impact

  • Additive worker_target_ids / --worker-target-ids, optional worker observations/metadata, response-source facts and export coverage. Historical captures remain readable.

  • Static bundle capture remains page-only and rejects worker selection. Explicit selection does not bypass origins or manufacture ownership.

  • REA owns its passive sessions and releases them on success/failure/cancellation. It does not evaluate, pause, start or terminate target workers. No new dependency, installer, version or generated-output commit.

  • Read existing files or captured data.

  • Launch or attach to a process.

  • Contact network services.

  • Treat confirmed auto-detachment as completed child cleanup so parallel browser-socket leases remain usable. Unconfirmed cleanup still evicts the connection.

  • Validate retained worker source-map declarations at the same selection/origin boundary as script URLs. Missing worker metadata remains unknown in capture comparisons while independently established differences stay visible.

  • Validate supplied Service Worker client lists before routing versions with or without a target ID, retaining malformed ownership as an explicit discovery gap.

  • Keep shared connections after a confirmed worker-attachment rejection; evict them when attachment or cleanup remains unconfirmed. Preserve discovery gaps for running targetless versions with unknown clients.

  • Keep worker events observable through the final document check while sealing new source reads. Eligible scripts skipped during this interval remain visible as inventory and selected-source coverage gaps.

  • Identify the exhausted worker event or retained-source byte budget in public errors, with the corresponding recovery parameters.

  • Share the source-collection allowance across active worker read batches, excluding idle observation time. Record per-script omissions on expiry. The existing page/Electron source-budget owner also handles the CDP response timer expiring first.

  • Include owned and explicitly selected worker ledgers in overall reconciliation coverage and graph omission knowledge. Preserve missing legacy observations as gaps and keep unselected, unrelated observations outside that scope.

  • An allowed out-of-process iframe that arrives after child-observer setup closes records unavailable worker discovery. This coverage gap carries into script reconciliation.

Validation performed

  • Updated the published branch through merge commit 15af49dd4. Across 179 selected files, 3,053 distinct tests passed and one conditional SAZ test skipped on this host. The first pass identified three expectations for the pre-feat(errors)!: add the TargetFailure model, its projection table and conformance registry #14247 error code. The complete worker-capture file passed all 241 cases after two assertions adopted the current public partial code.

  • The two review regressions failed on the previous head. Both response and redirect tests cover proven response-source differences with a partial inventory on either side. The late-iframe test verifies the discovery gap, closed setup queue and session cleanup.

  • Real Chrome 151.0.7922.34 passed the complete browser verifier, including a 9,467,940-byte native PNG through CLI and stdio MCP and complete export. The separate runtime verifier passed 8 public cases and 14 worker cases, including source digests, origin isolation, cancellation and export of four worker sources. Both verifiers ended with zero owned descendants.

  • The public CLI and MCP returned the expected payload_limit reason, byte ceiling and recovery parameters for event and source exhaustion. Worker and page source-deadline controls each recorded all 30 withheld replies. Electron source success, timeout and cancellation passed. Both orders of the worker-session registration control passed.

  • Build and full local check:ci passed, including test discovery, 189 Python tests and typed lint on 8,617 files. After the assertion update, the final pre-push check passed full TypeScript, lint and architecture checks. The two edited validation files passed format checking. POSIX catalog generation changed only the compact input digest for inspect_web_page. All required engines accepted 38 patterns, and Rust and Python validated all 273 advertised schemas.

  • Follow-up cd7f04c73 reconciles the guide’s worker coverage description and uses the transport and export owners for test guidance. Both changed-wording controls passed, and deliberately dropping transport guidance or altering the omitted-worker count failed the corresponding tests. On this head, all 249 tests in the two related files, the documentation build and eight conformance tests, pre-push checks, and the 8 public plus 14 worker Chromium scenarios passed.

Worker observations remain attach-limited. Coverage gaps stay visible after control returns, and incomplete worker inventory cannot establish a mapped static module's absence.

Author readiness

Human owner: @cyanseek

  • I reviewed the final diff and relevant existing code, understand the change and its edge cases, and take responsibility for the complete PR, including AI-assisted work.
  • I checked the evidence above, confirmed it supports the current change, and recorded meaningful validation gaps.
  • I declare this PR ready for initial maintainer review.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 12, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

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

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-30T10:13:51.899855Z
We couldn’t complete this review. Comment @codex review to try again.
b68f148 New commits
ℹ️ 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: 8545827612

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

Comment thread src/cli/browserCommands.ts Resolved
Comment thread src/browser/CdpWorkerCapture.ts Resolved
Comment thread src/browser/CdpWorkerCapture.ts Resolved

@dandgabr dandgabr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Review suggestion

  • P2 — Preserve Service Worker ownership when client state is unknown. In #versions, a missing or malformed controlledClients produces controls === null, but the else branch removes the target from #controlled. After a prior event confirmed this page as a client, the unknown update is treated like revocation and subsequent worker events are filtered out. Change membership only when controls is explicitly true or false; retain the last known state for null.

@cyanseek

cyanseek commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor Author

Addressed the worker review findings in 629e43d:

  • Pre-admission Service Worker version events are retained in order. Historical ownership remains recorded even after explicit revocation; only current confirmed client state authorizes default capture. Missing or malformed client lists preserve the last known state and are recorded as unknown, including updates after attachment.
  • Source opt-out now contributes the exact script count to the worker completeness ledger as script_sources / not_approved.
  • Removed worker selection from page-only analyze_web_bundle (CLI and MCP schema), and made its page-script scope explicit in returned limitations and documentation. Worker inspection/export remains available; this avoids promising static worker analysis that is not implemented.

Six regression cases fail against the previous implementation and pass with the fix. Validation: 410 browser/export boundary tests pass (9 existing platform/selection skips), 27 focused contract/worker/cleanup tests pass, full check and docs check pass, and the real Chrome CLI/MCP worker workflow passes, including rejection of the unsupported bundle option and its absence from the SDK catalog. The existing real browser-runtime verifier also passes. Main was merged to include the upstream setup-cleanup CI repair (98d8470); CI is running on this new head.

Follow-up 6c8c0df: the Linux runtime lane exposed initial fixture navigation racing the first page evaluation. The verifier now waits for the expected page URL and load state before reading its readiness promise. The complete real runtime/worker lane passes locally with this change, and CI is rerunning.

@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: 6c8c0dfff0

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

Comment thread src/browser/CdpPageCapture.ts Resolved
Comment thread src/browser/CdpWorkerCapture.ts Resolved
Comment thread src/browser/CdpWorkerCapture.ts Resolved
@CassieFox23

Copy link
Copy Markdown
Contributor

TL;DR: On real headless Chromium 154 on Linux, head 6c8c0df keeps each worker's source and owner. Base kept no source and no ownership record. Two pages with the same worker URL stay apart on head, and every source matched the fixture byte for byte.

What I saw

I ran the CLI by hand against the PR's own fixture. It has two same-origin pages (A and B) and one page on a second origin. Each page starts a dedicated worker, a module worker, a shared worker and a service worker.

Worker on page A Base fe4b94a Head 6c8c0df Head with --worker-target-ids
Dedicated worker listed with its parent frame, but no source and no owner record owner page A, source 93 bytes same
Module worker listed with its parent frame, but no source and no owner record owner page A, source 85 bytes same
Shared worker not listed owner unknown, no source owner unknown, source 143 bytes
Service worker not listed owner page A, source 357 bytes same
  • Every source text matched the fixture. The sha256 matched too, and I computed it again with Python. The module worker has non-ASCII text, so that check has teeth.
  • Pages A and B both load worker.js and module.js. Head keeps four separate targets. On page A, A's workers have source and owner A. B's workers are listed with owner unknown and no source. On page B the roles swap.
  • I chose B's worker.js while capturing page A. Head returned its source, but the owner stayed unknown. That is what the PR promises.
More results
  • Choosing a worker from the other origin fails with target_not_allowed.
  • Worker requests show up on head (/worker-request, /module-request, and /shared-request when the shared worker is chosen). Base shows none. Head also marks the page's /cached request as cache-storage from the service worker. Base has no such field.
  • I ran two of the captures again on Node 22 and 26. The worker ids, owners and hashes matched Node 24.

One surprise. The PR body says base returned workers: [] on Windows Chrome 145. On Linux Chromium 154, dedicated workers carry a parent frame. Base keeps a worker whose parent frame is on the page (CdpPageCaptureWorkers.ts, lines 38 to 40), so it lists them. It misses the shared and service workers, which have no parent frame here.

verify-browser-runtime.mjs (with its worker lane) and the PR's two test files (23 tests) pass on Node 22, 24 and 26.

dandgabr asked that an unknown client list not count as a revoked one. Head does this (CdpWorkerCapture.ts lines 446 and 447). The PR's test catches it: when I changed line 447 back to a plain else, 3 tests failed.

Not run

  • The Windows Chrome 145 repro of base workers: [].
  • Worker termination, restart, cancel and the MCP path by hand. Only the PR's verifier ran them.
  • --worker-target-ids on a service worker, a page's own worker, or the other-origin page.
  • The full suite, and the three Codex notes from 11:11 UTC.
  • Other Chromium versions, and headed runs.

Thanks, cyanseek, for the work on this. Thanks, dandgabr, for the review.

Commands
# per capture (Node 24; pages A, B, C and the explicit options varied)
node /tmp/pr2068/head/scripts/rea.mjs inspect-web-page http://127.0.0.1:PORT PAGE_ID \
  --include-script-sources --observation-ms 500 --json [--worker-target-ids SHARED_ID]
node /tmp/pr2068/base/scripts/rea.mjs inspect-web-page http://127.0.0.1:PORT PAGE_ID \
  --include-script-sources --observation-ms 500 --json
# verifier, one Node at a time
REA_BROWSER_EXECUTABLE=/usr/bin/chromium-browser node scripts/verify-browser-runtime.mjs
# tests, one Node at a time
node node_modules/vitest/vitest.mjs run src/domain/browserObservation.test.ts \
  tests/boundary/browser/cdpWorkerCapture.test.ts

Chromium ran as chromium-browser --headless=new --remote-debugging-port=0 with its own profile folder.

Test setup
  • Box: Nobara 44 (Fedora 44 base), Linux 7.2.9
  • CPU: AMD Ryzen 9 5900X, 12 cores / 24 threads
  • RAM: 32 GB DDR4-3600
  • Node: 22.23.1, 24.18.0, 26.11.1
  • Head / base: 6c8c0df / fe4b94a
  • Other: the Chromium browser (BSD-3-Clause) was at version 154.0.8037.57, and it ran with no window
  • Note: Other test agents shared the box, so I report no timings.

🤖 Generated with Claude Code (Sonnet 5.5, verified by Opus 5.5) 🦊

@morluto

morluto commented Oct 13, 2026

Copy link
Copy Markdown
Owner

@greptileai review

@greptile-apps

greptile-apps Bot commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

Confidence Score: 5/5 · The reviewed changes appear safe to merge.RetriggerView in GreptileConfidence Score: 5/5 Tier: plus

[High impact] The reviewed changes appear safe to merge.

Summary

Adds scoped worker source and runtime capture, retained ownership facts, export coverage, and conservative comparisons.

  • Page inspections now retain runtime evidence from observed workers.
  • Callers can select workers and carry their evidence into exports.
  • Worker scripts now appear in capture comparisons and runtime graphs.
  • Network comparisons now include where responses came from.

Diagram

%%{init: {'theme': 'neutral'}}%%
flowchart TD
  A[Worker session detaches] --> B[Mark coverage unavailable]
  A --> C[Keep collected scripts]
  B --> D[Missing scripts stay unknown]
  C --> E[Export saved sources]
  C --> F[Match known source digests]
Loading

Reviews (57) · Last reviewed commit: "fix(browser): report coverage gaps after..." · Reviewed by Greptile

Comment thread src/browser/CdpPageCapture.ts Resolved
Comment thread src/browser/CdpWorkerCapture.ts Resolved
Comment thread scripts/ci/scopes.mjs Resolved
@cyanseek

Copy link
Copy Markdown
Contributor Author

Addressed the latest review in ec6c988, after merging current main:

  • Page-only analyze_web_bundle no longer constructs or starts the worker capture owner, so worker protocol/source failures cannot affect that operation.
  • Worker capture finalization now uses the shared event owner's response-body settlement. Retained JSON request shapes stay available, while unfetched JSON response shapes are explicitly unavailable and the request remains partial.
  • A retained worker script ID that is subsequently excluded or loses its URL aborts with target_changed; stale source cannot survive the normalized identity loss.
  • The real-runtime CI scope now includes the shared capture-event and script-export producers. The worker verifier consumes the current fixture lifecycle interface, including owned cleanup.

Validation: six new behavior/scope regressions fail before the fixes and pass afterward; 113 focused tests and 434 browser/export boundary tests pass. Full static checks, docs checks and the real Windows Chrome 145 CLI/MCP/runtime/worker verifier also pass. The boundary run excludes the previously reproduced Windows signal-termination mismatch and platform-selected cases.

Thanks to CassieFox23 for independently testing the source/ownership, Unicode digests, origin boundary and Service Worker cases on Linux Chromium 154. I clarified the PR's base-reproduction statement: the empty inventory was our Windows Chrome 145 result; your Linux base retained dedicated-worker inventory but lacked source and ownership evidence. Your reported platform checks remain separately attributed from my local verification.

Comment thread src/domain/pageScriptCapture.ts Resolved
Comment thread src/browser/CdpWorkerCapture.ts Resolved
@cyanseek

Copy link
Copy Markdown
Contributor Author

Addressed the two follow-up findings in 117a05f. Script capture selection now retains each worker's original completeness and limitations, and publication carries them into both the inline result and persisted manifest as optional worker_coverage, keyed by target ID. Workers with no scripts remain represented; legacy captures without a worker observation explicitly retain null coverage. Page and worker ledgers stay separately attributable. Worker URL exclusions now use the shared URL-reason classifier.

The new export regression exercises an unavailable worker Debugger through the capture boundary and actual CLI export, then checks both returned Evidence and the durable manifest. Three new regression cases fail before the changes and pass afterward. The complete focused selection passes 82 tests (5 platform skips), static/docs checks pass, and the real Chrome CLI/MCP/runtime/export verifier passes with exact per-worker manifest coverage checks.

I also corrected the shadowed-parameter assertion to the current explicit unknown-provenance contract. The previous CI shard failure reproduced unchanged on main; this assertion now passes locally alongside the worker/export checks.

@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: 117a05f122

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

Comment thread src/browser/CdpWorkerCapture.ts Resolved
Comment thread src/browser/CdpWorkerCapture.ts Resolved
Comment thread src/browser/CdpWorkerCapture.ts Resolved
Comment thread src/browser/CdpCaptureEventHandlers.ts Resolved
@cyanseek

Copy link
Copy Markdown
Contributor Author

Addressed the four additional transport/coverage/comparison findings in 768ec97.

  • Worker attachment is scoped to browser-level CDP transports. A direct page connection retains available inventory and explicit selection, with unavailable script/network coverage and a precise transport limitation; it does not send browser attach, detach or flat-session commands. This boundary is documented.
  • Both explicit replies and auto-attachment events pass through the same nonempty session-ID check before registration. Malformed empty IDs produce protocol_error, with no commands routed through the empty key and no surviving connection.
  • The shared event accumulator records opt-out exclusions at construction as well as after frame reset. Workers with zero requests therefore retain json_body_shapes/not_approved, including in exported per-worker coverage.
  • Network comparison includes each mutually known Service Worker/disk-cache/response-source field. Historical absent fields and individual null fields do not invent changes or suppress differences in the remaining known fields.

Validation: three coverage/diff regressions and three transport regressions fail before their fixes and pass afterward. The comparison case verifies complete CLI/stdio-MCP Evidence parity and a subsequent ping. The final Windows-applicable browser/export selection passes 445 tests, with 14 platform/selection exclusions; this explicitly excludes the existing POSIX self-SIGTERM assertion on Windows. The 42 worker/discovery transport cases, static/docs checks and real Chrome 145 runtime/worker verifier also pass, including opt-out ledger retention in the exported manifest. Real execution coverage is Windows; whole-process lineage remains unavailable in this verifier's report.

The CI release-preflight test now validates the selected runnable job without requiring steps on unrelated reusable-workflow jobs. Its old schema failure was reproduced from the exact earlier CI merge's release.yml; local checkpoint validation passes 35 tests with four Bash-specific exclusions.

@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: 768ec97381

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

Comment thread src/browser/CdpWorkerCapture.ts Resolved
Comment thread src/browser/CdpWorkerCapture.ts Resolved
Comment thread src/browser/CdpWorkerCapture.ts Resolved

@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: a2cc23391e

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

Comment thread src/browser/CdpWorkerCapture.ts Resolved
Comment thread src/domain/webCaptureDiff.ts Resolved

@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: ac45239680

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

Comment thread src/browser/CdpWorkerCapture.ts Resolved

@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: 5b52cf5c94

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

Comment thread src/browser/CdpWorkerCapture.ts Resolved
Comment thread src/browser/CdpWorkerCapture.ts Resolved
Comment thread src/browser/CdpWorkerCapture.ts Resolved

@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: f34fdc25c1

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

Comment thread src/browser/CdpWorkerCapture.ts Resolved

@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: efe9fae001

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

Comment thread src/browser/CdpWorkerCapture.ts Resolved

@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: 95c13fe74b

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

Comment thread src/browser/CdpWorkerCapture.ts Resolved
Comment thread src/domain/webCaptureDiff.ts Resolved

@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: a68d5e8311

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

Comment thread src/browser/CdpWorkerCapture.ts Resolved
@morluto

morluto commented Nov 24, 2026

Copy link
Copy Markdown
Owner

@cyanseek thanks for the PR — there are 24 open review threads here:

Could you address or reply to these? Once they're resolved and CI is green we can take another look.
cc @gensokyo-dev @dandgabr

@morluto

morluto commented Nov 24, 2026

Copy link
Copy Markdown
Owner

@cyanseek also, this branch has merge conflicts with main — please resolve those along with the open threads.

@cyanseek

Copy link
Copy Markdown
Contributor Author

I merged current main in 15af49dd4 and resolved all 24 threads you listed. The two new fixes preserve proven response-source changes when one inventory is partial and record the discovery gap when an iframe arrives after worker-observer setup closes. I checked the other 22 against their existing replies and the merged code.

The updated PR description records the local results. Across 179 files, 3,053 tests passed with one conditional skip. Both real Chromium verifiers passed, including the 8 public runtime and 14 worker cases. The GitHub CI run is in progress.

Comment thread docs/guides/web/browser-observation.md Resolved

@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: cd7f04c73c

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

Comment thread src/browser/CdpWorkerCapture.ts Resolved
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

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

area: cli CLI adapter and one-shot commands area: domain Domain logic, errors, and pure functions area: runtime Process capture and runtime observation enhancement New feature or request P2: medium Medium priority issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] Attribute website worker and service-worker sources and runtime ownership

6 participants