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

Adds support for ABQ_WORKER, ABQ_RUNNERS, and ABQ_BATCH_SIZE environment variables #110

Merged
merged 1 commit into from
Dec 2, 2024

Conversation

TAGraves
Copy link
Member

@TAGraves TAGraves commented Dec 2, 2024

In some environments (e.g. using ABQ with Captain in CI) it can be handy to just set environment variables for these values instead of passing flags in.

@TAGraves TAGraves self-assigned this Dec 2, 2024
short = 'n',
required = false,
default_value = "1",
env("ABQ_RUNNERS_NUM")
Copy link
Member

Choose a reason for hiding this comment

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

Can this just be ABQ_RUNNERS? 🤔

Copy link
Member Author

Choose a reason for hiding this comment

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

I made this change. I got spooked because the CLI flag is --num but I don't think it's a big deal

Copy link
Member

Choose a reason for hiding this comment

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

Oh interesting 🤔 I don't care for that either but it's probably too late at this point 😂

Copy link
Member

Choose a reason for hiding this comment

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

and ABQ_NUM also seems not right 🤷‍♂️

eh whatever you think is best

@TAGraves TAGraves changed the title Adds support for ABQ_WORKER, ABQ_RUNNERS_NUM, and ABQ_BATCH_SIZE environment variables Adds support for ABQ_WORKER, ABQ_RUNNERS, and ABQ_BATCH_SIZE environment variables Dec 2, 2024
Copy link

github-actions bot commented Dec 2, 2024

Bigtest for f31e0f8 (run)

Benchmarks:

  • RSpec: 6.57% overhead
    • RSpec time: 17.66 seconds
    • ABQ time: 18.82 seconds
  • RSpec parallel, 10 runs: max 11.49% overhead
    • min 6.96% overhead
    • standard deviation: 1.87%
  • Jest: 4.05% overhead
    • Jest time: 19.778 seconds
    • ABQ time: 20.579 seconds

Fuzz result sizes:

  • PASSED

@TAGraves TAGraves merged commit cbc0a9e into main Dec 2, 2024
17 checks passed
@TAGraves TAGraves deleted the tg-abq-envvars branch December 2, 2024 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants