physshell/Owen lifetime/resource check

Scan C# for lifetime/resource leaks the compiler cannot express — event/timer subscription leaks, undisposed IDisposable fields/locals, ignored Subscribe() tokens, ArrayPool buffers rented-but-never-returned — and annotate the PR.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jul 11, 2026
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: physshell/own.net@b1ee9619a6ebda69821faed6e4dcc5631eaef9aa # no releases — HEAD as of 2026-07-11

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
pathFile(s) or directory to scan (directories are walked for *.cs).no.
configExplicit Owen configuration file (own.toml). Today it carries the P-035 [weak-subscription].subscribe allowlist of your project's own weak-subscribe wrapper API ("SimpleType.Method"); a matching call is treated as an already- released subscription. Left empty, no config is read.no""
formatFinding surface: github (PR annotations), msbuild, human, or sarif — a SARIF 2.1.0 log for GitHub code scanning, written to a file and exposed as the sarif-file output (feed it to github/codeql-action/upload-sarif).nogithub
severityHow findings are shown: error (default) or warning (advisory).noerror
fail-on-findingFail the step when any leak is found.notrue
python-versionPython version for the Owen core.no3.13
dotnet-versionThe .NET SDK version for the Roslyn extractor.no8.0.x
sarif-fileWhere to write the SARIF log when format: sarif (default: $RUNNER_TEMP/owen.sarif). The chosen path is echoed back as the sarif-file output regardless.no""
namedescription
sarif-filePath to the SARIF 2.1.0 log — set only when format: sarif. Hand it to github/codeql-action/upload-sarif to publish to code scanning.