SUI-1198: register AI gateway system check #121

Closed
johannes.moskaliuk wants to merge 2 commits from dev/jil/SUI-1198 into main

Scope

  • Register the AI gateway check via local_elediaai_core_status_checks(), matching Moodle's get_plugins_with_function('status_checks', 'lib.php') discovery path.
  • Keep the registration PHPUnit test and documentation references aligned to the Moodle callback name.

Checks

  • git diff --check
  • php -l public/local/elediaai_core/lib.php
  • php -l public/local/elediaai_core/tests/status_checks_test.php

Full Moodle PHPUnit/PHPCS is left to Forgejo CI in this runtime because this checkout does not include the Moodle test runner or PHPCS vendor tooling.

## Scope - Register the AI gateway check via `local_elediaai_core_status_checks()`, matching Moodle's `get_plugins_with_function('status_checks', 'lib.php')` discovery path. - Keep the registration PHPUnit test and documentation references aligned to the Moodle callback name. ## Checks - `git diff --check` - `php -l public/local/elediaai_core/lib.php` - `php -l public/local/elediaai_core/tests/status_checks_test.php` Full Moodle PHPUnit/PHPCS is left to Forgejo CI in this runtime because this checkout does not include the Moodle test runner or PHPCS vendor tooling.
SUI-1198: register AI gateway system check
Some checks failed
Repo-Gates / gates (push) Successful in 24s
PHPCS quality / PHPCS full scan (push) Has been skipped
PHPCS quality / PHPCS ratchet (push) Successful in 36s
Repo-Gates / gates (pull_request) Successful in 28s
Moodle Plugin CI / changes (pull_request) Successful in 28s
PHPCS quality / PHPCS full scan (pull_request) Has been skipped
Repo-Gates / Notify CI-Fixer (push) Has been skipped
PHPCS quality / Notify CI-Fixer (push) Has been skipped
Repo-Gates / Notify CI-Fixer (pull_request) Has been skipped
PHPCS quality / PHPCS ratchet (pull_request) Successful in 31s
Moodle Plugin CI / Notify CI-Fixer (pull_request) Has been cancelled
Moodle Plugin CI / chat (MOODLE_502_STABLE) (, local/elediaai_core, chat, MOODLE_502_STABLE, blocks/elediaai_chat mod/aichat mod/aifeedback) (pull_request) Has been cancelled
Moodle Plugin CI / tutor-with-quota (MOODLE_502_STABLE) (, local/elediaai_core, tutor-with-quota, MOODLE_502_STABLE, blocks/elediaai_tutor) (pull_request) Has been cancelled
Moodle Plugin CI / core (MOODLE_502_STABLE) (customerportal, local/elediaai_core qtype/aitext, core, MOODLE_502_STABLE, ai/provider/eledia local/activityfilter local/aitransparency auth/eledia_eduplaces admin/tool/taskrunner customfield/field/languageselect filter/eledia… (pull_request) Has been cancelled
Moodle Plugin CI / learning (MOODLE_502_STABLE) (lernhive, local/elediaai_core mod/aichat, learning, MOODLE_502_STABLE, local/elediaai_selfstudy local/elediaai_strategy local/elediaai_teachertools local/elediaai_tutor_premium blocks/elediaai_path) (pull_request) Has been cancelled
Moodle Plugin CI / authoring (MOODLE_502_STABLE) (, local/elediaai_core, authoring, MOODLE_502_STABLE, local/elediaai_questiongen local/elediaai_coursegen qbank/elediaai_questiongen local/elediaai_h5pauthor qtype/aitext) (pull_request) Has been cancelled
Moodle Plugin CI / rag (MOODLE_502_STABLE) (, local/elediaai_core local/elediaai_tutor_premium, rag, MOODLE_502_STABLE, local/literag local/ragingest webservice/elediamcp) (pull_request) Has been cancelled
PHPCS quality / Notify CI-Fixer (pull_request) Has been skipped
e6adc845f0
Co-authored-by: multica-agent <github@multica.ai>
SUI-1198: use Moodle status checks callback
Some checks failed
Repo-Gates / gates (push) Successful in 30s
PHPCS quality / PHPCS full scan (push) Has been skipped
PHPCS quality / PHPCS ratchet (push) Successful in 39s
Repo-Gates / Notify CI-Fixer (push) Has been skipped
PHPCS quality / Notify CI-Fixer (push) Has been skipped
Moodle Plugin CI / changes (pull_request) Successful in 23s
Moodle Plugin CI / Notify CI-Fixer (pull_request) Has been cancelled
1ba90423ba
Co-authored-by: multica-agent <github@multica.ai>
Some checks failed
Repo-Gates / gates (push) Successful in 30s
PHPCS quality / PHPCS full scan (push) Has been skipped
PHPCS quality / PHPCS ratchet (push) Successful in 39s
Repo-Gates / Notify CI-Fixer (push) Has been skipped
PHPCS quality / Notify CI-Fixer (push) Has been skipped
Moodle Plugin CI / changes (pull_request) Successful in 23s
Moodle Plugin CI / Notify CI-Fixer (pull_request) Has been cancelled

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
johannes.moskaliuk/eledia.ai!121
No description provided.