feat: add install verification for failed sub-extensions #13

Open
jmiller wants to merge 2 commits from feat/install-verification into dev
Owner

Summary

  • Add post-install verification that checks all expected sub-extensions (component, plugins) are registered in #__extensions
  • If any sub-extension failed to install, disables the package entry and shows a clear error message listing what's missing
  • Prevents partially installed packages from appearing functional

Test plan

  • Install package normally — verify no error shown
  • Simulate failed sub-extension install — verify error message and package disabled

https://claude.ai/code/session_01CwLGvFJPjoPTp9BEnSjtJf

## Summary - Add post-install verification that checks all expected sub-extensions (component, plugins) are registered in `#__extensions` - If any sub-extension failed to install, disables the package entry and shows a clear error message listing what's missing - Prevents partially installed packages from appearing functional ## Test plan - [ ] Install package normally — verify no error shown - [ ] Simulate failed sub-extension install — verify error message and package disabled https://claude.ai/code/session_01CwLGvFJPjoPTp9BEnSjtJf
jmiller added 1 commit 2026-07-06 03:33:35 +00:00
feat: add post-install verification to detect failed sub-extensions
Universal: PR Check / Branch Policy (pull_request) Successful in 2s
Universal: PR Check / Validate PR (pull_request) Failing after 5s
Universal: PR Check / Secret Scan (pull_request) Successful in 9s
Joomla: Metadata Validation / Validate Joomla Metadata (pull_request) Successful in 12s
Universal: PR Check / Build RC Package (pull_request) Has been cancelled
Universal: PR Check / Report Issues (pull_request) Has been cancelled
5544a0812f
Checks that all expected component and plugins registered in
#__extensions after install. Disables the package entry and shows
an error if any sub-extension failed to install.

Claude-Session: https://claude.ai/code/session_01CwLGvFJPjoPTp9BEnSjtJf
jmiller added 1 commit 2026-07-06 15:47:33 +00:00
refactor(installer): replace hardcoded extension list with dynamic manifest verification
Universal: PR Check / Branch Policy (pull_request) Successful in 3s
Universal: PR Check / Validate PR (pull_request) Failing after 6s
Universal: PR Check / Secret Scan (pull_request) Successful in 8s
Joomla: Metadata Validation / Validate Joomla Metadata (pull_request) Successful in 48s
Universal: PR Check / Build RC Package (pull_request) Has been cancelled
Universal: PR Check / Report Issues (pull_request) Has been cancelled
d0179fd6e3
Read package manifest via $adapter->getParent()->getManifest() to discover
children dynamically instead of maintaining a hardcoded EXPECTED_EXTENSIONS
array. Fail-open pattern wraps verification in try/catch. Only the success
path (plugin enables, license warning) is gated; unconditional housekeeping
(DLID restore) runs regardless.

Claude-Session: https://claude.ai/code/session_01CwLGvFJPjoPTp9BEnSjtJf
Some required checks failed
Universal: PR Check / Branch Policy (pull_request) Successful in 3s
Universal: PR Check / Validate PR (pull_request) Failing after 6s
Universal: PR Check / Secret Scan (pull_request) Successful in 8s
Joomla: Metadata Validation / Validate Joomla Metadata (pull_request) Successful in 48s
Universal: PR Check / Build RC Package (pull_request) Has been cancelled
Universal: PR Check / Report Issues (pull_request) Has been cancelled
You are not authorized to merge this pull request.
This pull request can be merged automatically.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin feat/install-verification:feat/install-verification
git checkout feat/install-verification
Sign in to join this conversation.
No Reviewers
Priority -
Type -
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoSuiteAuto#13