Langertha/Raid/Sequential.pm

filter: Statementstmt 100% 17 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod 100% 1 / 1 totaltotal 100% 21 / 21 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
run_f
1.0
CRAP 1.0
« Langertha/Engine/vLLM.pm ↑ Summary Langertha/Raider/Result.pm »
1 package Langertha::Raid::Sequential;
2 # ABSTRACT: Sequential Raid orchestrator
3 2 our $VERSION = '0.502';
4 2 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 2 ▶use Future::AsyncAwait;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 2 extends 'Langertha::Raid';
8  
9  
10 7 ▶async sub run_f {
Subroutine run_f: called CC=1 SCAR=0.0
Pod documented
11 7 my ( $self, $ctx ) = @_;
12 7 $ctx = $self->_coerce_context($ctx);
13  
14 $ctx->add_trace({
15 node => ref($self),
16 event => 'sequential_start',
17 7 steps => scalar @{$self->steps},
18 });
19  
20 7 return await $self->_run_steps_sequentially_f($ctx);
21 2 }
22  
23  
24 2 __PACKAGE__->meta->make_immutable;
25  
26 2 1;
27  
28 __END__
29  
30 =pod
31  
32 =encoding UTF-8
33  
34 =head1 NAME
35  
36 Langertha::Raid::Sequential - Sequential Raid orchestrator
37  
38 =head1 VERSION
39  
40 version 0.502
41  
42 =head1 SYNOPSIS
43  
44 my $raid = Langertha::Raid::Sequential->new(
45 steps => [ $step1, $step2, $step3 ],
46 );
47  
48 my $result = await $raid->run_f($ctx);
49  
50 =head1 DESCRIPTION
51  
52 Runs child steps in strict order and forwards one shared context through all
53 steps. Final outputs update context input for downstream steps. Non-final
54 results (question/pause/abort) are propagated immediately.
55  
56 =head2 run_f
57  
58 my $result = await $raid->run_f($ctx);
59  
60 Executes all steps sequentially with shared context propagation.
61  
62 =head1 SUPPORT
63  
64 =head2 Issues
65  
66 Please report bugs and feature requests on GitHub at
67 L<https://github.com/Getty/langertha/issues>.
68  
69 =head2 IRC
70  
71 Join C<#langertha> on C<irc.perl.org> or message Getty directly.
72  
73 =head1 CONTRIBUTING
74  
75 Contributions are welcome! Please fork the repository and submit a pull request.
76  
77 =head1 AUTHOR
78  
79 Torsten Raudssus <getty@cpan.org>
80  
81 =head1 COPYRIGHT AND LICENSE
82  
83 This software is copyright (c) 2026 by Torsten Raudssus L<https://raudssus.de/>.
84  
85 This is free software; you can redistribute it and/or modify it under
86 the same terms as the Perl 5 programming language system itself.
87  
88 =cut
« Langertha/Engine/vLLM.pm ↑ Summary Langertha/Raider/Result.pm »