File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2041,11 +2041,24 @@ export async function InstallSkyBridge(): Promise<void> {
20412041 const Services = GetServices ( ) ;
20422042 const Markers = ( Services as any ) ?. Markers ;
20432043 const URICtor = ( Services as any ) ?. URI ;
2044- if ( ! Markers ?. changeOne || ! URICtor ) return ;
20452044 const Owner = String ( Payload ?. owner ?? "" ) ;
20462045 const Changed = Array . isArray ( Payload ?. changedURIs )
20472046 ? Payload . changedURIs
20482047 : [ ] ;
2048+ // Per-fire trace - same reasoning as the webview/registerView
2049+ // listener: a silent early-return on missing services made the
2050+ // "Problems panel populates with count but stays visually empty"
2051+ // symptom impossible to triage without DevTools. The
2052+ // `pushable` field tells us at a glance whether this fire
2053+ // would have called `changeOne` at all.
2054+ invoke ( "MountainIPCInvoke" , {
2055+ method : "diagnostic:log" ,
2056+ params : [
2057+ "markers-bridge" ,
2058+ `owner=${ Owner } uris=${ Changed . length } pushable=${ typeof Markers ?. changeOne === "function" && ! ! URICtor } ` ,
2059+ ] ,
2060+ } ) . catch ( ( ) => { } ) ;
2061+ if ( ! Markers ?. changeOne || ! URICtor ) return ;
20492062 for ( const Entry of Changed ) {
20502063 try {
20512064 const Uri = Entry ?. uri ;
You can’t perform that action at this time.
0 commit comments