Add Helpdesk outbox worker validation
This commit is contained in:
@@ -11,9 +11,10 @@ environment. The canonical plugin sources live in `plugins/`:
|
||||
|
||||
Top-level Python helpers such as `redmine_outbox_worker.py` and
|
||||
`reset_helpdesk_mail_settings.py` support LAN test-instance operations.
|
||||
`validate_test_instance.py` performs read-only post-import checks. Project
|
||||
notes and design records live in `docs/`. `redMCP/` contains the PHP
|
||||
Redmine API/MCP wrapper. `dist/*.MANIFEST.md` files are tracked; rollback
|
||||
`validate_test_instance.py` performs read-only post-import checks, and
|
||||
`validate_helpdesk_outbox_worker.py` runs the controlled Helpdesk/outbox live
|
||||
validator. Project notes and design records live in `docs/`. `redMCP/`
|
||||
contains the PHP Redmine API/MCP wrapper. `dist/*.MANIFEST.md` files are tracked; rollback
|
||||
tarballs are intentionally ignored. `redmine-copy/` is an ignored
|
||||
working/reference copy, not the source of truth.
|
||||
|
||||
@@ -25,7 +26,7 @@ Use targeted syntax checks before committing:
|
||||
ruby -c plugins/redmine_contacts/lib/redmine_contacts/utils/check_mail.rb
|
||||
ruby -c plugins/redmine_contacts_helpdesk/app/models/helpdesk_mailer.rb
|
||||
ruby -c plugins/redmine_event_outbox/lib/redmine_event_outbox.rb
|
||||
python3 -m py_compile redmine_outbox_worker.py reset_helpdesk_mail_settings.py validate_test_instance.py helpdesk_smoke_test.py
|
||||
python3 -m py_compile redmine_outbox_worker.py reset_helpdesk_mail_settings.py validate_test_instance.py helpdesk_smoke_test.py validate_helpdesk_outbox_worker.py
|
||||
cd redMCP && php -l app/RedmineClient.php && composer validate
|
||||
```
|
||||
|
||||
@@ -35,6 +36,7 @@ Dry-run operational helpers before applying changes:
|
||||
./reset_helpdesk_mail_settings.py --dry-run
|
||||
./validate_test_instance.py
|
||||
./helpdesk_smoke_test.py
|
||||
./validate_helpdesk_outbox_worker.py
|
||||
./redmine_outbox_worker.py --dry-run --batch-size 10
|
||||
```
|
||||
|
||||
@@ -53,7 +55,8 @@ against the LAN Redmine copy using controlled projects such as `fud-helpdesk` or
|
||||
`fud-nohelpdesk`. Record notable manual validation in `docs/` when behavior or
|
||||
deployment assumptions change. The post-import workflow lives in
|
||||
`docs/test_instance_post_import.md`; the Helpdesk/redMCP live smoke test is
|
||||
documented in `docs/helpdesk_smoke_test.md`.
|
||||
documented in `docs/helpdesk_smoke_test.md`; the Helpdesk outbox worker
|
||||
validator is documented in `docs/helpdesk_outbox_worker_validation.md`.
|
||||
|
||||
## Commit & Pull Request Guidelines
|
||||
|
||||
|
||||
Reference in New Issue
Block a user