Skip to content

Phase 6: Cross-platform hardening, performance, integration QA, and epic closeout #118

Closed

Description

@suraj-ranganath

Summary

Close the extension-system epic by validating the full user experience across installed, bundled, private, curated, failing, GUI, and console extension flows.

Key Work

  • Add end-to-end tests using one or more synthetic extension packages installed/discovered through entry points.
  • Verify extension discovery does not materially slow import eegprep, eegprep-gui, or eegprep-console startup.
  • Verify extension loading is lazy where heavy dependencies are declared.
  • Run GUI user-flow QA: install/editable extension, open GUI, run menu action, inspect console EEG/LASTCOM/ALLCOM, run extension pop_* from console, return to GUI.
  • Verify --no-plugins and disabled-extension flows.
  • Verify cross-platform behavior on macOS, Linux, and Windows.
  • Update public API docs, examples, package data, Extension Manager docs, and any stale “external plugins unsupported” language.
  • Run final review and fix real findings.

Edge Cases To Cover

  • Extension discovered on Windows path with spaces.
  • Extension package data path resolution across platforms.
  • GUI extension action fails while console remains usable.
  • Console extension call fails without mutating session/history.
  • Extension disabled after it contributed menus in a previous run.
  • include_plugins=False with extension packages installed.
  • Multiple extensions loaded in deterministic order.

Acceptance Criteria

  • Final epic branch passes lint/type checks and non-slow pytest.
  • Focused extension integration tests pass with fake installed packages.
  • GUI/console mixed user-flow QA is documented.
  • Startup performance remains acceptable and does not eagerly import heavy extension action modules.
  • All relevant docs are updated.
  • Final PR describes extension SDK, manager, catalog, authoring toolkit, governance, and QA evidence.

/goal Prompt

/goal Complete EEGPrep external extension epic closeout. Validate installed/bundled/private/curated/failing extension flows across GUI and eegprep-console, harden startup performance and cross-platform behavior, update docs and stale unsupported-plugin language, run lint/type/non-slow tests plus focused integration QA, run review, fix real findings, and prepare the final epic PR evidence.

Activity

  1. added
    phase
    on Jun 2, 2026
  2. claude commented on Jun 2, 2026

    @claude
    Contributor

    🤖 Plan:

    Research

    Phase 6 is the closeout step of epic #112 and depends on Phases 1–5 (#113, #114, #115, #116, #117), which are all still open with no merged PRs. The epic itself states: "Phase 6 runs last after Phases 2-5 merge." No extension SDK, registry, entry-point discovery, or Extension Manager exists in the tree yet — src/eegprep/plugins/ currently contains only bundled ports (EEG_BIDS, ICLabel, clean_rawdata, dipfit, firfilt), and grep for `entry_points`/`extension` in src/eegprep/ returns only pre-existing bundled-plugin references. There is nothing to harden, performance-test, or QA across platforms.

    Relevant code / refs

    • issue #112 — epic, declares phase ordering
    • issue #113 — Phase 1 SDK/registry/discovery (blocker, OPEN)
    • issue #114 — Phase 2 runtime integration (blocker, OPEN)
    • issue #115 — Phase 3 Extension Manager (blocker, OPEN)
    • issue #117 — Phase 5 governance/test harness (blocker, OPEN)
    • src/eegprep/plugins/ — only bundled ports, no external-extension entry-point machinery

    Proposed Approach

    Do not open a PR. Phase 6 cannot be implemented before Phases 1–5 land, and even when unblocked it spans cross-platform QA, performance verification, GUI/console flow QA, doc updates, and final review — far beyond the <100 LOC self-contained bug-fix bar. Recommended sequence once #113–#117 are merged: (1) add fake-extension fixtures + integration tests for installed/bundled/private/curated/failing flows under tests/; (2) add a startup-cost benchmark for import eegprep, eegprep-gui, eegprep-console and assert lazy-load on heavy action modules; (3) run gui-agent-flow-qa on the GUI↔console extension round-trip; (4) sweep docs and remove stale "external plugins unsupported" language; (5) run review and prepare the epic PR evidence. Reopen this issue for assignment when Phase 5 (#117) is merged.

    Stopping here — awaiting upstream phases.

  3. suraj-ranganath commented on Jun 3, 2026

    @suraj-ranganath
    MemberAuthor

    🤖 Phase 6 has been merged into feature/eegprep-extension-completion and closeout verification passed on the merged epic branch. Evidence: focused extension suite 110 passed; ruff check passed; ruff format --check passed; ty check passed; EEGPREP_SKIP_MATLAB=1 uv run pytest -m 'not slow' passed with 1676 passed, 203 skipped, 11 deselected. Follow-up cleanup commit 0a00b5c removed stale phase wording from extension docs/skill/checklist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

phase

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions