Skip to content

Upgrade trunk to 1.22.13-beta.17 #985

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

trunk-open-pr-bot[bot]
Copy link
Contributor

@trunk-open-pr-bot trunk-open-pr-bot bot commented Feb 26, 2025

Trunk

cli upgraded: 1.22.12 → 1.22.13-beta.17

1 linter was upgraded:

  • eslint 9.24.0 → 9.25.1

This PR was generated by the Trunk Action. For more info, see our docs or reach out on Slack.

Copy link

trunk-io bot commented Feb 26, 2025

⏱️ 1h 8m total CI duration on this PR
Job Cumulative Duration Recent Runs
Linter Tests ubuntu-latest 22m 🟩
Linter Tests macOS 20m 🟩
Tool Tests (ubuntu-latest) 11m 🟩
Tool Tests (macOS) 6m 🟩
Action Tests 3m 🟩🟩
CodeQL-Build 3m 🟩🟩
Trunk Check runner [linux] 2m 🟩🟩
Repo Tests / Plugin Tests 38s 🟩
Detect changed files 8s 🟩🟩
Aggregate Test Results 1s 🟩

settingsfeedbackdocs ⋅ learn more about trunk.io

Copy link

trunk-staging-io bot commented Feb 26, 2025

Static BadgeStatic BadgeStatic BadgeStatic Badge

Failed Test Failure Summary Logs
Testing tool jq jq --version The write operation failed with an EPIPE error, indicating that the pipe was closed unexpectedly. Logs ↗︎

View Full Report ↗︎Docs

Copy link

Static BadgeStatic BadgeStatic BadgeStatic Badge

View Full Report ↗︎Docs

1 similar comment
Copy link

Static BadgeStatic BadgeStatic BadgeStatic Badge

View Full Report ↗︎Docs

Copy link

trunk-io bot commented Feb 26, 2025

Static BadgeStatic BadgeStatic BadgeStatic Badge

Failed Test Failure Summary Logs
Testing tool jq jq --version The write operation failed with an EPIPE error, indicating that the pipe was closed unexpectedly. Logs ↗︎

View Full Report ↗︎Docs

@trunk-open-pr-bot trunk-open-pr-bot bot changed the title Upgrade trunk to 1.22.11-beta.7 Upgrade trunk to 1.22.11-beta.11 Mar 5, 2025
@trunk-open-pr-bot trunk-open-pr-bot bot force-pushed the trunk-io/update-trunk branch from bc2e4ee to d397042 Compare March 5, 2025 10:04
@trunk-open-pr-bot trunk-open-pr-bot bot changed the title Upgrade trunk to 1.22.11-beta.11 Upgrade trunk to 1.22.11-beta.14 Mar 12, 2025
@trunk-open-pr-bot trunk-open-pr-bot bot force-pushed the trunk-io/update-trunk branch from d397042 to 7db1098 Compare March 12, 2025 10:04
@trunk-open-pr-bot trunk-open-pr-bot bot changed the title Upgrade trunk to 1.22.11-beta.14 Upgrade trunk to 1.22.12-beta.1 Mar 19, 2025
@trunk-open-pr-bot trunk-open-pr-bot bot force-pushed the trunk-io/update-trunk branch 2 times, most recently from ba987a4 to e9ffdbf Compare March 26, 2025 10:04
@trunk-open-pr-bot trunk-open-pr-bot bot changed the title Upgrade trunk to 1.22.12-beta.1 Upgrade trunk to 1.22.12-beta.5 Mar 26, 2025
@trunk-open-pr-bot trunk-open-pr-bot bot changed the title Upgrade trunk to 1.22.12-beta.5 Upgrade trunk to 1.22.12-beta.11 Apr 2, 2025
@trunk-open-pr-bot trunk-open-pr-bot bot force-pushed the trunk-io/update-trunk branch from e9ffdbf to fd2f551 Compare April 2, 2025 10:04
@trunk-open-pr-bot trunk-open-pr-bot bot force-pushed the trunk-io/update-trunk branch from fd2f551 to f3d7739 Compare April 9, 2025 10:05
@trunk-open-pr-bot trunk-open-pr-bot bot changed the title Upgrade trunk to 1.22.12-beta.11 Upgrade trunk to 1.22.13-beta.6 Apr 9, 2025
@trunk-open-pr-bot trunk-open-pr-bot bot force-pushed the trunk-io/update-trunk branch from f3d7739 to 2dc9d51 Compare April 16, 2025 10:04
@trunk-open-pr-bot trunk-open-pr-bot bot changed the title Upgrade trunk to 1.22.13-beta.6 Upgrade trunk to 1.22.13-beta.8 Apr 16, 2025
@trunk-open-pr-bot trunk-open-pr-bot bot force-pushed the trunk-io/update-trunk branch from 2dc9d51 to f1d1693 Compare April 23, 2025 10:04
@trunk-open-pr-bot trunk-open-pr-bot bot changed the title Upgrade trunk to 1.22.13-beta.8 Upgrade trunk to 1.22.13-beta.17 Apr 23, 2025
@trunk-open-pr-bot trunk-open-pr-bot bot requested a review from TylerJang27 April 23, 2025 10:04
Copy link

chip-agent bot commented Apr 23, 2025

Summary:
The test Testing tool jq jq --version is failing with a write EPIPE error. This error suggests a broken pipe, which typically occurs when a program attempts to write to a pipe that has been closed by the reading end. The PR upgrades the trunk cli version and eslint.

Root Cause Analysis:
The write EPIPE error often indicates a problem with how the test interacts with the tool it's testing (in this case, jq). It's possible that the upgraded eslint or trunk cli is causing the jq command to exit prematurely or in an unexpected way, leading to the broken pipe. The error occurs during the TrunkToolDriver.run call, suggesting the issue arises when running the tool within the test environment. This could be due to changes in how the CLI handles input/output streams or how it interacts with the underlying system.

Resolution Plan:

  1. Investigate the interaction with jq: Examine the test setup and execution flow in tests/driver/driver.ts and tests/index.ts to understand how jq is being invoked and how its output is being handled.
  2. Check for CLI changes: Review the changelogs for the upgraded eslint and trunk cli versions to identify any changes that might affect how they interact with external commands or handle input/output streams.
  3. Add error handling: Implement more robust error handling in TrunkToolDriver.run to catch potential exceptions or unexpected exit codes from the tool being executed. This can help pinpoint the exact cause of the broken pipe.
  4. Retry the test: The error could be transient. Re-running the test might resolve the issue.
  5. Downgrade to previous versions: If the error persists, try downgrading eslint and trunk cli to the previous versions to see if the issue is related to the upgrades.

Since I don't have enough information to pinpoint the exact cause, the user should investigate further using the above plan.


Is this helpful? Click the 👍/👎 buttons below to let us know!

Thumbs UpThumbs Down

Icons by Icons8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

1 participant