Skip to content

Conversation

@johnmaguire
Copy link
Member

@johnmaguire johnmaguire commented Nov 12, 2025

No description provided.

@johnmaguire johnmaguire changed the base branch from main to errors-and-enroll November 12, 2025 23:04
Base automatically changed from errors-and-enroll to main November 13, 2025 15:21
@johnmaguire johnmaguire marked this pull request as ready for review November 14, 2025 22:29
@johnmaguire johnmaguire changed the title Downloads endpoint Add downloads endpoint Nov 15, 2025
Copy link
Contributor

@jasikpark jasikpark left a comment

Choose a reason for hiding this comment

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

lgtm, can you update the PR description now that tests are added?

return []byte(downloadsResponse)
})

ctx, cancel := context.WithTimeout(context.Background(), 1*time.Second)
Copy link
Contributor

Choose a reason for hiding this comment

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

suggestion (non-blocking): You can use https://pkg.go.dev/testing#T.Context now, I think? should allow tying the context to the runtime of the test.

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'd approve a pr to update the repo with this pattern, but will leave this as-is to match the rest of the file.

@johnmaguire johnmaguire merged commit 1112b1c into main Nov 17, 2025
2 checks passed
@johnmaguire johnmaguire deleted the downloads-endpoint branch November 17, 2025 18:18
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