Repository navigation
Port old fusion modules and fix GUI smoke check - #3
Merged
Merged
Conversation
Pulls the changed modules from the old repo's self/fusion-2026-11-15 snapshot where they keep the full test suite green. Files: ci_bootstrap, deep_scan, evaluator, feature_gen, gui_check, key_ping, keys, multi_repo, opencode_db, playwright_env, procs, providers, static_checks, todo_scan, opencode.json. Kept clean's versions for gui.py, runner.py and gui_patches.py: clean has BYOP, i18n and the secret-read hardening that old lacks, and old's only extra is the /classic route that clean removed on purpose. Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
The GUI keeps a long-poll request open, so page.goto(wait_until="networkidle") could time out even though the page loaded with no JS errors. Wait for the load event and a short settle time instead. Adds a regression test that serves a page with one request held open. Also fix the stale docs/architecture.md path in docs/HANDOFF.md. Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
f404e75).auto_dev_crew/gui_check.py):check_pagenow waits for theloadevent and then 1.5 s instead ofnetworkidle. The GUI keeps a long-poll request open, sonetworkidlecould time out even when the page loaded with no JS errors.tests/test_gui_check_page_load.py): serves a page with one request held open and assertscheck_pagepasses. It was red before the fix and green after.docs/HANDOFF.mdpointed todocs/architecture.md, which no longer exists. It now points todocs/architecture_EN.md.Why
Manual check of the docs and team tests. The smoke check (
scripts/gui_smoke.py) failed intermittently onnetworkidle, and the docs were checked against the code (config keys, CLI flags, API routes, file references, EN/TH pairs).Verification
python -m pytest -q→ 1402 passed, 6 skipped, 55 subtests passed.scripts/gui_smoke.pyagainst a running GUI → PASS.config.yaml; the real config was not changed. English mode shows no visible Thai text.master(f2a6b70).For reviewers
f404e75) and the smoke-check fix (2fbcc5d).STATE.md: B10 (an English reader must reviewdocs/*_EN.md) and B11 (sentence-by-sentence EN/TH comparison). These need a person and are not part of this PR.🤖 Generated with Claude Code