Repository navigation
Take pending dependency updates and fix Genie resume and timeout gaps - #191
Merged
Merged
Conversation
Patch releases of the .NET 10 runtime packages to 10.0.15, Azure.Core 1.65.0 on net10.0, Microsoft.Extensions.AI.OpenAI 11.0.1, OpenAI 2.15.0, the dotnet/extensions testing packages 11.0.1 and WireMock.Net 2.31.0. The net8.0 floor is unchanged. AspNetCore.OpenApi 10.0.15 requires Microsoft.OpenApi 2.13.0 or later, above the GHSA-v5pm-xwqc-g5wc fix, so the direct 2.7.5 pin goes. Dependabot no longer proposes majors of packages that track the .NET runtime: moving the net10.0 floor to 11.x loads .NET 11 assemblies over every .NET 10 consumer's shared framework, which is a target-framework decision. Signed-off-by: Ivan Vydrin <ivan.vydrin@techfabric.com>
- Map QUERY_RESULT_EXPIRED to Completed. A resumed message whose result rows had expired polled until ResponseTimeout and returned TimedOut. - Classify the two-minute HttpClient.Timeout as a timeout, not as caller cancellation: a wait polls again, a read throws TimeoutException, and a submission throws GenieResponseTimeoutException (acceptance unknown). - Validate the conversation ID in DeleteAsync like every other operation. - Report an invalid accepted identity as InvalidOperationException. - Return faulted tasks from the default interface methods. The gate, identifier, ownership and tenant checks were copied into seven methods and had drifted; they are now one ordered AuthorizeAsync, and one ResponseDeadline.IsTimeout replaces five catch sites. HttpClientLoggingTests pins in the default suite that all eleven library clients carry no HTTP logger, including host-wide defaults added later. The guide now states that owner keys must be unique across tenants. Signed-off-by: Ivan Vydrin <ivan.vydrin@techfabric.com>
Bumps the minor-and-patch group with 3 updates in the / directory: [databricks/setup-cli](https://github.com/databricks/setup-cli), [actions/dependency-review-action](https://github.com/actions/dependency-review-action) and [ossf/scorecard-action](https://github.com/ossf/scorecard-action). Updates `databricks/setup-cli` from 1.23.0 to 1.27.0 - [Commits](databricks/setup-cli@9625fdd...12452ad) Updates `actions/dependency-review-action` from 5.0.0 to 5.0.1 - [Release notes](https://github.com/actions/dependency-review-action/releases) - [Commits](actions/dependency-review-action@a1d282b...bbc44d1) Updates `ossf/scorecard-action` from 2.5.0 to 2.6.0 - [Release notes](https://github.com/ossf/scorecard-action/releases) - [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md) - [Commits](ossf/scorecard-action@fa7117d...23f22cd) --- updated-dependencies: - dependency-name: databricks/setup-cli dependency-version: 1.27.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-and-patch - dependency-name: actions/dependency-review-action dependency-version: 5.0.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: ossf/scorecard-action dependency-version: 2.6.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-and-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Ivan Vydrin <ivan.vydrin@techfabric.com>
ci.yml is a confidentiality control that only the repository owner may approve. The setup-cli 1.27.0 bump stays in #189; the security.yml bumps from it remain here. Signed-off-by: Ivan Vydrin <ivan.vydrin@techfabric.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this changes
One maintenance batch: the open Dependabot updates, and the defects a review of the 3.1.0 Genie
changes found.
Dependencies
Every NuGet Dependabot PR (#180, #181, #182, #183, #184, #190) failed
dotnet restore --locked-mode: Dependabot cannot rewrite the lock files, and #181 also hit NU1109 becauseMicrosoft.AspNetCore.OpenApi10.0.15 andMicrosoft.AspNetCore.Mvc.Testing10.0.15 needMicrosoft.OpenApi 2.13 and Microsoft.Extensions 10.0.15 above the central pins. This takes them
together and regenerates the lock files:
TimeProvider.Testing 11.0.1, WireMock.Net 2.31.0. These come from dotnet/extensions, which versions
independently: their net10.0 assets depend on Extensions 10.0.15, checked in the published nuspecs.
above the GHSA-v5pm-xwqc-g5wc fix.
security.ymlbumps from Bump the minor-and-patch group across 1 directory with 3 updates #189 (dependency-review-action 5.0.1, scorecard-action 2.6.0), each SHA compared with its upstream tag. Theci.ymlsetup-cli bump stays in Bump the minor-and-patch group across 1 directory with 3 updates #189, becauseci.ymlis a confidentiality control that needs the owner's review label.Not taken: the Microsoft.Extensions.* 11.0.0 runtime majors in #180 and #190 (DependencyInjection,
Logging.Abstractions, Options, Hosting.Abstractions). They would make every .NET 10 consumer load
.NET 11 assemblies over its shared framework.
dependabot.ymlnow ignores majors of the packages thattrack the runtime. Moving to .NET 11 is a target-framework decision for its own ADR.
Genie conversation fixes (from the 3.1.0 review)
QUERY_RESULT_EXPIREDwas unmapped, so resuming an old checkpoint polled for the wholeResponseTimeoutand returnedTimedOut. It now maps toCompleted, because only the result rowsexpired. The status comes from the Databricks SDK
MessageStatusenum; live behaviour is notverified.
HttpClient.Timeoutis shorter than the ten-minute responsedeadline. A hung GET surfaced as a
TaskCanceledExceptionthe caller never asked for, against theguide's contract. A wait now polls again, a single read throws
TimeoutException, and a submissionthrows
GenieResponseTimeoutException(acceptance unknown).DeleteAsyncskipped the./..identifier check that every other conversation operation has.ArgumentException(caller error); it is nowInvalidOperationException.Structure: the gate, identifier, ownership and tenant checks were hand-copied into seven methods and
had already drifted (the Delete gap). They are now one ordered
AuthorizeAsync. Submission builds itsown path, and one
ResponseDeadline.IsTimeoutclassifier replaces five catch sites.Tests
HttpClientLoggingTestspins in the default suite that all 11 library HTTP clients carry nologger, including one added afterwards with
ConfigureHttpClientDefaults. Before, only the packagedconsumer fixture, which CI does not run, covered this.
real HTTP latency on a loaded machine; its clock-advance loop is now time-bounded and its deadline
is out of reach.
Docs
The guide and the interface remarks now state that ownership records carry no tenant, so an owner
key must be unique across tenants. They also state that host-wide
ConfigureHttpClientDefaultsloggers are removed from library clients.
Closes #180, closes #181, closes #182, closes #183, closes #184. #190 stays open for its 11.0.0 runtime majors; it is closed separately with the reason.
How it was verified
On Windows, .NET SDK 10.0.400, Docker 29.8.1, at 64afed2 before the cherry-pick:
dotnet restore --force-evaluate, thendotnet restore --locked-mode: exit 0.dotnet build -c Release: 0 warnings, 0 errors.dotnet test -c Release --filter "Category!=Live": 541 passed, 0 failed (9 m 53 s).dotnet format --verify-no-changes: exit 0.scripts/check-doc-links.shandscripts/check-doc-claims.sh: exit 0.GenieConversationTestsfailed 4 of 6 runs while the machine was loaded and passed 3 of 3 on unchanged main. A WireMock 2.30.0 rerun showed the failure did not come from that bump. The stack showed the fake deadline expiring during a real POST. After the test change: 6 of 6 passed, then the full run above.MessageStatusenum. The 11.x package dependencies were read from the published nuspecs on nuget.org.Not verified: Genie behaviour on a live workspace for
QUERY_RESULT_EXPIREDor a real per-request timeout. The new tests were not run against the old code; they are expected to fail there, from reading it.Checklist
TenantIsolationcategory)CHANGELOG.mdCHANGELOG.mdentry were reviewedgit commit -s)