Skip to content

refactor: drop the dead listener, use DI and correlate with the server request ID - #5

Merged
ernolf merged 1 commit into
mainfrom
ernolf/refactor/di-and-dead-code
Jul 17, 2026
Merged

refactor: drop the dead listener, use DI and correlate with the server request ID#5
ernolf merged 1 commit into
mainfrom
ernolf/refactor/di-and-dead-code

Conversation

@ernolf

@ernolf ernolf commented Jul 17, 2026

Copy link
Copy Markdown
Owner
  • remove HandlerStackReadyListener and the commented-out registration; the core event it waited for still does not exist (roadmap note follows in the README)
  • resolve services through IBootContext::getServerContainer() instead of \OC::$server
  • replace the dead nc_request_id option with a composite request ID: IRequest::getId() plus a random suffix, correlatable with nextcloud.log and still unique per outgoing request

…r request ID

- remove HandlerStackReadyListener and the commented-out registration; the core event it waited for still does not exist (roadmap note follows in the README)
- resolve services through IBootContext::getServerContainer() instead of \OC::$server
- replace the dead nc_request_id option with a composite request ID: IRequest::getId() plus a random suffix, correlatable with nextcloud.log and still unique per outgoing request

Signed-off-by: ernolf <raphael.gradenwitz@googlemail.com>
@ernolf
ernolf merged commit 9b88190 into main Jul 17, 2026
36 checks passed
@ernolf
ernolf deleted the ernolf/refactor/di-and-dead-code branch July 17, 2026 15:57
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