NAS-140339 / 27.0.0-BETA.1 / Enable / disable toggles for shares on exported pools in sharing form appear active but don't do anything#13365
Conversation
…sharing form appear active but dont do anything
…sharing form appear active but dont do anything
|
Claude finished @AlexKarpov98's task in 2m 40s —— View job Review of PR #13365
Really solid work! The utility extraction into Global Store Deduplication — Potential Race ConditionThe in-flight deduplication added to Consider this sequence:
Because This may not be easily triggered in practice (the timing window is narrow), but it could cause hard-to-debug staleness issues. A fix would be to use a generation counter or check if the in-flight observable is still the current one before writing to // In the tap callback:
tap((result) => {
if (this.callInFlight$ === currentInFlight$) {
this.callResult$.next(result);
this.callInFlight$ = null;
}
})Not blocking, but worth considering for robustness. Toggle & Action
|
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #13365 +/- ##
==========================================
+ Coverage 86.93% 86.94% +0.01%
==========================================
Files 1874 1875 +1
Lines 71943 72034 +91
Branches 8417 8428 +11
==========================================
+ Hits 62545 62633 +88
- Misses 9398 9401 +3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
…sharing form appear active but dont do anything
aervin
left a comment
There was a problem hiding this comment.
Works well here. Just a note, the Storage page invalidates the pool cache, which results in 3 pool.query calls when navigating back to the Shares page. Doesn't need to block this PR though. Up to you.
Screen.Recording.2026-03-24.at.1.22.51.PM.mov
|
@aervin Issue is addressed now: Screen.Recording.2026-03-25.at.14.40.49.mov |
|
This PR has been merged and conversations have been locked. |
Testing: see ticket.
Preview:
NAS-140339.mov