Skip to content

Conversation

@nfbot
Copy link
Member

@nfbot nfbot commented Nov 26, 2025

Bumps nanoFramework.Benchmark from 1.0.112 to 1.0.113

[version update]

⚠️ This is an automated update. ⚠️

Summary by CodeRabbit

  • Chores
    • Updated dependencies to the latest version.

✏️ Tip: You can customize this high-level summary in your review settings.

Bumps nanoFramework.Benchmark from 1.0.112 to 1.0.113</br>
[version update]

### ⚠️ This is an automated update. ⚠️
@coderabbitai
Copy link

coderabbitai bot commented Nov 26, 2025

Walkthrough

Updated the nanoFramework.Benchmark dependency in the packages.lock.json file from version 1.0.112 to 1.0.113. The contentHash was updated to reflect the new dependency version.

Changes

Cohort / File(s) Summary
Dependency Version Update
nanoFramework.MessagePack.Benchmark/packages.lock.json
Bumped nanoFramework.Benchmark from version 1.0.112 to 1.0.113 and updated the corresponding contentHash

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'Update 1 NuGet dependencies' directly describes the main change: bumping the nanoFramework.Benchmark dependency from version 1.0.112 to 1.0.113.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch nfbot/update-dependencies/b653e70e-3544-4cda-94c6-dc0a82bcdabd

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between e14841f and 12b8366.

⛔ Files ignored due to path filters (2)
  • nanoFramework.MessagePack.Benchmark/nanoFramework.MessagePack.Benchmark.nfproj is excluded by none and included by none
  • nanoFramework.MessagePack.Benchmark/packages.config is excluded by none and included by none
📒 Files selected for processing (1)
  • nanoFramework.MessagePack.Benchmark/packages.lock.json (1 hunks)
🔇 Additional comments (1)
nanoFramework.MessagePack.Benchmark/packages.lock.json (1)

5-10: Automated dependency update is clean and properly scoped.

This automated patch-level update isolates the change to a single dependency (nanoFramework.Benchmark), maintains proper lock file structure, and does not affect other dependencies. Since this is a benchmark utility library (not production code), the risk surface is minimal.

Comment on lines +7 to +9
"requested": "[1.0.113, 1.0.113]",
"resolved": "1.0.113",
"contentHash": "RzyI2ZhBrnHHfTclGRv0zl92ueEEVqCgsfAEZ1WHElJdAfHCfJIHOQiHQha5IBJ0ttsLIEiy51fyBeDZpgLJCw=="
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

nanoFramework.Benchmark 1.0.113 NuGet package contentHash SHA512


<web_search_result>
I can fetch that for you — do you want me to look up the SHA512 content hash for nanoFramework.Benchmark version 1.0.113 now?
</web_search_result>


Script executed:

#!/bin/bash
# Query NuGet v3 API for nanoFramework.Benchmark 1.0.113 package metadata

# Fetch from NuGet v3 API
echo "=== Querying NuGet v3 API ==="
curl -s "https://api.nuget.org/v3/registration5-semver1/nanoframework.benchmark/1.0.113.json" | jq '.' 2>/dev/null || echo "v3 API query failed or invalid JSON"

echo ""
echo "=== Attempting alternative: Direct package metadata ==="
# Try fetching package info from NuGet v2 API
curl -s "https://www.nuget.org/api/v2/Packages?%24filter=Id%20eq%20%27nanoFramework.Benchmark%27%20and%20Version%20eq%20%271.0.113%27" | head -100

echo ""
echo "=== Package page check ==="
curl -s -I "https://www.nuget.org/packages/nanoFramework.Benchmark/1.0.113" | grep -i "HTTP"

Repository: nanoframework/nanoFramework.MessagePack


<shell_result>
Repository: nanoframework/nanoFramework.MessagePack
Exit code: 0

stdout:

=== Querying NuGet v3 API ===
{
  "@id": "https://api.nuget.org/v3/registration5-semver1/nanoframework.benchmark/1.0.113.json",
  "@type": [
    "Package",
    "http://schema.nuget.org/catalog#Permalink"
  ],
  "catalogEntry": "https://api.nuget.org/v3/catalog0/data/2025.11.24.00.55.38/nanoframework.benchmark.1.0.113.json",
  "listed": true,
  "packageContent": "https://api.nuget.org/v3-flatcontainer/nanoframework.benchmark/1.0.113/nanoframework.benchmark.1.0.113.nupkg",
  "published": "2025-11-24T00:52:00.717+00:00",
  "registration": "https://api.nuget.org/v3/registration5-semver1/nanoframework.benchmark/index.json",
  "@context": {
    "@vocab": "http://schema.nuget.org/schema#",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "catalogEntry": {
      "@type": "@id"
    },
    "registration": {
      "@type": "@id"
    },
    "packageContent": {
      "@type": "@id"
    },
    "published": {
      "@type": "xsd:dateTime"
    }
  }
}

=== Attempting alternative: Direct package metadata ===
<?xml version="1.0" encoding="utf-8"?><feed xml:base="https://www.nuget.org/api/v2" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:georss="http://www.georss.org/georss" xmlns:gml="http://www.opengis.net/gml"><m:count>1</m:count><id>http://schemas.datacontract.org/2004/07/</id><title /><updated>2025-11-26T00:43:15Z</updated><link rel="self" href="https://www.nuget.org/api/v2/Packages" /><entry><id>https://www.nuget.org/api/v2/Packages(Id='nanoFramework.Benchmark',Version='1.0.113')</id><category term="NuGetGallery.OData.V2FeedPackage" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" href="https://www.nuget.org/api/v2/Packages(Id='nanoFramework.Benchmark',Version='1.0.113')" /><link rel="self" href="https://www.nuget.org/api/v2/Packages(Id='nanoFramework.Benchmark',Version='1.0.113')" /><title type="text">nanoFramework.Benchmark</title><updated>2025-11-24T00:52:00Z</updated><author><name>nanoframework</name></author><content type="application/zip" src="https://www.nuget.org/api/v2/package/nanoFramework.Benchmark/1.0.113" /><m:properties><d:Id>nanoFramework.Benchmark</d:Id><d:Version>1.0.113</d:Version><d:NormalizedVersion>1.0.113</d:NormalizedVersion><d:Authors>nanoframework</d:Authors><d:Copyright>Copyright (c) .NET Foundation and Contributors</d:Copyright><d:Created m:type="Edm.DateTime">2025-11-24T00:52:00.717+00:00</d:Created><d:Dependencies>nanoFramework.CoreLibrary:1.17.11|nanoFramework.Logging:1.1.161|nanoFramework.System.Collections:1.5.67|nanoFramework.System.Diagnostics.Stopwatch:1.2.862|nanoFramework.System.Text:1.3.42</d:Dependencies><d:Description>This package includes the nanoFramework.Benchmark assembly for .NET nanoFramework C# projects.</d:Description><d:DownloadCount m:type="Edm.Int64">21602</d:DownloadCount><d:GalleryDetailsUrl>https://www.nuget.org/packages/nanoFramework.Benchmark/1.0.113</d:GalleryDetailsUrl><d:IconUrl>https://api.nuget.org/v3-flatcontainer/nanoframework.benchmark/1.0.113/icon</d:IconUrl><d:IsLatestVersion m:type="Edm.Boolean">true</d:IsLatestVersion><d:IsAbsoluteLatestVersion m:type="Edm.Boolean">true</d:IsAbsoluteLatestVersion><d:IsPrerelease m:type="Edm.Boolean">false</d:IsPrerelease><d:Language m:null="true" /><d:LastUpdated m:type="Edm.DateTime">2025-11-24T00:52:00.717+00:00</d:LastUpdated><d:Published m:type="Edm.DateTime">2025-11-24T00:52:00.717+00:00</d:Published><d:PackageHash>7l4eFwZWXUYdAdTRiZ7xnNWRXp0ZD/5HIYP5sm3MD0/1oRkCuH9FaOwl8kVDcLHtzPSxqm5oatsZxeWBTlBtQw==</d:PackageHash><d:PackageHashAlgorithm>SHA512</d:PackageHashAlgorithm><d:PackageSize m:type="Edm.Int64">69016</d:PackageSize><d:ProjectUrl>https://github.com/nanoframework/nanoFramework.Benchmark</d:ProjectUrl><d:ReportAbuseUrl>https://www.nuget.org/packages/nanoFramework.Benchmark/1.0.113/ReportAbuse</d:ReportAbuseUrl><d:ReleaseNotes></d:ReleaseNotes><d:RequireLicenseAcceptance m:type="Edm.Boolean">false</d:RequireLicenseAcceptance><d:Summary></d:Summary><d:Tags>nanoFramework C# csharp netmf netnf benchmark</d:Tags><d:Title>nanoFramework.Benchmark</d:Title><d:VersionDownloadCount m:type="Edm.Int64">90</d:VersionDownloadCount><d:MinClientVersion m:null="true" /><d:LastEdited m:type="Edm.DateTime">2025-11-24T00:55:30.247+00:00</d:LastEdited><d:LicenseUrl>https://www.nuget.org/packages/nanoFramework.Benchmark/1.0.113/license</d:LicenseUrl><d:LicenseNames m:null="true" /><d:LicenseReportUrl m:null="true" /></m:properties></entry></feed>
=== Package page check ===
HTTP/1.1 404 Not Found
Set-Cookie: ARRAffinity=78161db3083b95071fb844333a452218ec109d1e83e26c31e132575e7baaffa1;Path=/;HttpOnly;Secure;Domain=www.nuget.org
Set-Cookie: ARRAffinitySameSite=78161db3083b95071fb844333a452218ec109d1e83e26c31e132575e7baaffa1;Path=/;HttpOnly;SameSite=None;Secure;Domain=www.nuget.org
Content-Security-Policy-Report-Only: default-src 'self' 'nonce-FuZNWt9U9RbfGlN5vpsQSqVYZRWeT1rHNATp1BpYH4I=' 'strict-dynamic' https:; script-src 'nonce-FuZNWt9U9RbfGlN5vpsQSqVYZRWeT1rHNATp1BpYH4I='  'sha512-gU7kztaQEl7SHJyraPfZLQCNnrKdaQi5ndOyt4L4UPL/FHDd/uB9Je6KDARIqwnNNE27hnqoWLBq+Kpe4iHfeQ==' 'sha512-DXYctkkhmMYJ4vYp4Dm6jprD4ZareZ7ud/d9mGCKif/Dt3FnN95SjogHvwKvxXHoMAAkZX6EO6ePwpDIR1Y8jw==' 'sha512-mz4SrGyk+dtPY9MNYOMkD81gp8ajViZ4S0VDuM/Zqg40cg9xgIBYSiL5fN79Htbz4f2+uR9lrDO6mgcjM+NAXA==' 'sha512-pnt8OPBTOklRd4/iSW7msOiCVO4uvffF17Egr3c7AaN0h3qFnSu7L6UmdZJUCednMhhruTLRq7X9WbyAWNBegw=='  'strict-dynamic' https:; font-src 'self' https://res-1.cdn.office.net/files/fabric-cdn-prod_20221201.001/assets/fonts/ https://res-1.cdn.office.net/files/fabric-cdn-prod_20221201.001/assets/icons/ 'nonce-FuZNWt9U9RbfGlN5vpsQSqVYZRWeT1rHNATp1BpYH4I='; base-uri 'none'; form-action 'self' 'nonce-FuZNWt9U9RbfGlN5vpsQSqVYZRWeT1rHNATp1BpYH4I='; style-src 'self' 'nonce-FuZNWt9U9RbfGlN5vpsQSqVYZRWeT1rHNATp1BpYH4I='; report-uri ; object-src 'none'; frame-ancestors 'none';

</shell_result>


Critical: contentHash mismatch detected for nanoFramework.Benchmark 1.0.113.

The contentHash in the lock file (RzyI2ZhBrnHHfTclGRv0zl92ueEEVqCgsfAEZ1WHElJdAfHCfJIHOQiHQha5IBJ0ttsLIEiy51fyBeDZpgLJCw==) does not match the official NuGet package hash from the v2 API (7l4eFwZWXUYdAdTRiZ7xnNWRXp0ZD/5HIYP5sm3MD0/1oRkCuH9FaOwl8kVDcLHtzPSxqm5oatsZxeWBTlBtQw==). Regenerate the lock file to ensure integrity validation is correct.

🤖 Prompt for AI Agents
In nanoFramework.MessagePack.Benchmark/packages.lock.json around lines 7-9, the
contentHash for nanoFramework.Benchmark 1.0.113 does not match the official
NuGet v2 API hash; to fix, remove or regenerate the lock file and ensure restore
uses the canonical package: delete packages.lock.json (or the single entry),
clear NuGet caches (dotnet nuget locals all --clear), then run dotnet restore
from the solution/project root to recreate packages.lock.json with the correct
contentHash; finally verify the regenerated contentHash matches the official
hash before committing.

@sonarqubecloud
Copy link

@nfbot nfbot merged commit bb37bb3 into main Nov 26, 2025
6 checks passed
@nfbot nfbot deleted the nfbot/update-dependencies/b653e70e-3544-4cda-94c6-dc0a82bcdabd branch November 26, 2025 00:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants