Skip to content

docs(approvals): mark the Approvals module's relocation to MeshWeaver.Plugins (task #72) — double-ship, tests moved with the module - #1698

Merged
rbuergi merged 1 commit into
mainfrom
docs/72-approvals-relocation
Aug 17, 2026
Merged

rbuergi merged 1 commit into
mainfrom
docs/72-approvals-relocation

Conversation

@rbuergi

@rbuergi rbuergi commented Aug 16, 2026

Copy link
Copy Markdown
Contributor

Task #72 (modularization program): the Approvals module relocated to Systemorph/MeshWeaver.Plugins (PR #499) — the Approvals package becomes a MIXED package (node content + compiled module), with the satellite's CI building the module Release -warnaserror against a pinned platform ref (a0a0288d5 = v3.0.0-rc3), executing the relocated tests, and packing the bundle via the reusable module-pack lane (#1664 Slice B / #1673), bundle closure + manifest asserted in CI. This copies the pattern task #63 / MeshWeaver.SocialMedia#31 established for Social, extended per the maintainer directive: the approval tests move to plugins as well.

This platform PR is deliberately NOT the source delete — it is the double-ship marker that keeps the two copies from diverging:

What's New: skipped — docs + test-relocation marker, no user-visible change (pure relocation; the module keeps shipping identically in the image's app closure), same rationale as #1688.

Verification: satellite sources byte-identical to this repo's copies (cmp over all 5 mirrored .cs); dotnet build src/MeshWeaver.Approvals -c Release -warnaserror and dotnet build test/MeshWeaver.Graph.Test -c Release -warnaserror → 0 warnings, 0 errors; remaining ApprovalAndNotification tests 34/34 green (fresh .trx).

Merge order: after MeshWeaver.Plugins#499 (satellite first — done when both are merged).

🤖 Generated with Claude Code

….Plugins (task #72) — double-ship, platform copy is master until the flip; tests moved with the module

Task #72 of the modularization program (copies the pattern task #63 / MeshWeaver.SocialMedia#31
established, extended by the maintainer directive that the module's tests relocate too):

- src/MeshWeaver.Approvals/README.md — the relocation state: mirror rule (byte-identical .cs
  EXCEPT the platform-only GraphLegacySurface.cs), the exact flip blockers (in-mesh callers by
  construction in the SocialMedia + UWDeepfield partitions; the Memex.Portal.Shared
  ships-the-bits reference; program-plan task #74), and what stays platform-level regardless
  (Approval record + satellite mapping in Mesh.Contract, the ApprovalsEnabled marker in Graph,
  the legacy surface + its compile test).
- test/MeshWeaver.Graph.Test/ApprovalModuleTest.cs — DELETED: relocated to the satellite's
  src/MeshWeaver.Approvals.Test (MeshWeaver.Plugins#499), where the module CI executes it
  against a pinned platform ref. ApprovalAndNotificationTest stays (the Approval record is
  platform-level); ApprovalsLegacySurfaceCompileTest stays (platform compat contract).
- MeshWeaver.Graph.Test.csproj — the now-unused Approvals ProjectReference removed;
  MeshWeaver.Approvals.csproj — the now-dead InternalsVisibleTo MeshWeaver.Graph.Test removed
  (the satellite csproj grants IVT to MeshWeaver.Approvals.Test instead).

NOT the source delete — the double-ship marker that keeps the two copies from diverging.

What's New: skipped — docs + test-relocation marker, no user-visible change (the module keeps
shipping identically in the image's app closure), same rationale as #1688.

Verification: satellite sources byte-identical to this repo's copies (cmp over all 5 .cs);
dotnet build src/MeshWeaver.Approvals and test/MeshWeaver.Graph.Test -c Release -warnaserror →
0 warnings, 0 errors; remaining ApprovalAndNotification tests 34/34 green (fresh .trx).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings August 16, 2026 23:51

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Marks the Approvals module relocation to Systemorph/MeshWeaver.Plugins by documenting the double-ship state in the platform repo and removing the now-relocated module tests and related build wiring from MeshWeaver.Graph.Test.

Changes:

  • Removed the Approvals module test (ApprovalModuleTest) from the platform repo and dropped the Graph.Test → Approvals ProjectReference.
  • Updated src/MeshWeaver.Approvals/README.md to record the relocation state, mirroring rules, and flip blockers.
  • Removed the InternalsVisibleTo MeshWeaver.Graph.Test grant from MeshWeaver.Approvals.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
test/MeshWeaver.Graph.Test/MeshWeaver.Graph.Test.csproj Drops the MeshWeaver.Approvals project reference now that module tests moved to the satellite repo.
test/MeshWeaver.Graph.Test/ApprovalModuleTest.cs Deletes the module-level tests from the platform test suite (intended relocation).
src/MeshWeaver.Approvals/README.md Documents relocation/double-ship rules and flip blockers for a future delete/flip PR.
src/MeshWeaver.Approvals/MeshWeaver.Approvals.csproj Removes IVT to the deleted test assembly to keep the module’s surface clean.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@github-actions

Copy link
Copy Markdown
Contributor

Test Results (shard 5)

1 371 tests   1 370 ✅  4m 59s ⏱️
   11 suites      1 💤
   11 files        0 ❌

Results for commit b22539a.

@github-actions

Copy link
Copy Markdown
Contributor

Test Results (shard 0)

920 tests   919 ✅  10m 59s ⏱️
 10 suites    1 💤
 10 files      0 ❌

Results for commit b22539a.

@github-actions

Copy link
Copy Markdown
Contributor

Test Results (shard 4)

1 607 tests   1 601 ✅  7m 34s ⏱️
   11 suites      6 💤
   11 files        0 ❌

Results for commit b22539a.

@github-actions

Copy link
Copy Markdown
Contributor

Test Results (shard 3)

   11 files     11 suites   7m 8s ⏱️
2 197 tests 2 006 ✅ 191 💤 0 ❌
2 568 runs  2 377 ✅ 191 💤 0 ❌

Results for commit b22539a.

@github-actions

Copy link
Copy Markdown
Contributor

Test Results (shard 1)

2 164 tests   2 061 ✅  7m 30s ⏱️
   11 suites    103 💤
   11 files        0 ❌

Results for commit b22539a.

@github-actions

Copy link
Copy Markdown
Contributor

Test Results (shard 2)

2 450 tests   2 446 ✅  7m 40s ⏱️
   11 suites      4 💤
   11 files        0 ❌

Results for commit b22539a.

@github-actions

Copy link
Copy Markdown
Contributor

Test Results

    65 files      65 suites   45m 53s ⏱️
10 709 tests 10 403 ✅ 306 💤 0 ❌
11 080 runs  10 774 ✅ 306 💤 0 ❌

Results for commit b22539a.

@rbuergi
rbuergi merged commit 7c272ef into main Aug 17, 2026
23 checks passed
@rbuergi
rbuergi deleted the docs/72-approvals-relocation branch August 19, 2026 10:28
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.

2 participants