Repository navigation
V0.13.2/chore - #52
Merged
Merged
Conversation
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.
[Medium impact] The PR appears safe to merge based on this review. SummaryThe PR adds verified local engine caching and deterministic workflows for planning, validating, and publishing runnable documentation examples.
Reviews (9) · Last reviewed commit: "✨ update changelog for v0.13.2 release w..." · Reviewed by Greptile |
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.
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.
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
Deterministic Run-Action Planning and Validation:
Skill Guidance, Catalog, and Changelog:
Eval and Regression Coverage: