Skip to content

[Snyk] Upgrade @microsoft/signalr from 3.1.9 to 3.1.31#10

Closed
ekaterinamishina wants to merge 1 commit into
mainfrom
snyk-upgrade-26bdb6c858c8d86f15cbfbba4b4ebd8d
Closed

[Snyk] Upgrade @microsoft/signalr from 3.1.9 to 3.1.31#10
ekaterinamishina wants to merge 1 commit into
mainfrom
snyk-upgrade-26bdb6c858c8d86f15cbfbba4b4ebd8d

Conversation

@ekaterinamishina
Copy link
Copy Markdown
Contributor

Snyk has created this PR to upgrade @microsoft/signalr from 3.1.9 to 3.1.31.

As this is a private repository, Snyk-bot does not have access. Therefore, this PR has been created automatically, but appears to have been created by a real user.

✨ Snyk has automatically assigned this pull request, set who gets assigned.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 22 versions ahead of your current version.
  • The recommended version was released a year ago, on 2022-11-08.
Release notes
Package name: @microsoft/signalr
  • 3.1.31 - 2022-11-08

    Release

  • 3.1.30 - 2022-10-11

    Release

  • 3.1.29 - 2022-09-13

    Release

  • 3.1.28 - 2022-08-09
  • 3.1.27 - 2022-07-12
  • 3.1.26 - 2022-06-14
  • 3.1.25 - 2022-05-10
  • 3.1.24 - 2022-04-12
  • 3.1.23 - 2022-03-08
  • 3.1.22 - 2021-12-14
  • 3.1.21 - 2021-11-08
  • 3.1.20 - 2021-10-12
  • 3.1.19 - 2021-09-14
  • 3.1.18 - 2021-08-10
  • 3.1.17 - 2021-07-13
  • 3.1.16 - 2021-06-08
  • 3.1.15 - 2021-05-11
  • 3.1.14 - 2021-04-08
  • 3.1.13 - 2021-03-09
  • 3.1.12 - 2021-02-09
  • 3.1.11 - 2021-01-12
  • 3.1.10 - 2020-11-09
  • 3.1.9 - 2020-10-13
from @microsoft/signalr GitHub release notes

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

🧐 View latest project report

👩‍💻 Set who automatically gets assigned

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

@rbuergi rbuergi closed this Oct 7, 2024
@rbuergi rbuergi deleted the snyk-upgrade-26bdb6c858c8d86f15cbfbba4b4ebd8d branch October 7, 2024 16:59
rbuergi added a commit that referenced this pull request May 5, 2026
…leasePath is set

Tasks #6, #7, #8, #9, #10, #11, #12, #13, #14 from the failing-tests list
share one root cause: NodeTypeContractHandler.Handle was short-circuiting
on node.AssemblyLocation alone. For freshly-created dynamic NodeTypes
(NodeType=NodeType, Content=NodeTypeDefinition), NodeTypeService
.EnrichWithNodeType propagates the STATIC "NodeType" type's framework DLL
(MeshWeaver.Graph.dll) onto the new node's AssemblyLocation through its
fast-path ApplyEntry. The handler then opened MeshWeaver.Graph.dll,
found no MeshNodeProvider for the new hub's path, and silently returned
Success=true with empty NodeTypeConfigurations — so:

- CompileFailsWhenSourceCodeIsInvalid sees Success=true (compile never
  actually ran).
- CompileWithMultipleSourceLocationsPullsInExternalCode misses the
  external Profile type for the same reason.
- CompileActivityLogTest.* never produces an activity log because the
  Roslyn compile never ran.
- LinkedIn* tests can't render their NodeType-bound layout areas.
- MeshPluginTest broken-NodeType tests don't see the compile error
  because no compile happened.

Fix: only take the short-circuit path when def.LatestReleasePath is
non-empty. A populated LatestReleasePath means StartCompile (or a
release publish) has actually emitted an assembly for THIS NodeType;
only then is AssemblyLocation a real release DLL. Otherwise fall through
to compilationService.CompileAndGetConfigurations, which runs Roslyn,
returns the real Success/Failed shape, and lets the cluster behave.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
rbuergi added a commit that referenced this pull request May 10, 2026
…ThreadExecution stability fixes

ThreadExecution.cs (already in commit 478fdaa — recapping here for the
review-item index):
  - RecoverStaleExecutingThread: drop the 2-minute "fresh execution"
    window in favour of a structural check (skip when PendingUserMessage
    + ActiveMessageId are still set, i.e. the thread is an
    auto-execute candidate WatchForExecution will pick up). Closes the
    "long-running agent crashed at minute 5 → IsExecuting=true forever"
    gap; the time-based heuristic contradicted commit 6dc436b's
    "no time limits" stance.
  - Subject<StreamingSnapshot>: declare with `using var` so the
    Subject itself disposes alongside its subscription. Minor leak
    per execution previously.
  - HandleSubmitMessage: pre-allocate the per-round
    CancellationTokenSource and store it on the thread hub BEFORE
    posting SubmitMessageResponse — closes the race where an early
    Stop click between IsExecuting=true and ExecuteMessageAsync's
    `parentHub.Set(executionCts)` found a null CTS slot and
    silently no-op'd. ExecuteMessageAsync now reuses the
    pre-allocated CTS (with a fallback for the auto-execute path
    that bypasses HandleSubmitMessage).

IsExecutingLifecycleTest.cs:
  - Migrate the response-text wait from text-pattern matching
    (skipping placeholders "Allocating agent..." etc.) to
    `ThreadMessage.CompletedAt is not null`, which
    ExecuteMessageAsync sets only on the terminal
    PushToResponseMessage call. Same pattern adopted in
    ChatHistoryTest in commit ab3af8b.
  - Add a regression assertion that final
    ThreadMessage.Status == Completed. The terminal-status guard in
    PushToResponseMessage prevents the late Sample(100ms)-flushed
    Streaming push from regressing the cell from Completed back to
    Streaming; this assertion catches any future regression of that
    guard.

Addresses PR #95 review items #5, #6, #7, #8, #10.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
rbuergi added a commit that referenced this pull request May 18, 2026
All callers (production + 19 test sites) now invoke the production helpers
directly (ThreadSubmission.Submit / ApplyResubmit / ApplyDeleteFromMessage /
ApplyRecordSubmissionFailure, ThreadInput.AppendUserInput, or
workspace.GetMeshNodeStream(threadPath).Update for RequestedCancellationAt).
The legacy request types and their type-registry entries are now gone:

  Deleted:
    src/MeshWeaver.AI/AppendUserMessageRequest.cs
      (AppendUserMessageRequest, AppendUserMessageResponse,
       ResubmitUserMessageRequest, RecordSubmissionFailureRequest)
    src/MeshWeaver.AI/CancelThreadStreamRequest.cs
      (CancelThreadStreamRequest, CancelThreadStreamResponse)
    src/MeshWeaver.Layout/ThreadMessageActionRequests.cs
      (ResubmitMessageRequest, DeleteFromMessageRequest)

The last surviving thread-mutation request is SubmitMessageRequest — its
handler pre-allocates a CancellationTokenSource that the pure stream-update
path can't replicate without a side-effect watcher. Tracked separately
(task #10) for the next sweep.

Tests migrated as part of this commit:
  - ThreadSubmissionIntegrationTest: RecordSubmissionFailureRequest →
    ThreadSubmission.ApplyRecordSubmissionFailure.
  - OrleansThreadAccessTest (two sites): AppendUserMessageRequest →
    ThreadSubmission.Submit, including the permission-denied case which
    now uses SubmitContext.OnError (same callback ThreadChatView uses).

Build green (only pre-existing Humanizer NuGet restore issue on Content.Test).

Co-Authored-By: Claude Opus 4.7 <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.

4 participants