@cratis/pi 7.182.1 → 7.184.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package/corpus/skills/cratis-screenplay-toolchain/references/agent-exposure.md +1 -0
- package/package/corpus/skills/cratis-screenplay-toolchain/references/diagnostics.md +1 -0
- package/package/corpus/skills/cratis-screenplay-toolchain/references/screenplay-contract.json +25 -0
- package/package/corpus/skills/cratis-screenplay-toolchain/references/screenplay-contract.version +1 -1
- package/package/corpus/skills/exp-mock-usage-analysis/LICENSE +23 -0
- package/package/corpus/skills/exp-mock-usage-analysis/NOTICE +21 -0
- package/package/corpus/skills/exp-mock-usage-analysis/SKILL.md +87 -0
- package/package/corpus/skills/migrate-dotnet10-to-dotnet11/LICENSE +23 -0
- package/package/corpus/skills/migrate-dotnet10-to-dotnet11/NOTICE +30 -0
- package/package/corpus/skills/migrate-dotnet10-to-dotnet11/SKILL.md +97 -0
- package/package/corpus/skills/migrate-dotnet10-to-dotnet11/references/aspnetcore-dotnet10to11.md +24 -0
- package/package/corpus/skills/migrate-dotnet10-to-dotnet11/references/core-libraries-dotnet10to11.md +124 -0
- package/package/corpus/skills/migrate-dotnet10-to-dotnet11/references/cryptography-dotnet10to11.md +38 -0
- package/package/corpus/skills/migrate-dotnet10-to-dotnet11/references/csharp-compiler-dotnet10to11.md +165 -0
- package/package/corpus/skills/migrate-dotnet10-to-dotnet11/references/efcore-dotnet10to11.md +94 -0
- package/package/corpus/skills/migrate-dotnet10-to-dotnet11/references/runtime-jit-dotnet10to11.md +58 -0
- package/package/corpus/skills/migrate-dotnet10-to-dotnet11/references/sdk-msbuild-dotnet10to11.md +26 -0
- package/package/corpus/skills/pvanalyze/LICENSE +21 -0
- package/package/corpus/skills/pvanalyze/NOTICE +32 -0
- package/package/corpus/skills/pvanalyze/SKILL.md +54 -0
- package/package/corpus/skills/pvanalyze/assets/NuGet.Config +7 -0
- package/package/corpus/skills/pvanalyze/assets/dotnet-tools.json +13 -0
- package/package/corpus/skills/pvanalyze/references/commands.md +147 -0
- package/package/corpus/skills/pvanalyze/references/install.md +50 -0
- package/package/corpus/skills/pvanalyze/references/overview.md +41 -0
- package/package/profile-catalog.json +15 -2
- package/package.json +1 -1
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# pvanalyze install
|
|
2
|
+
|
|
3
|
+
## Contents
|
|
4
|
+
|
|
5
|
+
- [Preflight](#preflight)
|
|
6
|
+
- [Restore into an owned directory](#restore-into-an-owned-directory)
|
|
7
|
+
- [Run and verify](#run-and-verify)
|
|
8
|
+
- [Stop conditions](#stop-conditions)
|
|
9
|
+
|
|
10
|
+
The tool version is pinned by [assets/dotnet-tools.json](../assets/dotnet-tools.json), a standard local tool manifest. [assets/NuGet.Config](../assets/NuGet.Config) clears every other package source and allows only nuget.org. Do not install the tool globally, run it through a floating `dnx` call, build it from source, or run a downloaded script. Restore only after the operator approves downloading from nuget.org. The package has no verified ID prefix and a tool manifest cannot pin its hash, so before approving, check on nuget.org that `pvanalyze` 0.0.1 is still published by the owner `adityam`; stop if the owner or version differs.
|
|
11
|
+
|
|
12
|
+
## Preflight
|
|
13
|
+
|
|
14
|
+
The published tool runs on the .NET 10 runtime. A .NET 11 SDK alone is not enough, and major-version roll-forward is not a workaround.
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
dotnet --list-runtimes
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Require a `Microsoft.NETCore.App 10.x` line. If it is missing, stop and report the prerequisite gap; installing a runtime is a separate operator decision.
|
|
21
|
+
|
|
22
|
+
## Restore into an owned directory
|
|
23
|
+
|
|
24
|
+
Use a directory created for this task. Never replace an existing tool manifest or NuGet configuration: if the directory already has `.config/dotnet-tools.json`, choose another directory.
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
mkdir -p <task-dir>/.config
|
|
28
|
+
cp <skill-dir>/assets/dotnet-tools.json <task-dir>/.config/dotnet-tools.json
|
|
29
|
+
cp <skill-dir>/assets/NuGet.Config <task-dir>/.config/NuGet.Config
|
|
30
|
+
cd <task-dir>
|
|
31
|
+
dotnet tool restore --tool-manifest .config/dotnet-tools.json --configfile .config/NuGet.Config
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
## Run and verify
|
|
35
|
+
|
|
36
|
+
Run from the task directory so the local manifest resolves:
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
dotnet tool list --local
|
|
40
|
+
dotnet tool run pvanalyze -- --help
|
|
41
|
+
dotnet tool run pvanalyze -- info --help
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
`dotnet tool list --local` shows the installed version, which must match the manifest. Copy the trace into the task directory (or another owned directory) before running analysis commands, because parsing writes cache files beside it.
|
|
45
|
+
|
|
46
|
+
## Stop conditions
|
|
47
|
+
|
|
48
|
+
- No Microsoft.NETCore.App 10.x runtime: report it and stop.
|
|
49
|
+
- Restore needs a source other than nuget.org, credentials or a different package version: stop and ask.
|
|
50
|
+
- A command in [commands.md](commands.md) is missing from `--help` for the restored version: do not upgrade the pin automatically; drop that command from the plan and report it.
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# pvanalyze overview
|
|
2
|
+
|
|
3
|
+
## Contents
|
|
4
|
+
|
|
5
|
+
- [What the tool is](#what-the-tool-is)
|
|
6
|
+
- [When to choose pvanalyze](#when-to-choose-pvanalyze)
|
|
7
|
+
- [Trace prerequisites](#trace-prerequisites)
|
|
8
|
+
- [Operational notes](#operational-notes)
|
|
9
|
+
|
|
10
|
+
## What the tool is
|
|
11
|
+
|
|
12
|
+
`pvanalyze` is a command-line analyzer for .NET `.nettrace` files. It runs on macOS, Linux and Windows without the PerfView GUI and prints text, JSON or SpeedScope output. It reads traces with `Microsoft.Diagnostics.Tracing.TraceEvent` and caches a converted copy as a sibling `.pvanalyze.etlx` file for repeated reads.
|
|
13
|
+
|
|
14
|
+
Upstream project: <https://github.com/adityamandaleeka/pvanalyze>. `pvanalyze --help` and each command's `--help` list the options of the pinned version; trust them over any prose here.
|
|
15
|
+
|
|
16
|
+
## When to choose pvanalyze
|
|
17
|
+
|
|
18
|
+
Choose `pvanalyze` when:
|
|
19
|
+
|
|
20
|
+
- a `.nettrace` file already exists
|
|
21
|
+
- the answer should be terminal, JSON or SpeedScope output
|
|
22
|
+
- the workflow runs on a platform without the PerfView GUI, in scripts, in CI or by an agent
|
|
23
|
+
|
|
24
|
+
Choose the `profiling` or `dotnet-trace-collect` skills when the task is process discovery, live counters, provider selection or collecting the trace. Use dump skills for crash dumps; `pvanalyze` does not read dumps.
|
|
25
|
+
|
|
26
|
+
## Trace prerequisites
|
|
27
|
+
|
|
28
|
+
A command can only report what the trace contains:
|
|
29
|
+
|
|
30
|
+
- `alloc` needs allocation events in the runtime provider at verbose level.
|
|
31
|
+
- `datas` needs DATAS events, available on .NET 9 or later, with verbose GC runtime events.
|
|
32
|
+
- `cpustacks` and `calltree` need CPU sample events.
|
|
33
|
+
- `exceptions` needs exception events.
|
|
34
|
+
|
|
35
|
+
Use `events --list` to see what was collected before drawing a conclusion. A missing signal makes a result inconclusive; it never shows that the activity did not happen. The tool reading a trace does not guarantee it parses every runtime event of every runtime release; report unexpected or empty output as inconclusive rather than as a finding.
|
|
36
|
+
|
|
37
|
+
## Operational notes
|
|
38
|
+
|
|
39
|
+
- Keep the original `.nettrace`: replay cannot recreate events that were never collected.
|
|
40
|
+
- Work on a copy in an owned directory, because parsing writes `.pvanalyze.etlx` and lock files beside the input.
|
|
41
|
+
- Prefer `--format json` when another tool consumes the output, and `cpustacks --format speedscope --output <file>` for flame graph viewers.
|
|
@@ -1204,7 +1204,8 @@
|
|
|
1204
1204
|
"cratis-commits-and-pull-requests",
|
|
1205
1205
|
"cratis-rtk",
|
|
1206
1206
|
"dotnet-trace-collect",
|
|
1207
|
-
"dump-collect"
|
|
1207
|
+
"dump-collect",
|
|
1208
|
+
"pvanalyze"
|
|
1208
1209
|
],
|
|
1209
1210
|
"languages": [
|
|
1210
1211
|
"csharp"
|
|
@@ -1247,7 +1248,19 @@
|
|
|
1247
1248
|
"platform-detection",
|
|
1248
1249
|
"run-tests",
|
|
1249
1250
|
"filter-syntax",
|
|
1250
|
-
"coverage-analysis"
|
|
1251
|
+
"coverage-analysis",
|
|
1252
|
+
"exp-mock-usage-analysis"
|
|
1253
|
+
],
|
|
1254
|
+
"languages": [
|
|
1255
|
+
"csharp"
|
|
1256
|
+
]
|
|
1257
|
+
},
|
|
1258
|
+
{
|
|
1259
|
+
"id": "cratis/engineering/dotnet/migrate-dotnet11",
|
|
1260
|
+
"availableTargets": [
|
|
1261
|
+
"cratis-commits-and-pull-requests",
|
|
1262
|
+
"cratis-rtk",
|
|
1263
|
+
"migrate-dotnet10-to-dotnet11"
|
|
1251
1264
|
],
|
|
1252
1265
|
"languages": [
|
|
1253
1266
|
"csharp"
|