Skip to content

amend nuget package info#29

Merged
rbuergi merged 1 commit into
mainfrom
release
Oct 8, 2024
Merged

amend nuget package info#29
rbuergi merged 1 commit into
mainfrom
release

Conversation

@rbuergi
Copy link
Copy Markdown
Contributor

@rbuergi rbuergi commented Oct 8, 2024

No description provided.

@rbuergi rbuergi merged commit 3022fee into main Oct 8, 2024
@rbuergi rbuergi deleted the release branch October 8, 2024 09:05
rbuergi added a commit that referenced this pull request May 5, 2026
…istent

Tasks #3, #4, #29 from the failing-tests list.

1. MeshDataSource.StartCompile no longer calls
   nodeTypeService.InvalidateCache(hubPath) after a successful compile.
   Each compile produces a fresh timestamp-keyed AssemblyLoadContext
   under {cacheDir}/{nodeName}_{ticks_hex}/ — V1 and V2 ALCs coexist
   happily. The InvalidateCache path called cacheService.InvalidateCache,
   which unloads every ALC matching the NodeName — including the V2 ALC
   we'd just created. Next consumer (instance2's per-node hub asking the
   NodeType hub for HubConfiguration via GetCompilationPathRequest) raced
   the AssemblyLoadContext.Unload window and fell back to the previous
   release's lambda, so instance2 served V1 markup after a V2 recompile.
   NodeTypeContractHandler resolves AssemblyLocation directly off the
   post-compile MeshNode anyway — there's no NodeTypeService cache that
   needs flushing.

2. ApiTokenService.DeleteToken returns false early when the index lookup
   doesn't find the token node. Previously it fell through to
   nodeFactory.DeleteNode(path), which throws InvalidOperationException
   ("Node not found: …") in MeshService.DeleteNode for missing paths.
   Same shape as RevokeToken (which already returned false for absent).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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