Skip to content

fix(build): chain memex/Directory.Build.props to root (CI versioning + warnings gate) - #117

Merged
rbuergi merged 1 commit into
mainfrom
fix/memex-build-props-chain
Jun 29, 2026
Merged

rbuergi merged 1 commit into
mainfrom
fix/memex-build-props-chain

Conversation

@rbuergi

@rbuergi rbuergi commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Why self-update's continuous channel never rolled. memex/Directory.Build.props was a bare <Project> that didn't import the root, and MSBuild auto-imports only the nearest Directory.Build.props. So everything under memex/ — the portal + migration images, i.e. exactly what the self-updater rolls — never got the root's CI versioning, security package overrides, or TreatWarningsAsErrors. The images were tagged the SDK default 1.0.0 instead of $(PlatformVersion)-ci.$(GITHUB_RUN_NUMBER), so the self-updater saw nothing "newer" (every tag was 1.0.0).

  • Chain to root (GetPathOfFileAbove). Verified: CI build now computes 3.0.0-ci.<run>, release 3.0.0.
  • Chaining also turns on TreatWarningsAsErrors for memex/ (it had silently escaped the repo's warnings-as-errors gate — "that's why we have it" 🙂), surfacing 12 latent doc-comment issues, all fixed: 8 unresolvable/ambiguous crefs in Memex.Portal.Shared; 1 malformed-XML <summary> + 3 cross-assembly crefs in Database.Migration. memex/ builds clean under the gate now.

Completes the self-update chain (with #116): the continuous channel will now publish monotonically-increasing -ci.N images for installs to roll to.

🤖 Generated with Claude Code

…rsioning + warnings gate)

memex/Directory.Build.props was a bare <Project> that didn't import the root, and MSBuild
auto-imports only the NEAREST Directory.Build.props. So nothing under memex/ — the portal +
migration images especially — got the root's CI versioning, security package overrides, or
TreatWarningsAsErrors. The images were tagged the SDK-default 1.0.0 instead of
$(PlatformVersion)-ci.$(GITHUB_RUN_NUMBER), so the self-updater's continuous channel never saw
a newer build (everything was "1.0.0").

- Import the root (GetPathOfFileAbove). Verified: CI version now computes 3.0.0-ci.<run>,
  release 3.0.0.
- Chaining also turns on TreatWarningsAsErrors for memex/ (it had silently escaped the repo's
  warnings-as-errors gate), surfacing 12 latent doc-comment issues — fixed: 8 unresolvable/
  ambiguous crefs in Memex.Portal.Shared, 1 malformed-XML summary + 3 cross-assembly crefs in
  Database.Migration. memex/ now builds clean under the gate.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

Test Results (shard 2)

 12 files  ±0   12 suites  ±0   7m 3s ⏱️ + 2m 37s
849 tests ±0  846 ✅  - 2  1 💤 ±0  2 ❌ +2 
876 runs  ±0  873 ✅  - 2  1 💤 ±0  2 ❌ +2 

For more details on these failures, see this check.

Results for commit 4cd3f97. ± Comparison against base commit acac76c.

@github-actions

Copy link
Copy Markdown
Contributor

Test Results (shard 1)

1 066 tests  +227   1 064 ✅ +228   5m 8s ⏱️ + 1m 8s
   12 suites ±  0       2 💤 ±  0 
   12 files   ±  0       0 ❌  -   1 

Results for commit 4cd3f97. ± Comparison against base commit acac76c.

@github-actions

Copy link
Copy Markdown
Contributor

Test Results (shard 3)

1 173 tests  ±0   1 173 ✅ +1   5m 1s ⏱️ -34s
   11 suites ±0       0 💤 ±0 
   11 files   ±0       0 ❌  - 1 

Results for commit 4cd3f97. ± Comparison against base commit acac76c.

@github-actions

Copy link
Copy Markdown
Contributor

Test Results (shard 0)

2 230 tests  ±0   2 224 ✅  - 1   8m 18s ⏱️ -3s
   12 suites ±0       5 💤 ±0 
   12 files   ±0       1 ❌ +1 

For more details on these failures, see this check.

Results for commit 4cd3f97. ± Comparison against base commit acac76c.

@github-actions

Copy link
Copy Markdown
Contributor

Test Results

   47 files  ±  0     47 suites  ±0   25m 31s ⏱️ + 3m 8s
5 318 tests +227  5 307 ✅ +226  8 💤 ±0  3 ❌ +1 
5 345 runs  +227  5 334 ✅ +226  8 💤 ±0  3 ❌ +1 

For more details on these failures, see this check.

Results for commit 4cd3f97. ± Comparison against base commit acac76c.

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