You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Move remaining headless engine branches into the engine registry #183
Follow-up of #180. The provider and engine registries now own providers/base.py and providers/headless.py. These engine-name branches remain because they were out of scope or bound to a hash.
Remaining
src/harness/web_fetch/providers/headless_worker.py still branches on moli, lightpanda, obscura and kitesurf (route selection, envelope fields, CA environment, attachment handling).
src/harness/web_fetch/task_outputs.py:183-286 repeats the engine set and has per-engine evidence checks.
src/harness/web_fetch/network_preflight.py:78 tests engine != "kitesurf"; it can read ENGINES[...].hosted.
Why the worker was left alone
headless_worker.py is hash-bound. Its SHA-256 is recorded as worker_sha256 and execution_sha256 on every call and as adapter_input_sha256 in the cohort comparison, and ContainerResourceRunner.validate rejects a resource image whose worker bytes differ from the host. Any edit therefore requires rebuilding every declared resource image, so it should ship with the next planned image rebuild, not as a standalone refactor.
Done when
The worker reads engine behaviour from ENGINES, and tests/golden/headless-engine-routes.jsonl stays unchanged.
Resource images are rebuilt in the same change, and their worker hash check passes.
Closing: remaining browser-name branches are not bugs, and editing headless_worker.py changes worker_sha256, forcing every resource image to be rebuilt. Tidy them when the worker next changes for a real reason.
Activity
lanyue-llk commentedon Nov 4, 2026
Closing: remaining browser-name branches are not bugs, and editing
headless_worker.pychangesworker_sha256, forcing every resource image to be rebuilt. Tidy them when the worker next changes for a real reason.