tempest-framework icon indicating copy to clipboard operation
tempest-framework copied to clipboard

Command bus fails when path not found

Open brendt opened this issue 2 months ago • 1 comments

× // Tempest\Support\Filesystem\Exceptions\PathWasNotFound
× // File "/Users/brent/Dev/stitcher.io/vendor/tempest/framework/packages/command-bus/src/AsyncCommandRepositories/../stored-commands/0199fac9-53ed-702d-b357-c03a923f628d.pending.txt" is not found.

In /Users/brent/Dev/stitcher.io/vendor/tempest/framework/packages/support/src/Filesystem/Exceptions/PathWasNotFound.php:16

10     {
11         return new self(sprintf('Path "%s" is not found.', $path));
12     }
13 
14     public static function forFile(string $file): self
15     {
16         return new self(sprintf('File "%s" is not found.', $file));  <<<
17     }
18 
19     public static function forDirectory(string $directory): self

#0 /Users/brent/Dev/stitcher.io/vendor/tempest/framework/packages/support/src/Filesystem/functions.php:116
#1 /Users/brent/Dev/stitcher.io/vendor/tempest/framework/packages/command-bus/src/AsyncCommandRepositories/FileCommandRepository.php:57

brendt avatar Oct 19 '25 04:10 brendt

Restarting the command bus fixes it, but this shouldn't crash the entire process

brendt avatar Oct 19 '25 04:10 brendt