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

[callsystem] CUTS Runner #93

Merged
merged 6 commits into from
Jun 2, 2024
Merged

[callsystem] CUTS Runner #93

merged 6 commits into from
Jun 2, 2024

Conversation

daniwasonline
Copy link
Collaborator

Description

This PR adds a special callsystem for running CUTS tests. It simply adds an otherwise-dull runner with a special wake command (cuts.run [CUTS unit test ID or "all" for running all CUTS tests at once]). When this wake command is called, the CUTS runner will ensure that the test ID is valid and isn't a regular callsystem. If these conditions are met, the runner will pass context to the CUTS test to complete an activation. Results are piped back to the runner and are sent as necessary.

Why is this useful?

As CUTS unit tests are expressed as otherwise-regular callsystems that use special methods in the CUTS SDK/API, running multiple tests simultaneously or running multiple tests in fast succession is incredibly unfriendly, i.e. one may run into rate-limits. Having a special test runner callsystem will help ease this common scenario.

@daniwasonline daniwasonline added the enhancement New feature or request label May 30, 2024
@daniwasonline daniwasonline added this to the v3.0 milestone May 30, 2024
@daniwasonline daniwasonline self-assigned this May 30, 2024
@Butterroach
Copy link
Member

why am i supposed to review

@Butterroach
Copy link
Member

idk what hte fuck is going on :sad:

@Butterroach Butterroach removed their request for review May 31, 2024 05:40
@Butterroach Butterroach removed their request for review May 31, 2024 06:56
@artifishvr
Copy link
Collaborator

i am SO sorry i have no idea how to suggest multiple lines other than doing that

@artifishvr
Copy link
Collaborator

also bye butterroach :c

@Butterroach
Copy link
Member

dont request reviews from me i know nothing about the new code base

@artifishvr
Copy link
Collaborator

its mildly humorous

@artifishvr
Copy link
Collaborator

i know nothing about the new code base

yoooo me neitherrr (also i will stop)

@daniwasonline
Copy link
Collaborator Author

i am SO sorry i have no idea how to suggest multiple lines other than doing that

its okay dw

@daniwasonline
Copy link
Collaborator Author

i know nothing about the new code base

yoooo me neitherrr (also i will stop)

i worked on it and i dont understand half of what i did (i do but i have a stroke every time i read it)

@daniwasonline
Copy link
Collaborator Author

time for crack

@daniwasonline daniwasonline merged commit b2fc6f4 into main Jun 2, 2024
1 check passed
@daniwasonline daniwasonline deleted the callsystem/cuts-runner branch June 2, 2024 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants