Closed
Bug 2073118
Opened 2 months ago
Closed 1 month ago
[Flaky Test] browser_aitab_validation.js
Categories
(Core :: Machine Learning: General, defect, P1)
Core
Machine Learning: General
Tracking
()
RESOLVED
FIXED
160 Branch
| Tracking | Status | |
|---|---|---|
| firefox160 | --- | fixed |
People
(Reporter: tetchart, Assigned: jlewis)
References
(Blocks 1 open bug)
Details
(Whiteboard: [aiaug])
Attachments
(2 external files)
browser_aitab_validation.js
Attempting to connect to non-local address! opener is [unknown], uri is [https://mlpa-prod-prod-mozilla.freetls.fastly.net/v1/chat/completions]
Updated•2 months ago
|
| Reporter | ||
Updated•2 months ago
|
Points: --- → 2
Updated•1 month ago
|
Assignee: nobody → jlewis
Status: NEW → ASSIGNED
Updated•1 month ago
|
Attachment #9658506 -
Attachment description: WIP: Bug 2073118 - Point the Smart Window models browser tests at a local endpoint so a request that escapes the mocks can't reach MLPA. → Bug 2073118 - Stop browser_aitab_generation.js tasks from leaving a generation running after their mocks are restored.
Updated•1 month ago
|
Attachment #9658506 -
Attachment description: Bug 2073118 - Stop browser_aitab_generation.js tasks from leaving a generation running after their mocks are restored. → Bug 2073118 - Stop AITab browser tests from leaving a generation running after their mocks are restored.
Updated•1 month ago
|
Attachment #9658506 -
Attachment description: Bug 2073118 - Stop AITab browser tests from leaving a generation running after their mocks are restored. → WIP: Bug 2073118 - Stop AITab browser tests from leaving a generation running after their mocks are restored.
The next patch makes rejectAllRequests() async: it will wait for the chat turns MockEngineManager started to settle, and every caller has to await it before cleanupMocks() so no turn outlives the mocks. This patch only adds the awaits (and makes the one synchronous cleanup function that calls it async); rejectAllRequests() is still synchronous here, so no test changes behavior.
Updated•1 month ago
|
Attachment #9658506 -
Attachment description: WIP: Bug 2073118 - Stop AITab browser tests from leaving a generation running after their mocks are restored. → Bug 2073118 - Stop AITab browser tests from leaving a generation running after their mocks are restored.
Updated•1 month ago
|
Attachment #9661721 -
Attachment description: WIP: Bug 2073118 - Await MockEngineManager.rejectAllRequests() in the Smart Window browser tests. → Bug 2073118 - Await MockEngineManager.rejectAllRequests() in the Smart Window browser tests.
Pushed by jlewis@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/afb7dbd5cbe8
https://hg.mozilla.org/integration/autoland/rev/e430fee30c6a
Await MockEngineManager.rejectAllRequests() in the Smart Window browser tests. r=omarg,vazish
https://github.com/mozilla-firefox/firefox/commit/5316dd34c335
https://hg.mozilla.org/integration/autoland/rev/de6352c8e6f4
Stop AITab browser tests from leaving a generation running after their mocks are restored. r=omarg,vazish
Comment 4•1 month ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/e430fee30c6a
https://hg.mozilla.org/mozilla-central/rev/de6352c8e6f4
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
status-firefox160:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 160 Branch
Updated•1 month ago
|
QA Whiteboard: [qa-triage-done-c161/b160]
You need to log in
before you can comment on or make changes to this bug.
Description
•