Repository navigation
Docsite pass for 11.0.x: false statements fixed, samples in a blog domain, release notes tidy, README rules checked in CI - #331
Open
electricessence wants to merge 6 commits into
Open
electricessence wants to merge 6 commits into
electricessence wants to merge 6 commits into
Conversation
…omain, release notes tidy, README rules checked in CI Six reviewers (page groups against the 11.0.x code, arbitrated) found these statements false or stale; each is fixed: - mapping: ImmutableArray has no second copy on .NET 10 and later (the netstandard builds that .NET 8 and 9 take copy it once); DateOnly and TimeOnly are handled on .NET 10 and later only; Map<T>() reads through a generated reader, the runtime map is the one built from expression trees; the library has no attribute that renames a column (it has the null attributes); a bad value's exception names no member or column, the others do; the OrDefault forms give default for a value type. - async buffers: on netstandard2.0 every array is cleared; the parameter is clearOnReturn, not clear. async reads: the connection opens before the command executes (the text and the figure said the reverse); "UNMEASURED" in capitals removed. - expressive commands: ExpressiveCommand has async terminals, what the last two types add is ReadAsync, ExecuteNonQueryAsync and ExecuteScalarAsync; a byte-count claim no data file backs is removed; `default` throws InvalidOperationException; one example uses the sync Execute, now ExecuteAsync; shaping rows: a factory can return null (the row stays), more than 16 parameters need a declared delegate type. - Dapper page: output parameters are read on the chain (ExecuteOutputAsync, Output, CaptureOutput); how-little-code: Items is awaited; performance: no comparison with an older build in a current-version page. - getting started: MSSqlClient needs .NET 10 or later on modern .NET (not .NET 8 or 9); the five READMEs say so; the index no longer says every sample is compiled (a few snippets are text). - Benchmarks pages: the providers list, one run per case with its exception, the data-file list, ToChannelReader(singleReader: true). The samples that used orders, customers and stock now use a blog domain (Draft, PostCounts); the samples build with 0 warnings and run 267 of 267 checks. Release notes: the 11.0.0 section has no release-candidate heading; the changes made after rc.18 are the first part of the release-candidates section, which says who needs it. docsite/tools/check-readmes.ps1, run by docs.yml, checks the five package READMEs: the banner under the H1 with its tagline not repeated, image hosts on nuget.org's list, no raw HTML block, and one identical "The packages" section. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
- The release notes keep the rc.17 entry as it was (it names Order.OrderNum, the type of that release); the release-candidates intro and the 11.0.0 note agree. - expressive-commands: only the last two types have ExecuteNonQueryAsync and ExecuteScalarAsync; the handler of ExecuteAsync returns a ValueTask. - A sample comment says the name match would also find scheduled_at (it said it matched no property). - check-readmes.ps1 reads titled and single-quoted images, rejects a relative image with its own message, ignores inline code and fenced code, treats any HTML tag but <img> as raw HTML, ends the packages section at a level 1 or 2 heading outside a fence, compares against the Core README; docs.yml runs it before the link check so a README error is not hidden by a link failure. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ne cited run per number, no orphan page, fewer repeats - async-buffers, channels-and-dataflow: the buffer is the recommended way to read rows once; a stream is for stopping early or feeding a pipeline; Stream and StreamBuffered hold the connection and are the last resort - real-databases, library-comparison, performance: each Dapper figure names its run and data file (14.9% from run rp-sql-w20 in real-providers.csv; 11% from runs a and b of library-real.csv) - delete docsite/api/overview/Open.Database.Extensions.Core.md: the namespace has no public types - trim repeats in async-reads, async-buffers and channels-and-dataflow (the figure numbers stay in the alt text and the Sources table) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The 2026-11-23 figures are from build 6a770e8, where Map<T>() read with SequentialAccess (MappedQuery.Behavior: only a selector source used the default mode). The page now says so and that Map<T>() now reads with the default mode, with SequentialAccess() as the opt-in. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
electricessence
force-pushed
the
docs/docs-pass
branch
from
December 6, 2026 04:24
88eb53e to
8510c2b
Compare
…uteAsync in whats-new, a list in CONTRIBUTING-DOCS, the cross-build caveat on the clearing row Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This branch has not been deployed
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.
Wave 2, PR 2 of 2: the docsite pass for 11.0.x and the README polish. Stacked on #330 (the link check): the base is its branch so this diff shows only this PR; retarget to
masterafter #330 merges.What was done
Six Sonnet reviewers (page groups: start pages, mapping, commands and shaping, async and channels, comparison pages, benchmark pages) checked every claim against the 11.0.x code and the owner's rules; I arbitrated and applied what held. False or stale statements fixed:
DateOnly/TimeOnlyonly on .NET 10 and later;Map<T>()reads through a generated reader and only the runtime map uses expression trees; the library has no attribute that renames a column (it has[NullPolicy]and[NullValue]); a bad value's exception names no member or column while the others do;OrDefaultgivesdefaultfor a value type.netstandard2.0every pooled array is cleared (Holds<T>.Referencesis a constanttruethere); the parameter isclearOnReturn, notclear. async reads: the connection opens before the command executes (the text and the figure said the reverse);UNMEASUREDin capitals.defaultthrowsInvalidOperationException; the syncExecutein an async-first page. shaping rows: a factory can returnnull; more than 16 parameters need a declared delegate type.Itemsis awaited. performance: no comparison with an older build in a current-version page.ToChannelReader(singleReader: true).Order/OrderLine(orders, customers, stock) becameDraft/PostCountsin a blog domain; the same converters, null rules and checks.docsite/tools/check-readmes.ps1, run bydocs.ymlbefore the link check, enforces the CONTRIBUTING-DOCS rules for the five package READMEs: banner directly under the H1 with its tagline not repeated, every image on a host nuget.org renders (list from learn.microsoft.com), no raw HTML, and one identical "The packages" section. The five READMEs already passed; the rule is now checked.Evidence
ExecuteAsyncsentence. Rejected: "ImmutableArray is .NET 8 and later" (NET8_0_OR_GREATERis defined only on thenet10.0/net11.0builds; there is no net8 build).Owner decisions, applied (PM relayed, per established owner policy)
async-buffers.mdandchannels-and-dataflow.mdnow say the buffer is the recommended way to read rows once; a stream is for stopping early or feeding a pipeline;StreamandStreamBufferedhold the connection and are the last resort.rp-sql-w20,real-providers.csv) and the 11% (runs a and b oflibrary-real.csv) each name their run and data file; no prose reconciling them (Wave 3 re-runs).docsite/api/overview/Open.Database.Extensions.Core.md(no public types in that namespace; nothing referenced it). DocFX 0 warnings and link check 0 broken after.async-reads.md(the repeated default statements),async-buffers.md(figure numbers kept in the alt text and the Sources table only),channels-and-dataflow.md(the repeated connection-release sentences).StreamBuffereddescribed as holding the connection per row, a lost blank line, "keep the rows" for a buffer, rounded numbers that implied 10.3%, "(this run)" wording.Still open (not changed)
performance.mdread mode: settled by the code. Build6a770e8(2026-11-22, the 2026-11-23 runs) readMap<T>()withSequentialAccess(MappedQuery.Behavior: only a selector source used the default mode); the page now says so, and thatMap<T>()now reads with the default mode.mapping.mdstill says "useToArrayAsyncunless you need rows as they arrive" (compatible, not reworded).Tests/.../RowMapConverterTests.csstill usesorder_num(a unit test, not a doc sample).Not covered
docs.ymlruns for the first time with the README check on this PR.🤖 Generated with Claude Code