Skip to content

Conversation

@martinconic
Copy link
Contributor

This PR tries to fix GSOC and PSSS checks that fail sometimes

@martinconic martinconic marked this pull request as ready for review January 5, 2026 21:48
logger.Infof("gsoc: still missing %d chunks: %v. retrying...", len(missing), missing)

// Retry missing chunks sequentially to avoid flooding
for _, i := range missing {
Copy link
Contributor

Choose a reason for hiding this comment

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

Should the retry loop check ctx.Done() before each iteration?
Without it, cancellation during retry execution won't be detected until all retries complete.

@akrem-chabchoub
Copy link
Contributor

Should add chunks field in checks and local config ?

const numChunks = 10
func run(ctx context.Context, uploadClient *bee.Client, listenClient *bee.Client, batches []string, logger logging.Logger, parallel bool, numChunks int) error {
if numChunks <= 0 {
numChunks = 3
Copy link
Contributor

Choose a reason for hiding this comment

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

Should show a warning to user that we are changing number of chunks to 3 ?
Why 3 exactly ?

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.

3 participants