zio icon indicating copy to clipboard operation
zio copied to clipboard

Create test suite that tests the correct behaviour of `ZIOApp`

Open kyri-petrou opened this issue 6 months ago • 9 comments

The test suite needs to run during CI and test the behaviour of ZIOApp when:

  1. The app completes on its own (either via failure or success)
  2. The app completes due to an external signal (e.g., SIGINT)

What needs to be tested:

  1. Correct error code is emitted
  2. Application finalizers are run (except for catastrophic failures)
  3. Shutdown sequence doesn't hang
  4. gracefulShutdownTimeout is respected
  5. A lot of use-cases from past issues: i. #9901 ii. #9807 iii. #9240 iv. (I'll add others as I find them)

kyri-petrou avatar May 29 '25 09:05 kyri-petrou

/bounty $400

jdegoes avatar Jun 02 '25 17:06 jdegoes

💎 $400 bounty • ZIO

Steps to solve:

  1. Start working: Comment /attempt #9909 with your implementation plan
  2. Submit work: Create a pull request including /claim #9909 in the PR body to claim the bounty
  3. 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

algora-pbc[bot] avatar Jun 02 '25 17:06 algora-pbc[bot]

/attempt 9909

hearnadam avatar Jun 03 '25 15:06 hearnadam

/attempt #9909 sorry guys forgot to mark attempt , already created test suit !

harshtech123 avatar Jun 04 '25 14:06 harshtech123

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!

Harsh9485 avatar Jun 07 '25 14:06 Harsh9485

/attempt #9909

promisingcoder avatar Jun 13 '25 12:06 promisingcoder

/attempt #9909

MAVRICK-1 avatar Jun 25 '25 17:06 MAVRICK-1

/attempt #9909

i dont know if this task is still open to work on

AntaiNoah25 avatar Aug 19 '25 22:08 AntaiNoah25

/attempt #9909

vishwamartur avatar Sep 01 '25 08:09 vishwamartur