Skip to content

V0.13.2/chore - #52

Merged
gimlichael merged 28 commits into
mainfrom
v0.13.2/chore
Nov 22, 2026
Merged

gimlichael merged 28 commits into
mainfrom
v0.13.2/chore

Conversation

@gimlichael

Copy link
Copy Markdown
Member

This pull request introduces local SHA-256-verified engine caching for verification sweeps and deterministic Roslyn-backed run-action planning, dependency resolution, and candidate validation for documentation examples. It prevents multi-example verification runs from exhausting GitHub unauthenticated REST rate limits while keeping published execution scripts self-contained, and replaces heuristic example classification with validation-gated workflows, first-class host harnesses, and atomic manifest updates. Accompanying documentation, catalog summaries, changelog entries, eval cases, and offline regression suites align with the updated execution and verification contracts.

Cached Engine Resolution:

  • Resolves and caches the latest stable csrun engine script once in a private user-owned directory with SHA-256 verification, ownership and link checks, ETag revalidation, and rate-limit fallback for verification sweeps.
  • Routes standalone verification and explicit engine-path runs through the locally verified engine while keeping delivered artifacts fetching and verifying directly from GitHub.

Deterministic Run-Action Planning and Validation:

  • Classifies every C# documentation fence through Roslyn AST inspection with stable per-UID fence ordinals, resolves package and framework dependencies from actual project and BCL type ownership with preflight diagnostics, and checks recipe health for moved, duplicate, or orphaned entries.
  • Gates recipe and fence updates behind isolated temporary-workspace execution, adds first-class host harness execution with bounded HTTP probes and cleanup across Native and Docker transports, and preserves existing manifests atomically when verification fails.

Skill Guidance, Catalog, and Changelog:

  • Updates skill instructions, reference guides, repository catalog summaries, and the v0.13.2 changelog entry to document cached engine usage, deterministic run-action workflows, scoped verification flags, and exit codes.

Eval and Regression Coverage:

  • Adds offline regression tests covering cached engine resolution, ETag revalidation, rate-limit fallback, tamper rejection, Roslyn classification, dependency preflight, multi-fence safety, host execution, and atomic manifest preservation, alongside a multi-package run-action eval case.

gimlichael and others added 9 commits November 21, 2026 15:56
Add Resolve-CsrunEngine to cache and SHA-256-verify csrun.ps1 in a private user-owned directory with ETag revalidation and rate-limit fallback so multi-example verification sweeps avoid exhausting GitHub unauthenticated REST quota while published blocks continue fetching from GitHub.
Resolve and cache csrun.ps1 once per verification sweep via Resolve-CsrunEngine or an explicit -EnginePath in generate-run-actions.ps1 while keeping published run-action scripts, manifests, and cache hashes bound to the GitHub-referencing artifacts.
Update the dotnet-csrun summary row in README.md to describe the local cached engine resolution used during skill verification sweeps.
Add Roslyn-backed run-action classification, dependency resolution, recipe health checks, temp-workspace candidate validation, host-mode support, and atomic manifest writes.
Cover all eight deterministic run-action workflow cases, recipe health classification, dependency resolution, host mode, and offline verification.
Document the deterministic csrun planning, validation, and offline verification workflow and add eval coverage for large multi-package repositories.
Sync the repository README summary with the deterministic csrun workflow in dotnet-docfx-digest.
@gimlichael gimlichael self-assigned this Nov 21, 2026
@greptile-apps

greptile-apps Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge based on this review.

Summary

The PR adds verified local engine caching and deterministic workflows for planning, validating, and publishing runnable documentation examples.

  • Verification runs reuse a locally verified csrun engine.
  • Run-action planning and verification follow a repeatable, validation-gated workflow.
  • Host examples run through a dedicated harness, with Native-only support for legacy frameworks.

Reviews (9) · Last reviewed commit: "✨ update changelog for v0.13.2 release w..." · Reviewed by Greptile

gimlichael and others added 7 commits November 21, 2026 18:21
Protect the Windows csrun engine cache directory and cached files with explicit owner, LocalSystem, and Administrators ACLs so untrusted accounts cannot tamper with cached scripts.
Add Windows regression tests verifying that Resolve-CsrunEngine disables ACL inheritance on new cache directories, rejects inherited write access, and invalidates cache hits if untrusted write permissions are added.
Share a single timeout deadline across host sample build, probe, and startup phases and kill stalled dotnet build process trees on expiration.
Resolve Directory.Build.props and Directory.Packages.props strictly along each project ancestor chain, prioritize required project package versions, and avoid emitting double await in async expression-bodied wrappers.
Preserve sdk and frameworkReferences in standalone manifests, treat string-literal whitespace edits as semantic changes, invalidate cached verification when the engine hash changes, and preserve the previous manifest on hard verification failures.
Add regression tests for subtree props isolation, async expression-bodied wrappers, Web SDK standalone console manifests, string-literal semantic diffs, engine-hash verify invalidation, manifest preservation, and host build timeout cleanup.
Add the hero image asset for the dotnet-csrun skill.
Throw a timeout error when an empty-probe host runner hits its deadline before the full startupDelayMs observation window completes, and wait on the host process directly instead of sleeping.
Cover truncated startupDelayMs timeout failures, clean full-delay runs, and BuildRunActions.ps1 parity for empty-probePath host examples.
Document repository-wide expectations for append-only stderr progress, bounded concurrency, atomic manifest writes, and deterministic test coverage.
Speed up DocFX run-action verification with bounded worker parallelism, append-only stderr progress and heartbeat output, and atomic manifest preservation on failure.
Update skill instructions and run-actions reference to cover --max-parallel, --max-docker-parallel, --quiet, --no-heartbeat, and --heartbeat-seconds.
gimlichael and others added 3 commits November 22, 2026 01:44
Clarify in the dotnet-docfx-digest skill docs and the AGENTS.md managed block emitted by agents.cs that limiting Markdown edits to .docfx/api/ applies only during DocFX API documentation maintenance and csrun run-action updates, so normal repository updates to README.md or CHANGELOG.md are not flagged as out of scope.
Support legacy .NET Framework (net48) run-action recipes as Native-only assets with automatic docker: Unsupported handling and Windows host validation guards.
aicia-bot and others added 3 commits November 22, 2026 15:10
Add end-to-end test coverage for net48 Native-only run actions, BuildRunActions.ps1 materialization, explicit docker reason preservation, and non-Windows host guards.
Note Native-only .NET Framework (net48) run-action support and automatic docker: Unsupported handling in the dotnet-docfx-digest overview.
@gimlichael
gimlichael merged commit 6cfd3df into main Nov 22, 2026
14 checks passed
@gimlichael
gimlichael deleted the v0.13.2/chore branch November 22, 2026 20:20
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.

2 participants