Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] [POC] Awesome runner #178

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

kbrock
Copy link
Member

@kbrock kbrock commented Apr 30, 2024

depends upon:

Overview

  • Current runners link to an external process that manages the runners.
  • Current runners are asynchronous

So that begs to ask the question on how to implement a runner that manages its own subprocesses.

Implementation

commits:

  • dependency
  • Synchronous implementation
  • asynchronous implementation

Issues

This doesn't work perfectly since AwesomeSpawn escapes $VAR and that makes this pretty useless.

But the goal was more focused on the Threads and stuff rather than the actual awesome spawn part.

@kbrock kbrock force-pushed the awesome_runner branch 2 times, most recently from 66d040b to f6c4259 Compare April 30, 2024 20:18
@kbrock
Copy link
Member Author

kbrock commented Apr 30, 2024

updates:

  • fixed wait code to run for multiple schemes
  • many cops

@kbrock
Copy link
Member Author

kbrock commented Apr 30, 2024

update:

  • fix comments around multi threading

@Fryguy Fryguy changed the title [POC] Awesome runner [WIP] [POC] Awesome runner May 1, 2024
@miq-bot miq-bot added the wip label May 1, 2024
require "concurrent/array"

module Floe
class AwesomeProcess < Thread
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would have preferred not using a thread per process and not using an AwesomeSpan centric model.

@kbrock kbrock force-pushed the awesome_runner branch 2 times, most recently from 436600d to af7918d Compare May 2, 2024 18:15
@miq-bot
Copy link
Member

miq-bot commented May 21, 2024

Checked commits kbrock/floe@0a563b3~...53b4b70 with ruby 2.7.8, rubocop 1.56.3, haml-lint 0.51.0, and yamllint
4 files checked, 0 offenses detected
Everything looks fine. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants