Skip to content

Conversation

TylerJang27
Copy link
Collaborator

sure does

Copy link

trunk-io bot commented Apr 14, 2025

⏱️ 1h 5m total CI duration on this PR
Job Cumulative Duration Recent Runs
Linter Tests ubuntu-latest 26m 🟥
Linter Tests macOS 23m 🟥
Tool Tests (ubuntu-latest) 8m 🟥
Tool Tests (macOS) 4m 🟥
Action Tests 2m 🟩
CodeQL-Build 2m 🟩
Repo Tests / Plugin Tests 31s 🟩
Detect changed files 9s 🟩
Trunk Check runner [linux] 3s 🟥
Aggregate Test Results 2s 🟥
Windows Linter Tests 1s 🟥
Windows Tool Tests 1s 🟥

settingsfeedbackdocs ⋅ learn more about trunk.io

@TylerJang27 TylerJang27 marked this pull request as draft April 14, 2025 23:40
Copy link

trunk-staging-io bot commented Apr 15, 2025

Static BadgeStatic BadgeStatic BadgeStatic Badge

Failed Test Failure Summary Logs
Testing formatter nixpkgs-fmt test test Installing v1.3.0 of nixpkgs-fmt failed due to incompatible rustc version. Logs ↗︎
Testing tool ripgrep rg --version Expected "ripgrep 13.0.0" substring in the received string, but it was not found. Logs ↗︎
Testing linter trivy test fs-vuln Some vulnerabilities were found in Gemfile.lock, including DOM Based Cross-site Scripting, Denial of Service, and Log Injection. Logs ↗︎
Testing linter prettier test basic Prettier linter failed to format a YAML file correctly. Logs ↗︎

... and 26 more

View Full Report ↗︎Docs

Copy link

Summary

The failing tests indicate issues with linting, formatting, and dependency installation. Specifically:

  • Testing linter semgrep test CUSTOM fails due to a snapshot mismatch. The test expects certain issues to be present, but the actual output has no issues.
  • Testing formatter prettier test basic fails due to a snapshot mismatch in the formatted output.
  • Testing linter osv-scanner test CUSTOM fails due to a snapshot mismatch. The test expects certain paths to be scanned, but the actual output has different paths.
  • Testing linter golangci-lint test unbuildable fails because the tool installation failed due to an invalid version.
  • Testing formatter nixpkgs-fmt test test fails because the tool installation failed due to an incompatible rust version.

Root Cause Analysis

  1. Snapshot Mismatches (semgrep, prettier, osv-scanner): The snapshot mismatches suggest that the output of these linters/formatters has changed. This could be due to updates in the tools themselves or changes in the test data.
  2. Tool Installation Failures (golangci-lint, nixpkgs-fmt): These failures indicate problems with the CI environment or the tool versions being used. The golangci-lint test fails because the specified version is invalid. The nixpkgs-fmt test fails because the rust version is too old.

Resolution Plan

  1. Update Snapshots: For the semgrep, prettier, and osv-scanner tests, review the changes and update the snapshots accordingly.
    • Run the tests locally and update the snapshots using the appropriate command (e.g., jest -u).
    • Commit the updated snapshots to the PR.
  2. Fix golangci-lint Installation: Update the golangci-lint version to a valid one.
    • Inspect the plugin configuration to determine where the version is specified.
    • Update the version to a valid, existing version.
  3. Fix nixpkgs-fmt Installation: Update the rust version to a compatible one.
    • Inspect the plugin configuration to determine where the rust version is specified.
    • Update the rust version to 1.73 or newer.

View trace in langsmith

Copy link

Summary

The failing tests indicate issues with linting, formatting, and tool installation. Specifically, there are snapshot mismatches in semgrep, prettier, and osv-scanner tests. Additionally, there are errors related to installing golangci-lint and nixpkgs-fmt due to version incompatibilities and build failures.

Root Cause Analysis

  1. Snapshot Mismatches: The semgrep, prettier, and osv-scanner tests are failing because the output of these tools has changed, leading to mismatches with the stored snapshots. This could be due to updates in the tool versions or changes in the test data.
  2. Tool Installation Errors: The golangci-lint test is failing because the tool installation is failing due to an invalid version. The nixpkgs-fmt test is failing because the rust version is incompatible with the required version for the bstr package.

Resolution Plan

  1. Update Snapshots: For the semgrep, prettier, and osv-scanner tests, review the changes in the tool outputs and update the snapshots accordingly.
    • Run the tests locally with snapshot update mode enabled to generate new snapshots.
    • Verify that the changes in the snapshots are expected and align with the intended behavior of the tools.
    • Commit the updated snapshots to the repository.
  2. Fix golangci-lint Installation: Investigate the cause of the invalid version error during golangci-lint installation.
    • Check the specified version in the plugin configuration and ensure it is a valid and available version.
    • Update the version if necessary.
    • Verify that the tool installation process is correctly configured and has the necessary permissions.
  3. Resolve nixpkgs-fmt Rust Version Incompatibility: Update the rust version to 1.73 or newer.
    • Update the rust version in the environment where nixpkgs-fmt is being installed.
    • Alternatively, try running cargo install with the --locked flag as suggested in the error message.

View trace in langsmith

Copy link

Summary

The failing tests indicate issues with linting, formatting, and tool installation. Specifically, there are snapshot mismatches in semgrep, prettier, and osv-scanner tests. Additionally, there are errors related to installing golangci-lint and nixpkgs-fmt due to version incompatibilities and build failures.

Root Cause Analysis

  1. Snapshot Mismatches: The semgrep, prettier, and osv-scanner tests are failing because the output of these tools has changed, leading to mismatches with the stored snapshots. This could be due to updates in the tool versions or changes in the test data.
  2. Tool Installation Errors: The golangci-lint test is failing because the tool installation is failing due to an invalid version. The nixpkgs-fmt test is failing because the rust version is incompatible with the required version for the bstr package.

Resolution Plan

  1. Update Snapshots: For the semgrep, prettier, and osv-scanner tests, review the changes in the tool outputs and update the snapshots accordingly.
    • Run the tests locally with snapshot update mode enabled to generate new snapshots.
    • Verify that the changes in the snapshots are expected and align with the intended behavior of the tools.
    • Commit the updated snapshots to the repository.
  2. Fix golangci-lint Installation: Investigate the cause of the invalid version error during golangci-lint installation.
    • Check the specified version in the plugin configuration and ensure it is a valid and available version.
    • Update the version if necessary.
    • Verify that the tool installation process is correctly configured and has the necessary permissions.
  3. Resolve nixpkgs-fmt Rust Version Incompatibility: Update the rust version to 1.73 or newer.
    • Update the rust version in the environment where nixpkgs-fmt is being installed.
    • Alternatively, try running cargo install with the --locked flag as suggested in the error message.

View trace in langsmith

Copy link

Summary

The failing tests indicate issues with linting, formatting, and tool installation. Specifically, there are snapshot mismatches in semgrep, prettier, and osv-scanner tests. Additionally, there are errors related to installing golangci-lint and nixpkgs-fmt due to version incompatibilities and build failures.

Root Cause Analysis

  1. Snapshot Mismatches: The semgrep, prettier, and osv-scanner tests are failing because the output of these tools has changed, leading to mismatches with the stored snapshots. This could be due to updates in the tool versions or changes in the test data.
  2. Tool Installation Errors: The golangci-lint test is failing because the tool installation is failing due to an invalid version. The nixpkgs-fmt test is failing because the rust version is incompatible with the required version for the bstr package.

Resolution Plan

  1. Update Snapshots: For the semgrep, prettier, and osv-scanner tests, review the changes in the tool outputs and update the snapshots accordingly.
    • Run the tests locally with snapshot update mode enabled to generate new snapshots.
    • Verify that the changes in the snapshots are expected and align with the intended behavior of the tools.
    • Commit the updated snapshots to the repository.
  2. Fix golangci-lint Installation: Investigate the cause of the invalid version error during golangci-lint installation.
    • Check the specified version in the plugin configuration and ensure it is a valid and available version.
    • Update the version if necessary.
    • Verify that the tool installation process is correctly configured and has the necessary permissions.
  3. Resolve nixpkgs-fmt Rust Version Incompatibility: Update the rust version to 1.73 or newer.
    • Update the rust version in the environment where nixpkgs-fmt is being installed.
    • Alternatively, try running cargo install with the --locked flag as suggested in the error message.

View trace in langsmith

Copy link

Summary

The failing tests indicate issues with linting, formatting, and dependency installation. Specifically:

  • Testing linter semgrep test CUSTOM fails due to a snapshot mismatch. The test expects certain issues to be present, but the actual output has no issues.
  • Testing formatter prettier test basic fails due to a snapshot mismatch in the formatted output.
  • Testing linter osv-scanner test CUSTOM fails due to a snapshot mismatch. The test expects certain paths to be scanned, but the actual output has different paths.
  • Testing linter golangci-lint test unbuildable fails because the tool installation failed due to an invalid version.
  • Testing formatter nixpkgs-fmt test test fails because the tool installation failed due to an incompatible rust version.

Root Cause Analysis

  1. Snapshot Mismatches (semgrep, prettier, osv-scanner): The snapshot mismatches suggest that the output of these linters/formatters has changed. This could be due to updates in the tools themselves or changes in the test data.
  2. Tool Installation Failures (golangci-lint, nixpkgs-fmt): These failures indicate problems with the CI environment or the tool versions being used. The golangci-lint test fails because the specified version is invalid. The nixpkgs-fmt test fails because the rust version is too old.

Resolution Plan

  1. Update Snapshots: For the semgrep, prettier, and osv-scanner tests, review the changes and update the snapshots accordingly.
    • Run the tests locally and update the snapshots using the appropriate command (e.g., jest -u).
    • Commit the updated snapshots to the PR.
  2. Fix golangci-lint Installation: Update the golangci-lint version to a valid one.
    • Inspect the plugin configuration to determine where the version is specified.
    • Update the version to a valid, existing version.
  3. Fix nixpkgs-fmt Installation: Update the rust version to a compatible one.
    • Inspect the plugin configuration to determine where the rust version is specified.
    • Update the rust version to 1.73 or newer.

View trace in langsmith

Copy link

Summary

The failing tests indicate issues with linting, formatting, and dependency installation. Specifically:

  • Testing linter semgrep test CUSTOM fails due to a snapshot mismatch. The test expects certain issues to be present, but the actual output has no issues.
  • Testing formatter prettier test basic fails due to a snapshot mismatch in the formatted output.
  • Testing linter osv-scanner test CUSTOM fails due to a snapshot mismatch. The test expects certain paths to be scanned, but the actual output has different paths.
  • Testing linter golangci-lint test unbuildable fails because the tool installation failed due to an invalid version.
  • Testing formatter nixpkgs-fmt test test fails because the tool installation failed due to an incompatible rust version.

Root Cause Analysis

  1. Snapshot Mismatches (semgrep, prettier, osv-scanner): The snapshot mismatches suggest that the output of these linters/formatters has changed. This could be due to updates in the tools themselves or changes in the test data.
  2. Tool Installation Failures (golangci-lint, nixpkgs-fmt): These failures indicate problems with the CI environment or the tool versions being used. The golangci-lint test fails because the specified version is invalid. The nixpkgs-fmt test fails because the rust version is too old.

Resolution Plan

  1. Update Snapshots: For the semgrep, prettier, and osv-scanner tests, review the changes and update the snapshots accordingly.
    • Run the tests locally and update the snapshots using the appropriate command (e.g., jest -u).
    • Commit the updated snapshots to the PR.
  2. Fix golangci-lint Installation: Update the golangci-lint version to a valid one.
    • Inspect the plugin configuration to determine where the version is specified.
    • Update the version to a valid, existing version.
  3. Fix nixpkgs-fmt Installation: Update the rust version to a compatible one.
    • Inspect the plugin configuration to determine where the rust version is specified.
    • Update the rust version to 1.73 or newer.

View trace in langsmith

Copy link

Summary

The failing tests indicate issues with linting, formatting, and dependency installation. Specifically:

  • Testing linter semgrep test CUSTOM fails due to a snapshot mismatch. The test expects certain issues to be present, but the actual output has no issues.
  • Testing formatter prettier test basic fails due to a snapshot mismatch in the formatted output.
  • Testing linter osv-scanner test CUSTOM fails due to a snapshot mismatch. The test expects certain paths to be scanned, but the actual output has different paths.
  • Testing linter golangci-lint test unbuildable fails because the tool installation failed due to an invalid version.
  • Testing formatter nixpkgs-fmt test test fails because the tool installation failed due to an incompatible rust version.

Root Cause Analysis

  1. Snapshot Mismatches (semgrep, prettier, osv-scanner): The snapshot mismatches suggest that the output of these linters/formatters has changed. This could be due to updates in the tools themselves or changes in the test data.
  2. Tool Installation Failures (golangci-lint, nixpkgs-fmt): These failures indicate problems with the CI environment or the tool versions being used. The golangci-lint test fails because the specified version is invalid. The nixpkgs-fmt test fails because the rust version is too old.

Resolution Plan

  1. Update Snapshots: For the semgrep, prettier, and osv-scanner tests, review the changes and update the snapshots accordingly.
    • Run the tests locally and update the snapshots using the appropriate command (e.g., jest -u).
    • Commit the updated snapshots to the PR.
  2. Fix golangci-lint Installation: Update the golangci-lint version to a valid one.
    • Inspect the plugin configuration to determine where the version is specified.
    • Update the version to a valid, existing version.
  3. Fix nixpkgs-fmt Installation: Update the rust version to a compatible one.
    • Inspect the plugin configuration to determine where the rust version is specified.
    • Update the rust version to 1.73 or newer.

View trace in langsmith

Copy link

Summary

The failing tests indicate issues with linting, formatting, and tool installation. Specifically, there are snapshot mismatches in semgrep, prettier, and osv-scanner tests. Additionally, there are errors related to installing golangci-lint and nixpkgs-fmt due to version incompatibilities and build failures.

Root Cause Analysis

  1. Snapshot Mismatches: The semgrep, prettier, and osv-scanner tests are failing because the output of these tools has changed, leading to mismatches with the stored snapshots. This could be due to updates in the tool versions or changes in the test data.
  2. Tool Installation Errors: The golangci-lint test is failing because the tool installation is failing due to an invalid version. The nixpkgs-fmt test is failing because the rust version is incompatible with the required version for the bstr package.

Resolution Plan

  1. Update Snapshots: For the semgrep, prettier, and osv-scanner tests, review the changes in the tool outputs and update the snapshots accordingly.
    • Run the tests locally with snapshot update mode enabled to generate new snapshots.
    • Verify that the changes in the snapshots are expected and align with the intended behavior of the tools.
    • Commit the updated snapshots to the repository.
  2. Fix golangci-lint Installation: Investigate the cause of the invalid version error during golangci-lint installation.
    • Check the specified version in the plugin configuration and ensure it is a valid and available version.
    • Update the version if necessary.
    • Verify that the tool installation process is correctly configured and has the necessary permissions.
  3. Resolve nixpkgs-fmt Rust Version Incompatibility: Update the rust version to 1.73 or newer.
    • Update the rust version in the environment where nixpkgs-fmt is being installed.
    • Alternatively, try running cargo install with the --locked flag as suggested in the error message.

View trace in langsmith

@trunk-io trunk-io deleted a comment from trunk-staging-io bot May 21, 2025
@trunk-io trunk-io deleted a comment from trunk-staging-io bot May 21, 2025
@trunk-io trunk-io deleted a comment from trunk-staging-io bot May 21, 2025
@trunk-io trunk-io deleted a comment from trunk-staging-io bot May 21, 2025
@trunk-io trunk-io deleted a comment from trunk-staging-io bot May 21, 2025
@trunk-io trunk-io deleted a comment from trunk-staging-io bot May 21, 2025
@trunk-io trunk-io deleted a comment from trunk-staging-io bot May 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant