Skip to content

chore(deps)!: consume Tharga.Mcp 2.0.0 and Runtime 1.0.2 - ships as 1.1.0 - #20

Merged
poxet merged 1 commit into
masterfrom
chore/nuget-sweep-tier1
Aug 17, 2026
Merged

poxet merged 1 commit into
masterfrom
chore/nuget-sweep-tier1

Conversation

@poxet

@poxet poxet commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

Tier 1 of the cascade sweep, consuming the tier 0 releases. Ships as 1.1.0, not a patch — see below.

Internal

  • Tharga.Runtime 1.0.1 → 1.0.2
  • Tharga.Mcp 1.1.0 → 2.0.0 (in Tharga.Communication.Mcp) — a major
  • Tharga.Test.Toolkit 1.14.13 → 1.14.15 (test project)

All verified by an actual dotnet restore.

Why this is 1.1.0

MAJOR_MINOR goes 1.0 → 1.1.

Tharga.Mcp 2.0.0 reduces IMcpContext to Scope and removes UserId, TeamId and IsDeveloper. That type is not an internal detail here — it appears in the public signatures of CommunicationResourceProvider:

public Task<IReadOnlyList<McpResourceDescriptor>> ListResourcesAsync(IMcpContext context, CancellationToken ct)
public async Task<McpResourceContent> ReadResourceAsync(string uri, IMcpContext context, CancellationToken ct)

So anyone consuming Tharga.Communication.Mcp and reading identity off that context is broken by this upgrade, transitively. A patch number would hand them that on a routine dotnet outdated -u — exactly the complaint that made Tharga.Mcp itself ship as a minor rather than 1.0.2.

This repo's own code needed no change — it passes the context through and never read the removed members. Build is clean and all 120 tests pass, which is what confirms the break is transitive only.

The tag-lookup guard earned its keep here. Starting the 1.1 series means git tag -l "1.1.*" matches nothing, so the grep in the version computation exits 1 — and this workflow does declare shell: bash, so it runs under -eo pipefail where that failure propagates. It is guarded with | { grep -E ... || true; } at all three sites, so the new series is safe. This is the same trap that killed Reporter's build when it moved to 2.4.

Verification

dotnet build -c Release --no-incremental — 0 warnings, 0 errors. dotnet test -c Release — 120/120 passing.

Workflow re-validated with the duplicate-key-rejecting YAML loader after the MAJOR_MINOR edit.

Also in this release

The .claude/mission.md cleanup merged before this branch was cut — $DOC_ROOT for the requests path, and the consumer-project reference removed.

xunit remains at 3.x here by decision; the 3 → 4 migration is deferred (see the parked PRs on Fortnox and Runtime).

@codecov

codecov Bot commented Aug 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@poxet
poxet merged commit 3b8b50d into master Aug 17, 2026
7 of 8 checks passed
@github-actions

Copy link
Copy Markdown

Released as v1.1.0 — https://github.com/Tharga/Communication/releases/tag/1.1.0

This branch had an error being deployed

1 failed deployment
prerelease — 723dd32a Deployed Aug 17, 2026 by poxet via prerelease #30
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.

1 participant