search: server start warms engines with plain requests the engine sessions never use

Open
#856 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
55/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript
Domain
backend, search

Research direction

Start by tracing the server startup request and the DuckDuckGo and Bing engine sessions; the issue does not name files or tests. Check how DuckDuckGo image search sends requests and whether issue #811 covers moving it to a session. Add or update a test showing startup sends no plain request to an engine that uses a session; decide explicitly whether image search is handled here or left to #811.

Written by the indexing model from the issue text.

Description

area:search bug

Problem

On server start, a plain request is sent to DuckDuckGo using the runtime's default connection fingerprint. DuckDuckGo and Bing now send their requests through engine sessions with a fixed browser profile (#847, #854), so this start-up request warms a connection nothing uses, and it presents the identity the engines judge badly. DuckDuckGo image search also still sends plain requests with a rotating browser name. Found in the review of PR #854.

Change

Remove the start-up plain request for engines that use a session, or warm their session instead. Move DuckDuckGo image search onto the same session or leave it for #811 and say so.

Done when

  • A test shows server start sends no plain request to an engine that uses a session.
Dominant language
TypeScript
Stars
5.4k
Forks
445
Avg merge
20h 41m
Merged PRs (30d)
85

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from KnockOutEZ/wigolo

All issues in KnockOutEZ/wigolo

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.