NAME

Langertha::Raider::Hall::Raider - Internal record of a raider process spawned by the hall

VERSION

version 0.504

DESCRIPTION

Internal module. Its interface may change without notice.

Data object the Langertha::Raider::Hall keeps per running raider, keyed by run ID: id, pid, slot and base name, log path, events path, mission and, for a bound run, its session and binding.

events_path

The file the raider's --stream-json stdout goes to, one file per run. Optional; without it "run_finished" has nothing to read.

session_id

The session the hall started a bound run with (--session ID). Unset for an unbound run, which picks its own session.

binding

The binding key of a bound run (telegram:ops:42, cron:nightly, slot:1bjorn, ...); see "session_bindings" in Langertha::Raider::Hall.

run_finished

my $doc = $raider->run_finished;   # HashRef or undef

The payload of the last run.finished event in "events_path": the run's --json document (version, status, response or error, ...), without the event fields type, seq and time. Undef when the file is missing or holds no run.finished -- the process was killed before it could write one, for example. Lines that are not JSON objects are skipped.

SUPPORT

Issues

Please report bugs and feature requests at https://github.com/Getty/langertha-raider/issues.

IRC

Join #langertha on irc.perl.org or message Getty directly.

CONTRIBUTING

Contributions are welcome! Please fork the repository and submit a pull request.

AUTHOR

Torsten Raudssus <torsten@raudssus.de> https://raudssus.de/

COPYRIGHT AND LICENSE

This software is copyright (c) 2026 by Torsten Raudssus.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

https://raudssus.de/