Create test suite that tests the correct behaviour of `ZIOApp`
The test suite needs to run during CI and test the behaviour of ZIOApp when:
- The app completes on its own (either via failure or success)
- The app completes due to an external signal (e.g., SIGINT)
What needs to be tested:
- Correct error code is emitted
- Application finalizers are run (except for catastrophic failures)
- Shutdown sequence doesn't hang
gracefulShutdownTimeoutis respected- A lot of use-cases from past issues: i. #9901 ii. #9807 iii. #9240 iv. (I'll add others as I find them)
/bounty $400
💎 $400 bounty • ZIO
Steps to solve:
- Start working: Comment
/attempt #9909with your implementation plan - Submit work: Create a pull request including
/claim #9909in the PR body to claim the bounty - Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts
❗ Important guidelines:
- To claim a bounty, you need to provide a short demo video of your changes in your pull request
- If anything is unclear, ask for clarification before starting as this will help avoid potential rework
- Low quality AI PRs will not receive review and will be closed
- Do not ask to be assigned unless you've contributed before
Thank you for contributing to zio/zio!
| Attempt | Started (UTC) | Solution | Actions |
|---|---|---|---|
| 🟢 @vishwamartur | Sep 01, 2025, 08:32:08 AM | #10143 | Reward |
| 🟢 @hearnadam | Jun 03, 2025, 03:30:16 PM | WIP | |
| 🟢 @harshtech123 | Jun 04, 2025, 02:18:56 PM | #9936 | Reward |
| 🟢 @sharmaut | Sep 08, 2025, 06:12:42 AM | #10123 | Reward |
| 🟢 @promisingcoder | Jun 13, 2025, 12:23:38 PM | #9971 | Reward |
| 🟢 @AntaiNoah25 | Aug 19, 2025, 10:46:17 PM | WIP | |
| 🟢 @MAVRICK-1 | Jun 25, 2025, 05:20:45 PM | WIP |
/attempt 9909
/attempt #9909 sorry guys forgot to mark attempt , already created test suit !
Hey @kyri-petrou, just to clarify — what exactly were you looking for? From what I understood, you want to reproduce a failure that happened in production, and you're trying to understand why the finalizers are taking so long to complete. If I misunderstood anything, feel free to correct me!
/attempt #9909
/attempt #9909
/attempt #9909
i dont know if this task is still open to work on
/attempt #9909