🐉 Boss: the broken aviary

Exercise 6 of 6 in chapter 7 · 320 XP · 5 objectives checked by tests

Topics covered: DebuggingMessengerSchedulerFailure queue

Pippin wanted to “optimize the aviary”. Since then, Gorm has been getting complaints:

Your mission

Four breakdowns, four different places. Find them and fix them, without breaking anything else.

Your tools

In the Console tab:

debug:messenger
messenger:stats
messenger:consume async --limit=1 -vv
messenger:failed:show

And in the “Requests” tab, three ready-made reservations: an ordinary one, one for tomorrow, one for Sauron.

The trickiest lead

A message only carries data, and it is read later, somewhere else. If what it carries is not what the handler thinks it receives, the handler will work in a vacuum: without the slightest error, without the slightest trace. Read again what the controller puts in the envelope, and what the handler does with it.