Files
coolify/.agents/skills/laravel-actions/references/troubleshooting.md
T
Andras Bacsai 3470f8b2a6 add new skills
2026-03-25 19:22:09 +01:00

980 B

Troubleshooting

Scope

Use this reference when action wiring behaves unexpectedly.

Recap

  • Provides a fast triage flow for routing, queueing, events, and command wiring.
  • Lists recurring failure patterns and where to check first.
  • Encourages reproducing issues with focused tests before broad debugging.
  • Separates wiring diagnostics from domain logic verification.

Fast checks

  • Action class uses AsAction.
  • Namespace and autoloading are correct.
  • Entrypoint wiring (route, queue, event, command) is registered.
  • Method signatures and argument types match caller expectations.

Failure patterns

  • Controller route points to wrong class.
  • Queue worker/config mismatch.
  • Listener mapping not loaded.
  • Command signature mismatch.
  • Command not registered in the console kernel.

Debug checklist

  • Reproduce with a focused failing test.
  • Validate wiring layer first, then domain behavior.
  • Isolate dependencies with fakes/spies where appropriate.