Stop reading environment variables directly; route everything through settings
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 65/100
Research direction
Start by reading services/hackbot-api config.py and its Settings pattern, then inspect the listed hackbot-runtime modules and action handlers for direct os.environ/os.getenv access. Migrate the named call sites through the selected settings approach, with completion shown by those modules no longer reading environment variables directly.
Written by the indexing model from the issue text.
Description
Several modules read os.environ/os.getenv directly instead of going through a settings/config class, including libs/hackbot-runtime/hackbot_runtime/{tracing,wandb_wif,anthropic_wif,context,providers}.py and the action handlers in libs/hackbot-runtime/hackbot_runtime/actions/handlers/{bugzilla,phabricator,slack}_handler.py. services/hackbot-api already has a Settings/config.py pattern; extend it, or add an equivalent for hackbot-runtime, and migrate these call sites.
- Dominant language
- Python
- Stars
- 571
- Forks
- 355
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 69
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from mozilla/bugbug
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
mozilla/bugbug#6998 · 1 comment ·
Maintainers usually reply within 1 day
-
hackbot
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
mozilla/bugbug#6996 · 2 comments ·
Maintainers usually reply within 1 day
-
Fix ASYNC109 Ruff violationsPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
hackbot
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
Install `xvfb` in the image for the bug fix agentPossibly taken @ayoubdiourin7 claimed this 7 days ago. Openhackbot
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
mozilla/bugbug#6947 · 1 assignee ·
Maintainers usually reply within 1 day
Similar issues
-
dead_air_detection fails on m4a/AAC audio ("Could not decode audio: Format not recognised") for uploads, base64 and own-bucket recordingsPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
future-agi/future-agi#3317 ·
Maintainers usually reply within 1 day
-
Failed agent type collection replaces a complete snapshot with partial dataPossibly taken @SahilKumar75 claimed this today. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 2 days
-
task
Difficulty 2/5 Half a day Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
NousResearch/hermes-agent#133181 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
bmad-code-org/BMAD-METHOD#3041 ·
Maintainers usually reply within 1 day