Skip to content

docs: walkthrough and docs-site entry points (10.x ports of #421 and #425) - #428

Merged
CaffeinatedCoder merged 2 commits into
release/10.xfrom
docs/423-walkthrough-10x
Oct 25, 2026
Merged

CaffeinatedCoder merged 2 commits into
release/10.xfrom
docs/423-walkthrough-10x

Conversation

@CaffeinatedCoder

@CaffeinatedCoder CaffeinatedCoder commented Oct 25, 2026 •

Copy link
Copy Markdown
Owner

Closes #423
Closes #424

Ports of #421 (main, 7e89fa2) and #425 (main, 150d9ef) to release/10.x, each cherry-picked with -x. It builds on #427, which opened 10.3.0 and is merged.

Problem

The walkthrough and its sample exist only on main. The 10.x docs therefore leave the page out of their menu (#422), and the 10.3.0 release wouldn't run the sample before publishing.

Change

Everything from #421: samples/Bookings, docs/walkthrough.md, the smoke consumer, WalkthroughSampleConventionTests, WalkthroughSampleTests (claims T01–T19), and the README, AGENTS and CONTRIBUTING entries. What differs on 10.x:

  • The sample: unchanged. It pins the newest release (10.2.0 on net10.0) on both lines, with a migration from the EF Core 10 tools.
  • Integration tests: Microsoft.AspNetCore.TestHost 10.0.12, the version the ASP.NET Core tests use on this line.
  • docs/walkthrough.md: links tree/release/10.x/samples/Bookings, so the 10.x site shows the 10.x code.
  • test/consumer-smoke-test.sh: I resolved it by hand rather than hunk by hunk, because the lines had drifted. It keeps this line's release-notes checks and SMOKE_AOT_SDK, and adds what the walkthrough consumer needs: a tfm variable (net10.0, which scaffold_consumer now defaults to), write_nuget_config (moved out of scaffold_consumer), assert_line and the cleanup trap.
    • One check is left out on purpose: the migration's EXCLUDE in the app's log. EF Core 10 doesn't log a migration's commands at Information. Run against EF Core 10, the sample's log shows "Applying migration" and no CREATE TABLE at all. EF Core 11 does log them, so main keeps that check. The constraint is still asserted from pg_constraint.
  • site/toc.yml: not ported, because it lives on main. The 10.x menu lists the page as soon as this merges.
  • CHANGELOG: 10.3.0 ### Added takes the two Docs: lines, for the site and the walkthrough.
  • CONTRIBUTING: the sample bullet leaves out the 11.0.0 migration step, which doesn't apply on this line.

Tests

All run locally on the .NET 10 SDK:

  • Conventions: 416 passed, the 412 from chore: open 10.3.0 on release/10.x #427 plus the walkthrough's four.
  • WalkthroughSampleTests (integration, live PostgreSQL 16, EF Core 10): 5/5.
  • test/consumer-smoke-test.sh under CI=true: passed (10.3.0), all five consumers including the walkthrough and ComplexIndexes, 123 checks.
    • The first run failed on exactly the migration-log check above.
    • I then ran the sample against EF Core 10 and its log showed no migration commands at all. That's how I confirmed the cause before dropping the check.
  • The 10.x site, built with main's site/build.sh against this branch: 0 warnings, and the page is in the 10.x menu. The Docs workflow doesn't run on PRs into release/10.x, so CI doesn't cover this.

Second commit: #424's entry points (from #425)

  • README: a Docs badge, the walkthrough pointer beside Getting started, and the June 2026 article badges moved to a dated line. The README also takes the documentation-site sentence that line follows. main has had that sentence since docs: publish the docs on GitHub Pages, one build per line #419, and 10.x's README lacked it. The Discussions line beside it on main (Enable GitHub Discussions for questions and ideas #414) isn't part of this port.
  • Package READMEs: each links the site and the walkthrough. PackageProjectUrl is the docs site.
  • Changelogs: the Docs: line goes under 10.3.0 ### Changed. In each package changelog it replaces "No change in this package."
  • Checked locally: conventions 416 passed. dotnet pack gives four 10.3.0 .nuspec files with <projectUrl>https://caffeinatedcoder.github.io/CodoMetis.ValueRanges/</projectUrl>, and READMEs with both links.

Close #423 and #424 by hand after merging: Closes acts only on main. After the merge, the Docs run that release/10.x's .NET run triggers should publish the page at /10.x/docs/walkthrough.html. That's also the first real test of that trigger.

🤖 Generated with Claude Code

The walkthrough, its sample and their checks, from main's #421: the
minimal-API booking service in samples/Bookings, docs/walkthrough.md
quoting it, the smoke consumer that runs it against the packed packages
and a PostgreSQL container, WalkthroughSampleConventionTests, and
WalkthroughSampleTests holding claims T01-T19.

What differs on 10.x:
- The sample is unchanged: it pins the newest release (10.2.0 on
  net10.0) on both lines.
- Microsoft.AspNetCore.TestHost 10.0.12 in the integration tests.
- The page links tree/release/10.x/samples/Bookings.
- The smoke script keeps this line's release-notes checks and
  SMOKE_AOT_SDK, and gains a tfm variable, write_nuget_config and
  assert_line for the walkthrough consumer. It doesn't assert the
  migration's EXCLUDE in the app's log, because EF Core 10 doesn't log a
  migration's commands at Information. The constraint is still asserted
  from pg_constraint.
- site/toc.yml stays on main. The 10.x menu lists the page once this
  is merged (#422).
- CHANGELOG: 10.3.0 takes the two Docs lines (the site and the
  walkthrough). The CONTRIBUTING bullet leaves out the 11.0.0
  migration step, which doesn't apply on this line.

(cherry picked from commit 7e89fa2)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@CaffeinatedCoder CaffeinatedCoder added this to the 10.3.0 milestone Oct 25, 2026
@CaffeinatedCoder CaffeinatedCoder added documentation Improvements or additions to documentation area/ranges Range unions, variants and the shape engines area/range-set RangeSet and multirange algebra area/value-sets Value set families and wrapper arities package/efcore Affects CodoMetis.ValueRanges.EFCore.PostgreSQL area/json System.Text.Json and TypeConverter wire forms package/core Affects CodoMetis.ValueRanges stacked Base is another open PR; merge in order, CI does not run until it targets main labels Oct 25, 2026
Base automatically changed from chore/426-open-10.3.0 to release/10.x October 25, 2026 12:01
@CaffeinatedCoder CaffeinatedCoder removed the stacked Base is another open PR; merge in order, CI does not run until it targets main label Oct 25, 2026
…hrough (#424, port)

From main's #425: a Docs badge, the walkthrough pointer beside Getting
started, the June 2026 article badges moved to a dated line, every
package README linking the site and the walkthrough, and
PackageProjectUrl opening the site.

On 10.x, the changelog line goes under 10.3.0 ### Changed. In the
package changelogs it replaces "No change in this package." The README
also takes the documentation-site sentence the articles line follows,
which main has had since #419. The Discussions line beside it on main
(#414) isn't part of this port.

(cherry picked from commit 150d9ef)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@CaffeinatedCoder CaffeinatedCoder changed the title docs: walk one booking through a sample that CI runs (10.x port of #421) docs: walkthrough and docs-site entry points (10.x ports of #421 and #425) Oct 25, 2026
@CaffeinatedCoder CaffeinatedCoder added package/nodatime Affects CodoMetis.ValueRanges.NodaTime package/efcore-nodatime Affects CodoMetis.ValueRanges.EFCore.PostgreSQL.NodaTime area/release Versioning, changelogs, release wiring labels Oct 25, 2026
@CaffeinatedCoder
CaffeinatedCoder merged commit cdde5d2 into release/10.x Oct 25, 2026
10 of 11 checks passed
@CaffeinatedCoder
CaffeinatedCoder deleted the docs/423-walkthrough-10x branch October 25, 2026 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/json System.Text.Json and TypeConverter wire forms area/range-set RangeSet and multirange algebra area/ranges Range unions, variants and the shape engines area/release Versioning, changelogs, release wiring area/value-sets Value set families and wrapper arities documentation Improvements or additions to documentation package/core Affects CodoMetis.ValueRanges package/efcore Affects CodoMetis.ValueRanges.EFCore.PostgreSQL package/efcore-nodatime Affects CodoMetis.ValueRanges.EFCore.PostgreSQL.NodaTime package/nodatime Affects CodoMetis.ValueRanges.NodaTime

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant