Skip to content

fix(ci): use correct --timeout flag for bun test#64

Merged
Looted merged 4 commits intomasterfrom
develop
Mar 13, 2026
Merged

fix(ci): use correct --timeout flag for bun test#64
Looted merged 4 commits intomasterfrom
develop

Conversation

@Looted
Copy link
Copy Markdown
Owner

@Looted Looted commented Mar 13, 2026

The --test-timeout flag is not valid for bun test. Changed to --timeout to use the correct flag and set a 300-second (5-minute) timeout for all tests.

The --test-timeout flag is not valid for bun test.
Changed to --timeout to use the correct flag and set a
300-second (5-minute) timeout for all tests.
Copilot AI review requested due to automatic review settings March 13, 2026 07:07
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates CI to use Bun’s correct test timeout flag, aligning workflow execution with Bun’s CLI options and ensuring tests have a 5-minute cap.

Changes:

  • Replaced bun test --test-timeout=... with bun test --timeout=... in the CI unit-test step.

You can also share your feedback on Copilot code review. Take the survey.

Comment thread .github/workflows/ci.yml
- name: Run unit tests
if: ${{ !inputs.skip_tests }}
run: bun test --test-timeout=300000 --exclude="documentation/tests/e2e/packed/**"
run: bun test --timeout=300000 --exclude="documentation/tests/e2e/packed/**"
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

@copilot apply changes based on this feedback

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 13, 2026

@Looted I've opened a new pull request, #65, to work on those changes. Once the pull request is ready, I'll request review from you.

Copilot AI and others added 2 commits March 13, 2026 07:20
Co-authored-by: Looted <6255880+Looted@users.noreply.github.com>
[WIP] [WIP] Address feedback on --timeout flag usage in bun test
@Looted Looted merged commit 7b5705d into master Mar 13, 2026
5 checks passed
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