From 03054ee30dd5f6e05d921e289418c7d193465c48 Mon Sep 17 00:00:00 2001 From: Chrison Simtian Date: Mon, 16 Nov 2026 12:39:28 +1300 Subject: [PATCH 1/3] Retarget the extension to Fallout 10.5 Move the declared line, the Fallout.Common pins and the fallout global tool to 10.5.0, and update the docs that name the current line. Regenerate the committed build schema with 10.5. --- .config/dotnet-tools.json | 2 +- .fallout/build.schema.json | 5 +++-- AGENTS.md | 6 +++--- README.md | 2 +- build/_build.csproj | 2 +- docs/releasing.md | 2 +- nuget.config | 2 +- plugins/Fallout.Vsce/Fallout.Vsce.csproj | 2 +- src/model.ts | 2 +- version.json | 2 +- 10 files changed, 14 insertions(+), 13 deletions(-) diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json index a8483d3..7a94186 100644 --- a/.config/dotnet-tools.json +++ b/.config/dotnet-tools.json @@ -3,7 +3,7 @@ "isRoot": true, "tools": { "fallout.globaltool": { - "version": "10.4.0", + "version": "10.5.0", "commands": [ "fallout" ] diff --git a/.fallout/build.schema.json b/.fallout/build.schema.json index 05c35ae..87056c5 100644 --- a/.fallout/build.schema.json +++ b/.fallout/build.schema.json @@ -38,7 +38,8 @@ "Verbose", "Normal", "Minimal", - "Quiet" + "Quiet", + "Information" ] }, "FalloutBuild": { @@ -57,7 +58,7 @@ }, "NoLogo": { "type": "boolean", - "description": "Disables displaying the NUKE logo" + "description": "Disables displaying the Fallout logo" }, "Partition": { "type": "string", diff --git a/AGENTS.md b/AGENTS.md index 1de1f57..d50af6d 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -18,14 +18,14 @@ The repo holds three things, and they are easy to confuse: **This repo is dogfooding.** The extension's own build/publish pipeline is a Fallout build, and the toolchain it drives is a Fallout *plugin* rather than anything baked into the framework — Fallout as a general orchestrator, not just a .NET build tool. `Fallout.Vsce` is deliberately **not** in the framework repo: it's the pilot for [ADR-0001](https://github.com/Fallout-build/Fallout/blob/main/docs/adr/0001-cd-primitives-attributes-vs-tasks.md)'s "provider integrations ship as plugins" shape, and it proved out using only public primitives — no escape hatch into framework internals. -**Versioning.** The extension's `major.minor` track the Fallout release line it targets (`10.4.x` against Fallout 10.4); the patch is a git height and moves independently. [Nerdbank.GitVersioning](https://github.com/dotnet/Nerdbank.GitVersioning) computes it from `version.json`, same as the framework. See [docs/releasing.md](docs/releasing.md#versioning). +**Versioning.** The extension's `major.minor` track the Fallout release line it targets (`10.5.x` against Fallout 10.5); the patch is a git height and moves independently. [Nerdbank.GitVersioning](https://github.com/dotnet/Nerdbank.GitVersioning) computes it from `version.json`, same as the framework. See [docs/releasing.md](docs/releasing.md#versioning). **Branching: GitFlow** — `develop` is the trunk and default branch, `main` is production. This differs from the framework repo, which has no `develop` and uses permanent `release/YYYY` production lines. See [docs/branching-and-release.md](docs/branching-and-release.md). ## Stack - **Extension:** TypeScript 5.9 → `tsc` → `out/`. `strict: true`, CommonJS, ES2022. VS Code engine `^1.85.0`. One runtime dependency: `mermaid`. -- **Build:** .NET SDK pinned in `global.json` (`10.0.100`, `rollForward: latestMinor`); Fallout 10.4.0 as the `fallout.globaltool` (`.config/dotnet-tools.json`) and the `Fallout.Common` package reference. +- **Build:** .NET SDK pinned in `global.json` (`10.0.100`, `rollForward: latestMinor`); Fallout 10.5.0 as the `fallout.globaltool` (`.config/dotnet-tools.json`) and the `Fallout.Common` package reference. - `nuget.config` clears sources and pins nuget.org only, so a machine-level feed can't shadow the pinned Fallout packages. - **There is no test suite** — no test runner, no `npm test`, no `.vscode-test` harness. Verification is `tsc` plus running the extension (F5) or sideloading the packed `.vsix`. Don't invent a test command; if you add a framework, that's a deliberate decision to raise. @@ -55,7 +55,7 @@ Compilation is delegated to the project's own npm scripts rather than reimplemen 1. **`.github/workflows/build.yml` is generated — never hand-edit it.** It comes from the `[GitHubActions]` attribute in [`build/Build.CI.GitHubActions.cs`](build/Build.CI.GitHubActions.cs); edit the attribute and run `./build.sh` to regenerate. The file carries an `` header saying so. `publish.yml` and `nightly.yml` are hand-written on purpose ([docs/ci.md](docs/ci.md#publishyml)). 2. **`build.yml` and `build-skip.yml` must stay exact complements.** `build.yml` excludes `**/*.md`; `build-skip.yml` fires on exactly that path set, does nothing, and reports success under the same **job** name `ubuntu-latest` — which *is* the required status-check context. A gap between the two path sets leaves a PR blocked forever on a check that never arrives. This is why the exclude is one flat pattern with no negations or carve-outs. Keep the job name, path sets, and branch lists in lockstep across both files. -3. **`version.json` and the pinned `Fallout.Common` move together.** `Build.AssertFrameworkLineMatches` fails the build if the declared line (`10.4`) drifts from the referenced framework version in `build/_build.csproj` *and* `plugins/Fallout.Vsce/Fallout.Vsce.csproj`. Bumping one and forgetting the other would ship a version that lies about what it targets. Never lower `versionHeightOffset` — it keeps marketplace versions monotonic across `version.json` changes. +3. **`version.json` and the pinned `Fallout.Common` move together.** `Build.AssertFrameworkLineMatches` fails the build if the declared line (`10.5`) drifts from the referenced framework version in `build/_build.csproj` *and* `plugins/Fallout.Vsce/Fallout.Vsce.csproj`. Bumping one and forgetting the other would ship a version that lies about what it targets. Never lower `versionHeightOffset` — it keeps marketplace versions monotonic across `version.json` changes. 4. **Marketplace versions are three integers, no prerelease.** `vsce` rejects `10.4.30-rc.1` outright ("The VS Marketplace doesn't support prerelease versions"). A release candidate is a plain triple carrying a pre-release *bit* in the VSIX manifest (`Microsoft.VisualStudio.Code.PreRelease`), set at **package** time; `-rc.N` lives only on the git tag and GitHub release. **A version is pre-release or stable, never both** — publishing `10.4.30` as a pre-release burns that number, so RCs stop at GitHub. `MarketplaceVersion` normalises all of this. 5. **`package.json`'s `"version": "0.0.0"` is intentional.** The build stamps the real version via `vsce package --no-update-package-json`, so CI never dirties the tree. `package.json` stays the source of truth for everything *except* the version. 6. **`.vscodeignore` ships exactly one file out of `node_modules`** — `mermaid/dist/mermaid.min.js`, loaded by the graph webview as a classic `