Test::S...dleQueue(3)

πŸ“¦
version 1.84 Β· 2 versions
, in fedora 43

πŸ’– NAME πŸ’–

Test::Smoke::App::HadleQueue β€” bestie, it's the queue handler for reports that totally failed to POST to CoreSmokeDB 😭 (yes the name has a typo in it, it's HadleQueue, we do not speak of it, we love her anyway πŸ’…)

✨ SYNOPSIS ✨

use Test::Smoke::App::Options;
use Test::Smoke::App::HandleQueue;

my $app = Test::Smoke::App::HandleQueue->new(
    Test::Smoke::App::Options->handlequeue_config
);
$app->run();

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the vibe: this little applet reads the current queue and tries to send every single report in it. no skipping, no slacking, all of them get their moment. πŸ’Œ

  • if it works? slay, the item gets removed from the queue ✨
  • if it fails? the item stiks around (yes, that's the original spelling, she stays) 🫢

and then β€” after every item in the queue has been looked at β€” the ones that don't exist in the archive directory also get yeeted out of the queue. bye bestie πŸ‘‹


🌸 Test::Smoke::App::HandleQueue->new(%arguments) 🌸

Create an instance of the app. that's it, that's the function, she makes a whole new app for you, iconic behavior πŸ‘‘

πŸŽ€ Arguments πŸŽ€

Named, list. (iykyk β€” named args, handed over as a list, no cap)

  • qfile β€” the file where the queue is kept. like, this is the queue's whole home address 🏠
  • adir β€” the directory where the archive is. the archive lives here πŸ“¦
  • smokedb_url β€” where to send the reports. the destination, the final boss, the drop-off point 🎯
  • poster β€” the type of HTTP client to use for sending the report to smokedb_url. you get to pick your fighter πŸ’ͺ
  • poster-options β€” each of the HTTP clients has its own set of options. See Test::Smoke::Poster::Curl, Test::Smoke::Poster::HTTP_Tiny and Test::Smoke::Poster::LWP_UserAgent. (three poster girls, three different option sets, choose wisely πŸŽ€)

🌈 $handle_queue->run() 🌈

Try to send all items in the queue and remove items that are no longer in the archive. that's the whole job description, she does it, she's booked and busy πŸ’…βœ¨


(c) 2002-2013, Abe Timmerman <abeltje@cpan.org> All rights reserved.

With contributions from Jarkko Hietaniemi, Merijn Brand, Campo Weijerman, Alan Burlison, Allen Smith, Alain Barbet, Dominic Dunlop, Rich Rauenzahn, David Cantrell. the whole squad, the founding mothers and fathers of this code, we stan 🫢

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. free as in do-whatever-you-want-with-it bestie πŸ’š

See:

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 😭 fr fr, no promises, she's doing her best, use at your own risk, periodt.

and that's the whole page bestie β€” this was perl v5.42.0, dated 2025-07-25, filed under Test::S...dleQueue(3) in the User Contributed Perl Documentation. mwah, go handle that queue, you've got this πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from