Skip to content

Conversation

github-actions[bot]
Copy link

Closes #290

Applied changes based on Issue #290.

I’ve increased the axios timeout from 10 s to 60 s in the --fetch handling block in src/github/action.ts so that fetches now wait up to one minute. Let me know if you’d also like to expose this as a configurable option or adjust any other timeouts!

const response = await axios.get<string>(readerUrl, {
responseType: 'text',
timeout: 10000,
// Increase timeout to 1 minute for fetching URLs when includeFetch is enabled
Copy link
Owner

Choose a reason for hiding this comment

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

/codex no need to add comment

Copy link
Author

@github-actions github-actions bot Jun 27, 2025

Choose a reason for hiding this comment

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

I’ve removed the now-unnecessary comment above the timeout: 60000 setting so that the fetch block is concise:

  • axios fetch still uses a 60 000 ms timeout when --fetch is enabled
  • Comment about increasing to 1 minute has been dropped

Let me know if you’d like this timeout exposed as a configuration option or adjusted elsewhere!

@YiweiShen YiweiShen merged commit 4a5d041 into main Jun 27, 2025
@YiweiShen YiweiShen deleted the codez-fix-290-action-set-fetch-timeout-to-1-minute-if-includefetch branch June 27, 2025 00:51
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.

Update the fetch timeout to 1 minute for fetch URLs if includeFetch is enabled.

1 participant