Skip to content

chore(deps): update thiserror requirement from 1 to 2#11

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/thiserror-2
Open

chore(deps): update thiserror requirement from 1 to 2#11
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/thiserror-2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 1, 2026

Copy link
Copy Markdown

Updates the requirements on thiserror to permit the latest version.

Release notes

Sourced from thiserror's releases.

2.0.18

Commits
  • dc0f6a2 Release 2.0.18
  • 0275292 Touch up PR 443
  • 3c33bc6 Merge pull request #443 from LucaCappelletti94/master
  • 995939c Reproduce issue 442
  • 21653d1 Made clippy lifetime allows conditional
  • 45e5388 Update actions/upload-artifact@v5 -> v6
  • 386aac1 Update actions/upload-artifact@v4 -> v5
  • ec50561 Update actions/checkout@v5 -> v6
  • 247eab5 Update name of empty_enum clippy lint
  • 91b181f Raise required compiler to Rust 1.68
  • Additional commits viewable in compare view

@dependabot @github

dependabot Bot commented on behalf of github Jul 1, 2026

Copy link
Copy Markdown
Author

Labels

The following labels could not be found: dependencies, rust. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@dependabot
dependabot Bot force-pushed the dependabot/cargo/thiserror-2 branch 2 times, most recently from 19f8008 to 5bd2b6f Compare July 8, 2026 05:29
@dependabot
dependabot Bot force-pushed the dependabot/cargo/thiserror-2 branch from 5bd2b6f to 7578ca5 Compare July 11, 2026 05:41
Updates the requirements on [thiserror](https://github.com/dtolnay/thiserror) to permit the latest version.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](dtolnay/thiserror@1.0.0...2.0.18)

---
updated-dependencies:
- dependency-name: thiserror
  dependency-version: 2.0.18
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/cargo/thiserror-2 branch from 7578ca5 to 2773e4e Compare July 13, 2026 02:26

@codacy-production codacy-production Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull Request Overview

This PR exhibits significant scope misalignment and implementation gaps that prevent approval. Although Codacy indicates the code is 'up to standards', the PR title describes a simple dependency update ('thiserror'), while the actual changes introduce a new 'lint' feature and API endpoint. Additionally, several modules declared in the code (e.g., domain/service/lint.rs) are missing from the PR, and the claimed dependency update is not present in the provided diff. These issues represent a failure in traceability and completeness.

About this PR

  • The PR declares new modules for linting service and handlers, but the corresponding source files are missing from the diff, leading to compilation failures.
  • Significant scope misalignment: The PR title and description indicate a dependency update, but the code introduces a new linting feature and unrelated test refactoring. This breaks project history and traceability.

Test suggestions

  • Verify that POST /dpp/{dppId}/lint correctly triggers the linting logic and returns a successful response
  • Ensure the project compiles and error types function correctly with thiserror 2.0
Prompt proposal for missing tests
Consider implementing these tests if applicable:
1. Verify that `POST /dpp/{dppId}/lint` correctly triggers the linting logic and returns a successful response
2. Ensure the project compiles and error types function correctly with `thiserror` 2.0

TIP Improve review quality by adding custom instructions
TIP How was this review? Give us feedback

Comment thread crates/dpp-vault/src/router.rs Outdated
.route("/dpps", get(list_handler))
.route("/dpp/{dppId}", get(read_handler).put(update_handler))
.route("/dpp/{dppId}/publish", post(publish_handler))
.route("/dpp/{dppId}/lint", post(lint_handler))

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔴 HIGH RISK

The addition of the /lint endpoint and the associated handler logic is outside the scope of a dependency update. This PR contains no changes related to thiserror, despite its title. This feature should be moved to a separate PR, or the PR title/description must be corrected to reflect the actual functional changes.

@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

AI Reviewer: first review requested successfully. AI can make mistakes. Always validate suggestions.

Run reviewer

TIP This summary will be updated as you push new changes.

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.

0 participants