Skip to content

Major utility expansion: 73 specialized modules + advanced wrappers + MCP / LSP#97

Open
JE-Chen wants to merge 2 commits into
mainfrom
dev
Open

Major utility expansion: 73 specialized modules + advanced wrappers + MCP / LSP#97
JE-Chen wants to merge 2 commits into
mainfrom
dev

Conversation

@JE-Chen
Copy link
Copy Markdown
Member

@JE-Chen JE-Chen commented May 24, 2026

Summary

This PR rolls up ~100 commits accumulated on dev since PR #96 merged.
Tests pass (1,250+ unit, 30 integration, 6 E2E); Sphinx builds clean.

Specialized modules (new this wave — 73 across 7 categories)

Category Modules
Web Platform APIs webtransport_assert, indexed_db_explorer, file_system_access, notifications_audit, sse_assert, websocket_assert, webrtc_assert, view_transitions
Security & Headers mixed_content_audit, clickjacking_audit, open_redirect_detector, sri_verify, coop_coep_audit, token_leak_detector, consent_audit, pii_in_screenshot
Performance Budgets inp_tracker, hydration_check, bundle_budget, third_party_budget, long_animation_frame, console_error_budget
Backend Integration grpc_tester, webhook_receiver, idempotency_check, pagination_audit, backend_log_correlator, email_render
AI / Workflow failure_narrator, repro_minimizer, locator_hardener, test_categorizer, exploratory_ai, story_to_actions, session_to_test, test_auto_repair, edge_case_generator, multimodal_qa, prompt_drift_monitor, test_dedup_ai, walkthrough_docs
a11y / i18n / Visual ocr_assert, screen_reader_runner, pseudo_localization, forced_colors_mode, visual_ai
Governance & Reporting pr_risk_score, flag_matrix, chaos_hooks, db_snapshot, time_freezer, persona_runner, git_bisect_flake, test_cost_estimator, slack_digest, quarantine_age_report, test_debt_dashboard, sla_tracker, bug_repro_stability, test_owners_map, failure_triage, flake_detector, locator_health, mutation_testing, live_dashboard, test_scheduler

Each ships with its own focused unit-test file. Optional runtime deps
(Pillow, pytesseract, requests, …) are gated behind clear error
messages.

Other major changes since last PR

  • Advanced WebDriverWrapperset_driver(experimental_options=, extension_paths=, enable_bidi=), attach_to_existing_browser, native CDP shortcuts, Fetch interception primitives, W3C BiDi listeners, save_cookies / load_cookies, save_full_page_screenshot, print_page, reload(ignore_cache), page metadata getters; wrapper split into themed mixins under _wrapper_mixins/.
  • MCP serverpython -m je_web_runner.mcp_server exposes 22 tools over JSON-RPC stdio (live execution + linting + format / parse / template / translate + POM codegen + a11y diff / cluster failures / compute trend + PII scan/redact + render k8s / partition shard, …).
  • Action JSON LSPpython -m je_web_runner.action_lsp with completion + diagnostics.
  • Docs reorg — chapters under docs/source/{Eng,Zh}/doc/; auto-generated command_reference.md + webrunner-action-schema.json.

Documentation

  • README.md gets a Specialized Modules section (and ToC entry) covering all 73 modules grouped by capability.
  • README_zh-TW.md and README_zh-CN.md mirror the same with Traditional / Simplified Chinese.
  • New Sphinx chapter under docs/source/{Eng,Zh}/doc/specialized_modules/, wired into the Quality & Data chapter of both language indices.
  • CLAUDE.md tree updated to keep it the single source of truth.

Test plan

  • Verify CI green (test_dev.yml, test_stable.yml, e2e_browser.yml).
  • python -m pytest test/unit_test/ — should pass cleanly.
  • Sanity-check the rendered RTD pages once the PR builds.
  • Spot-check 2-3 of the new modules end-to-end against a real browser if possible (e.g. inp_tracker, mixed_content_audit, webhook_receiver).

JE-Chen added 2 commits May 24, 2026 17:14
…ce modules

Adds 73 modules across the testing lifecycle: WebTransport / IndexedDB / File
System Access / Notifications instrumentation; mixed-content / clickjacking /
open-redirect / SRI / COOP-COEP audits; INP / hydration / bundle / 3p / LoAF
budgets; gRPC / webhook / idempotency / pagination integration helpers; AI
narrator / repro-minimizer / locator-hardener / categorizer; quarantine-age,
test-debt, SLA, repro-stability, and CODEOWNERS reports. Each ships with a
focused unit-test file.
Adds a Specialized Modules section to README.md grouping the 73 new
modules by capability area (Web Platform APIs / Security / Perf /
Backend Integration / AI Workflow / a11y-i18n-Visual / Governance),
mirrors the same in README_zh-TW.md and README_zh-CN.md, and adds a
dedicated Sphinx chapter under docs/source/{Eng,Zh}/doc/specialized_modules/
wired into the Quality & Data chapter of both language indices.
@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
47 Security Hotspots
E Security Rating on New Code (required ≥ A)
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@codacy-production
Copy link
Copy Markdown

Not up to standards ⛔

🔴 Issues 4 critical · 84 high · 10 medium · 2 minor

Alerts:
⚠ 100 issues (≤ 0 issues of at least minor severity)

Results:
100 new issues

Category Results
ErrorProne 80 high
Security 2 minor
4 high
4 critical
10 medium

View in Codacy

🟢 Metrics 6116 complexity · 47 duplication

Metric Results
Complexity 6116
Duplication 47

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

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