Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

chore: bump tooling packages to 1.1.1.19573 - #1562

Merged
BenjaminMichaelis merged 1 commit into
mainfrom
chore/bump-tooling-packages-19573
Oct 24, 2026
Merged

BenjaminMichaelis merged 1 commit into
mainfrom
chore/bump-tooling-packages-19573

Conversation

@BenjaminMichaelis

Copy link
Copy Markdown
Member

Summary

  • Bumps ToolingPackagesVersion 1.1.1.19570 -> 1.1.1.19573.
  • 19570's content package shipped sitemap.descriptions.json with the old single-string "Key" format, which SiteMappingDescription (used by ChapterDescriptionService since feat: use SiteMappingDescription from EssentialCSharp.Shared.Models #1560) cannot deserialize, so dev returned 500. 19573 is built from IntelliTect-dev/EssentialCSharp.Tooling#2606, which converts the file to the Keys array format and adds a tooling test that reads the real file.

Test plan

  • dotnet build EssentialCSharp.Web.slnx
  • EssentialCSharp.Web.Tests: 190 passed
  • At the tooling commit 19573 was built from (1f77290e), sitemap.descriptions.json has 589 "Keys" entries and no "Key" entries
  • Not checked locally: the restored ContentFeedNuget package contents. Please confirm dev serves pages after deploy.

Related: #1561 (Key/Keys compatibility and CI check against the real package content) is still open and no longer needed to fix dev once this is deployed.

Picks up sitemap.descriptions.json in the Keys array format that
SiteMappingDescription deserializes (IntelliTect-dev/EssentialCSharp.Tooling#2606).
@BenjaminMichaelis
BenjaminMichaelis merged commit b1392b1 into main Oct 24, 2026
13 checks passed
@BenjaminMichaelis
BenjaminMichaelis deleted the chore/bump-tooling-packages-19573 branch October 24, 2026 02:53
BenjaminMichaelis added a commit that referenced this pull request Dec 2, 2026
## Why
On dev, a bad `sitemap.descriptions.json` made every page return 500
while `/health` stayed green, because `ChapterDescriptionService` (and
`IGuidelinesService`) are singletons built lazily on the first page
request. The failure only appeared after the revision was already
serving traffic.

## What changed
- `Program.cs` resolves `ChapterDescriptionService` and
`IGuidelinesService` at startup, right after the routes are mapped. An
unreadable content file now fails startup, so the new container revision
never takes traffic.

## Relation to #1561
This is the startup-check part of #1561, rebased onto current `main`.
The rest of #1561 is intentionally not included:
- The `Key`/`Keys` compatibility code is no longer needed (tooling now
ships `Keys`, #1562).
- The smoke-test script is redundant: `main` now runs the Playwright
`Deployed` smoke tests (including the reading journey) after the dev
deploy, and prod promotion needs them.
- The NuGet-credential / `AccessToNugetFeed=true` CI changes carry more
risk and should be reviewed on their own.

## Test plan
- [x] `EssentialCSharp.Web.Tests`: 350 passed
- [ ] Not tested end to end: startup failing on a deliberately bad
content file. The first dev deploy after merge will exercise the normal
path.
- Note: the solution build fails locally on
`EssentialCSharp.Web.AppHost` (NETSDK1228, Aspire workload deprecated in
this SDK); unrelated to this change. I built and tested the web and test
projects directly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant