GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [7.1.2 Cherry-pick] Fix HasRows detection after multiple INFO tokens by github-actions[bot] · Pull Request #4900 · dotnet/SqlClient

Conversation

@github-actions

@github-actions github-actions Bot commented Oct 22, 2026

Copy link
Copy Markdown

Cherry-pick of #4773 (06d0e99) into release/7.1.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@cheenamalhotra @github-actions
Fix HasRows detection after multiple INFO tokens (#4773)
d936f82
* Fix HasRows detection after multiple INFO tokens

Consume consecutive INFO tokens in both reader metadata paths while preserving deferred informational events. Add sync/async regression coverage for populated and empty results, SQL Server integration coverage, and updated HasRows documentation.

Co-authored-by: Copilot App <[email protected]>

* Cover alternate metadata HasRows processing

Add crafted ALTMETADATA and ALTROW responses with sync/async coverage, regular-row and alternate-only cases, and deferred INFO delivery assertions. Verify the regression detects removal of the alternate metadata fix.

Co-authored-by: Copilot App <[email protected]>

* Guard HasRows INFO loops against closed parsers

Co-authored-by: Copilot App <[email protected]>

* Expand HasRows response coverage and share INFO processing

Co-authored-by: Copilot App <[email protected]>

* Preserve HasRows behavior for closed parsers

Stop the INFO loop without throwing when the parser is closed or broken, retaining the prior no-row result and unchanged token state.

Co-authored-by: Copilot App <[email protected]>

* Clarify HasRows regression scenarios

Split the response matrix into named sync and async theories with typed data and explicit setup/assertion sections. Preserve the full wire matrix and driver behavior while clarifying null arguments and private helper placement.

Co-authored-by: Copilot App <[email protected]>

* Handle INFO tokens before ORDER in HasRows detection

Co-authored-by: Copilot App <[email protected]>
Copilot-Session: 81f603e3-97ec-45ff-9bb0-52ab65ba5e3c

* Guard HasRows ORDER processing against unavailable parsers

Co-authored-by: Copilot App <[email protected]>
Copilot-Session: 7c53fcdb-6763-414c-84c1-104507dd7379

---------

Co-authored-by: Copilot App <[email protected]>
Copilot-Session: 81f603e3-97ec-45ff-9bb0-52ab65ba5e3c
Copilot-Session: 7c53fcdb-6763-414c-84c1-104507dd7379
@github-actions
github-actions Bot requested a review from a team as a code owner October 22, 2026 05:51
@github-actions github-actions Bot added this to the 7.1.2 milestone Oct 22, 2026
@github-project-automation github-project-automation Bot added this to SqlClient Board Oct 22, 2026
@github-project-automation github-project-automation Bot moved this to To triage in SqlClient Board Oct 22, 2026
@azure-pipelines

azure-pipelines Bot commented Oct 22, 2026

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

priyankatiwari08
priyankatiwari08 approved these changes Oct 22, 2026
View reviewed changes

@priyankatiwari08 priyankatiwari08 left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Looks good — diff identical to merged #4773

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@mdaigle

mdaigle commented Oct 22, 2026

Copy link
Copy Markdown
Contributor

/azp run

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@mdaigle
mdaigle enabled auto-merge (squash) October 22, 2026 20:37
@azure-pipelines

azure-pipelines Bot commented Oct 22, 2026

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 2 pipeline(s).
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@codecov

codecov Bot commented Oct 22, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 84.21053% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 64.74%. Comparing base (ab3d40a) to head (d936f82).
⚠️ Report is 7 commits behind head on release/7.1.

Files with missing lines Patch % Lines
...ient/src/Microsoft/Data/SqlClient/SqlDataReader.cs 84.21% 6 Missing ⚠️
Additional details and impacted files
@@               Coverage Diff               @@
##           release/7.1    #4900      +/-   ##
===============================================
- Coverage        66.52%   64.74%   -1.78%     
===============================================
  Files              291      285       -6     
  Lines            45101    68049   +22948     
===============================================
+ Hits             30002    44060   +14058     
- Misses           15099    23989    +8890     
Flag Coverage Δ
CI-SqlClient ?
PR-SqlClient-Project 64.74% <84.21%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@mdaigle
mdaigle merged commit e0aa1ea into release/7.1 Oct 22, 2026
210 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@mdaigle
mdaigle deleted the dev/automation/pr-4773-to-7.1.2 branch October 22, 2026 23:19
@github-project-automation github-project-automation Bot moved this from To triage to Done in SqlClient Board Oct 22, 2026
@cheenamalhotra cheenamalhotra linked an issue Oct 26, 2026 that may be closed by this pull request
[7.1] Backport #4773 #4863
Closed
@cheenamalhotra cheenamalhotra mentioned this pull request Oct 26, 2026
[7.1] Backport #4773 #4863
Closed
This was referenced Nov 13, 2026
Bump Microsoft.Data.SqlClient from 7.1.1 to 7.1.2 BobJWalker/Trident#182
Closed
Bump Microsoft.Data.SqlClient from 7.1.1 to 7.1.2 BobJWalker/Trident#183
Closed
Bump Microsoft.Data.SqlClient from 7.1.1 to 7.1.2 ChaosEngine/MyRainbow#477
Merged
Bump Microsoft.Data.SqlClient from 7.1.1 to 7.1.2 giis-uniovi/qacover#649
Closed
Bump the dotnet-dependencies group with 4 updates Chris-Wolfgang/Etl-DbClient#641
Merged
Bump Microsoft.Data.SqlClient and Microsoft.Data.SqlClient.SNI.runtime angaravasist/sqloryn#15
Closed
Bump Microsoft.Data.SqlClient from 7.1.1 to 7.1.2 NServiceBusCommunity/NServiceBus.Community.Attachments#959
Merged
Bump Microsoft.Data.SqlClient from 7.1.1 to 7.1.2 bellerophon-dotnet/bellerophon#8
Closed
Bump Microsoft.Data.SqlClient.Extensions.Azure from 7.1.1 to 7.1.2 bellerophon-dotnet/bellerophon#9
Closed
Bump Microsoft.Data.SqlClient from 7.1.1 to 7.1.2 AndreasReitberger/SharedMauiCoreLibrary#536
Merged
Bump Microsoft.Data.SqlClient from 5.1.5 to 7.1.2 Sneha-Hiremath-Seko/github-copilot-demo#10
Open
Bump Microsoft.Data.SqlClient from 7.1.1 to 7.1.2 SimonCropp/LocalDb#1172
Merged
Bump Microsoft.Data.SqlClient from 7.1.1 to 7.1.2 wallymathieu/todo-minimal-api-ef#250
Merged
Bump the sql group with 2 updates Chookees/ALog#73
Closed
This was referenced Nov 27, 2026
Bump Microsoft.Data.SqlClient and 4 others BabychPV/ECR#1008
Open
Bump the dotnet group with 16 updates phlppgdfry/docurelay-field#6
Closed
Bump Microsoft.Data.SqlClient from 7.1.1 to 7.1.2 PxTools/PCAxis.Menu.MsSqlDatamodelMenu#118
Open
Bump the dotnet group with 16 updates phlppgdfry/docurelay-field#8
Open
Bump the minor-and-patches group with 24 updates MrtKrs/ErpIntegrationApi#1
Open
Bump the microsoft-core group with 9 updates MrtKrs/ErpIntegrationApi#2
Open
Bump Microsoft.Data.SqlClient from 5.2.3 to 8.0.0 abbgrade/PsDac#63
Open
Bump Microsoft.Data.SqlClient from 7.1.1 to 8.0.0 wesilios/Dapper.SpecificationExtension#108
Open
Bump Microsoft.Data.SqlClient from 7.0.2 to 8.0.0 Kraftlyftingasamband-Islands/kraft.results#817
Open
Bump Microsoft.Data.SqlClient from 7.1.1 to 7.1.2 MBakkar2705/traceability-api-dotnet#49
Merged
Bump Microsoft.AspNetCore.Authentication.JwtBearer and 17 others farooqngp/edu-eco#44
Open
Bump Microsoft.Data.SqlClient and System.Text.Json devopsabcs-engineering/gh-advsec-devsecops#83
Open
Bump Microsoft.Data.SqlClient from 7.1.1 to 7.1.2 statisticssweden/DataportalXML#82
Open
Bump Microsoft.Bcl.Cryptography and 8 others mishka1c/mRemoteNX#14
Closed
Bump the microsoft group with 12 updates ericksonlopezf/dotnet-sql-builder#24
Open
Bump the microsoft group with 12 updates protobuf-net/protobuf-net#1399
Open
Bump the dotnet group with 12 updates newbothi/reservamed#50
Open
Bump coverlet.collector and 10 others newbothi/reservamed#51
Open
Bump Microsoft.Data.SqlClient from 7.1.1 to 8.0.0 olesme/ohirok.reqnroll#5
Closed
Bump Aspire.Hosting.Azure.ServiceBus and 21 others softvasco/ledger-core#134
Open
Bump FsCheck.Xunit.v3 and 17 others softvasco/ledger-core#135
Open
chore: Bump Microsoft.Data.SqlClient and System.Security.Cryptography.Pkcs Lethabarb/grow2notes#262
Open
Bump Microsoft.Data.SqlClient from 6.1.4 to 8.0.0 rpgrca/EjerciciosEnNET#745
Open
Bump Microsoft.Data.SqlClient and Microsoft.EntityFrameworkCore.SqlServer JASSBR/comptoir#27
Open
Bump Microsoft.Data.SqlClient and System.Security.Cryptography.Pkcs moberghr/beacon#288
Open
Bump the microsoft group with 17 updates ibrahimsamak/Azure-Kubernetes-AKS-ACR#60
Open
Bump Microsoft.AspNetCore.Authentication.JwtBearer and 7 others ahmedgndy/AlMotaheda_ERP#21
Open
Bump the minor-and-patch group with 13 updates Ashish-ingh123/billingrecon#13
Open
Bump coverlet.collector and 10 others Ashish-ingh123/billingrecon#14
Open
Bump Microsoft.Data.SqlClient and System.Security.Cryptography.Pkcs Ashish-ingh123/billingrecon#15
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@priyankatiwari08 priyankatiwari08 priyankatiwari08 approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

SqlClient Board
Status: Done

Milestone

7.1.2

Development

Successfully merging this pull request may close these issues.

[7.1] Backport #4773

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@mdaigle @priyankatiwari08 @cheenamalhotra
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.