Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
fix: reset the session mute on findings reload so it can't bleed across series (#1697)
[._.]/ Adam Eivy63584fde474a
diff --git a/client/src/pages/PipelineEditorialChecks.jsx b/client/src/pages/PipelineEditorialChecks.jsxindex f05e583821..9f09111faf 100644--- a/client/src/pages/PipelineEditorialChecks.jsx+++ b/client/src/pages/PipelineEditorialChecks.jsx@@ -153,6 +153,12 @@ export default function PipelineEditorialChecks() {useEffect(() => { activeSeriesRef.current = seriesId; }, [seriesId]);const loadFindings = useCallback((id) => {+ // The session mute is local to the currently-shown findings: a series switch,+ // a fresh load, or a run-completion reload resets it. This happened for free+ // while the set lived in the triage (it unmounted during the loading state and+ // remounted with empty local state); now that the parent owns it (#1697), reset+ // it explicitly so a mute can't bleed across series or outlive a reload.+ setHiddenCheckIds((s) => (s.size ? new Set() : s));if (!id) { setComments([]); return; }setLoadingFindings(true);// getPipelineManuscriptReview has no silent option, so request() alreadydiff --git a/client/src/pages/PipelineEditorialChecks.muteFilter.test.jsx b/client/src/pages/PipelineEditorialChecks.muteFilter.test.jsxindex e5fcd19a14..044c9b8c22 100644--- a/client/src/pages/PipelineEditorialChecks.muteFilter.test.jsx+++ b/client/src/pages/PipelineEditorialChecks.muteFilter.test.jsx@@ -126,6 +126,23 @@ describe('PipelineEditorialChecks — muted checks drop out of the health-panelawait screen.findByTitle(`Filter findings to ${CHECK_LABEL}`);});+ it('resets the mute on a series switch so it never bleeds across series (#1697)', async () => {+ listPipelineSeries.mockResolvedValue([+ { id: 'ser-1', title: 'My Series' },+ { id: 'ser-2', title: 'Second Series' },+ ]);+ renderPage();+ await screen.findByTitle(`Filter findings to ${CHECK_LABEL}`);++ fireEvent.click(screen.getByRole('button', { name: new RegExp(`Disable check: ${CHECK_LABEL}`, 'i') }));+ await screen.findByTitle(`${CHECK_LABEL} findings aren't in the triage filter`);++ // Switching series reloads findings, which clears the session mute — the+ // health-panel deep-link is live again on the new series.+ fireEvent.change(screen.getByLabelText('Series'), { target: { value: 'ser-2' } });+ await screen.findByTitle(`Filter findings to ${CHECK_LABEL}`);+ });+it('reconciles the health-panel rows back when the disable PATCH fails', async () => {patchEditorialCheck.mockImplementation((id, body) => (body.enabled === false ? Promise.reject(new Error('nope')) : Promise.resolve({ ...CHECK, ...body })