镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

docs(metrics,logging,xunitv3): address #161 preview.128 dogfood follow-up (PLAN-0076) - #183

Merged
ncipollina merged 1 commit into
mainfrom
docs/161-preview-128-dogfood-follow-up
Nov 12, 2026
Merged

ncipollina merged 1 commit into
mainfrom
docs/161-preview-128-dogfood-follow-up

Conversation

@ncipollina

Copy link
Copy Markdown
Contributor

Summary

Implements PLAN-0076 from RESEARCH-0041, the documentation-only follow-up to the preview.128 dogfood findings on #161.

Related to #161. This PR does not close the issue; remaining issue scope is tracked separately.

Changes (D1-D5)

  • D1 — Missing provider troubleshooting: corrected the stale CompositionException sample to include "configuration rule"; added IMeterFactory → UseMetrics() and ILogger/ILogger<T> → UseLogging() guidance in troubleshooting, package guides, and skill references; cross-linked the existing Metrics misuse entry.
  • D2 — Reading a row's TConfig: kept builder.Register(() => config) plus a composed TConfig parameter as the primary recipe; added an optional consumer-side ConfigProfile<TConfig> base-profile note (not a Compono type/API) in the cookbook, xUnit v3 guide, and skill reference.
  • D3 — [Shared] vs Share<IMeterFactory>(): removed the redundant Share<IMeterFactory>() from the lead [Shared] example and documented them as alternatives (per-test vs profile-wide/undecorated/Composer.Create), including why sharing matters.
  • D4 — ComposeData failure counts: documented the whole-theory failure contract in the xUnit v3 guide, AOT guide, troubleshooting, and skill reference: all rows compose before any run, one failure stops the rest, and the theory reports a single failed result.
  • D5 — Skill evals: added evals 75-77 for the missing-provider, sharing-mechanism, and theory-count questions; corrected related MSBuild/ownership wording in evals 67 and 75.

New tests

  • OptionalBaseProfile_RegistersRowConfig_ForAComposedParameter — backs the optional base-profile recipe with distinct per-row configs and a SUT that consumes the composed config.
  • SharedParameter_DeclaredAfterDependent_IsSharedAcrossTwoNestedConsumers — proves [Shared] works when declared after the dependent and is shared across two nested consumers without Share<T>().
  • NestedConsumers_GetIndependentFactories_WithinOneRoot_AbsentShared — backs the no-sharing claim for nested consumers in one Composer.Create graph.

Validation

  • Build: 0 warnings, 0 errors.
  • Tests: 7,642 total, 0 failed, 501 skipped.
  • Compono.XunitV3.Tests: 339 passed per TFM; Compono.Metrics.Tests: 105-106 passed per TFM on net8.0-net11.0.
  • MkDocs strict build passed.
  • 77 skill evals, valid JSON, unique IDs.
  • git diff -- src/ is empty.

Scope

No production source or public API changes. Packaging, ApiCompat, and Native AOT publishing checks were not run because no shipped assembly, package contents, or public surface changed; this PR is documentation, skill/evals, and example-backing tests only. No AOT test was added because the optional base-profile snippet is not in AOT docs.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-12T19:51:19.180916Z ed68c3d PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions github-actions Bot added the type: docs Documentation change label Nov 12, 2026
@ncipollina
ncipollina merged commit a1c4a14 into main Nov 12, 2026
12 checks passed
@ncipollina
ncipollina deleted the docs/161-preview-128-dogfood-follow-up branch November 12, 2026 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: docs Documentation change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant