Skip to content

Port old fusion modules and fix GUI smoke check - #3

Merged
OkayOkay101 merged 2 commits into
masterfrom
merge/old-fusion-into-clean
Nov 19, 2026
Merged

OkayOkay101 merged 2 commits into
masterfrom
merge/old-fusion-into-clean

Conversation

@OkayOkay101

Copy link
Copy Markdown
Owner

What changed

  • Port of the old fusion branch: 15 improved modules from Auto Dev Crew (commit f404e75).
  • GUI smoke check fix (auto_dev_crew/gui_check.py): check_page now waits for the load event and then 1.5 s instead of networkidle. The GUI keeps a long-poll request open, so networkidle could time out even when the page loaded with no JS errors.
  • Regression test (tests/test_gui_check_page_load.py): serves a page with one request held open and asserts check_page passes. It was red before the fix and green after.
  • Docs: docs/HANDOFF.md pointed to docs/architecture.md, which no longer exists. It now points to docs/architecture_EN.md.

Why

Manual check of the docs and team tests. The smoke check (scripts/gui_smoke.py) failed intermittently on networkidle, and the docs were checked against the code (config keys, CLI flags, API routes, file references, EN/TH pairs).

Verification

  • Full suite: python -m pytest -q → 1402 passed, 6 skipped, 55 subtests passed.
  • scripts/gui_smoke.py against a running GUI → PASS.
  • Language switch tested on a copy of config.yaml; the real config was not changed. English mode shows no visible Thai text.
  • Branch merges cleanly into current master (f2a6b70).

For reviewers

  • The branch contains the old fusion port (f404e75) and the smoke-check fix (2fbcc5d).
  • Still open in STATE.md: B10 (an English reader must review docs/*_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

OkayOkay101 and others added 2 commits November 19, 2026 07:05
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>
@OkayOkay101
OkayOkay101 merged commit 2538d55 into master Nov 19, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant