CodeQL checks / Analyze (actions) (push) Blocked by required conditionsDetails
CodeQL checks / Analyze (go) (push) Blocked by required conditionsDetails
CodeQL checks / Analyze (javascript) (push) Blocked by required conditionsDetails
- Remove local scenes package link that was accidentally committed during merge
- Restore proper published @grafana/scenes version (6.38.0) from main branch
- Keep Faro dependencies as they were already present in main branch
- Clean up development artifacts from package files
- Sync feature branch with latest main branch changes
- Resolve conflicts in dashboard scene serialization imports
- Include both existing and new profiler functions for compatibility
- Refactor dashboard performance profiling architecture
- Create shared performanceUtils.ts with memory utilities and grouped logging
- Convert observer methods to arrow functions in analytics and logger classes
- Add type-safe performance.memory access with proper TypeScript interfaces
- Standardize performance logging with writePerformanceGroup utilities
- Convert duration logging from strings to numeric values for better analysis
- Fix localStorage usage to use @grafana/data store for consistency
- Update dashboard scene integration to use improved profiling system
- Create shared performanceUtils.ts with memory utilities and grouped logging
- Convert observer methods to arrow functions in analytics and logger classes
- Add type-safe performance.memory access with proper TypeScript interfaces
- Standardize performance logging with writePerformanceGroup utilities
- Convert duration logging from strings to numeric values for better analysis
- Fix localStorage usage to use @grafana/data store for consistency
- Update dashboard scene integration to use improved profiling system
CodeQL checks / Detect whether code changed (push) Has been cancelledDetails
CodeQL checks / Analyze (actions) (push) Has been cancelledDetails
CodeQL checks / Analyze (go) (push) Has been cancelledDetails
CodeQL checks / Analyze (javascript) (push) Has been cancelledDetails
- Remove unused resetScenePerformanceLogger and resetDashboardAnalyticsAggregator functions
- Remove redundant isInitialized flags from performance services (singleton pattern provides protection)
- Simplify performance service initialization with unified global singleton pattern
- Extract and rename initialization functions for clarity (initialise* naming convention)
- Move ScenePerformanceLogger initialization to DashboardScenePageStateManager for proper timing
- Consolidate performance service architecture for consistency between logger and aggregator
- Update imports and references throughout dashboard serialization components
- Remove leftover debugger statement
- Rename ScenePerformanceService to ScenePerformanceLogger for clarity
- Consolidate performance service initialization into dashboardPerformanceInitializer
- Remove global singleton pattern in favor of per-dashboard lifecycle management
- Add comprehensive collapsible analytics logging with detailed panel breakdowns
- Remove duplicate completion logs between services
- Implement proper cleanup for both ScenePerformanceLogger and DashboardAnalyticsAggregator
- Update all imports and references to use new naming conventions
- Remove getDashboardInteractionCallback from DashboardProfiler.ts
- Clean up imports in dashboard serialization files
- Update analytics comments and remove processingTime references
- Keep getDashboardComponentInteractionCallback as the active function
- Remove onPanelLifecycleStart/Complete methods from ScenePerformanceService and DashboardAnalyticsAggregator
- Update constructor bindings to remove lifecycle method references
- Remove unnecessary type guards from DashboardAnalyticsAggregator discriminated union handlers (TypeScript provides automatic type narrowing)
- Simplify fieldConfigOperations type by removing dataPointsCount and seriesCount fields
- Maintain consistent panel operation tracking using onPanelOperationStart/Complete for all operations
- Keep selective migration approach for panel vs non-panel query tracking
- Update ScenePerformanceService method signatures to use:
- DashboardInteractionStartData for onDashboardInteractionStart
- DashboardInteractionMilestoneData for onDashboardInteractionMilestone
- DashboardInteractionCompleteData for onDashboardInteractionComplete
- Update DashboardAnalyticsAggregator with same interface changes
- Fix TypeScript type safety issues with metadata access using proper type guards
- Import new specific interfaces from @grafana/scenes
- Provides better type safety and eliminates need for runtime type checking
* Modify index eviction mechanism such that unowned indexes are also evicted.
* Propagate OwnsIndex function to bleve backend
Fix tests.
Stop eviction goroutine when stopping backend.
Make linter happy.
Make sure we stop backend created by tests.
Review suggestion.
Removed newline.
- Remove queryController parameter from SceneRenderProfiler constructor
- Refactor SceneRenderProfiler to use generic metadata instead of dashboard-specific properties
- Remove local PanelProfilingConfig interface in favor of imported type
- Replace all console.log calls with conditional writePerformanceLog function
- Consolidate multiple performance logs into single structured log entries
- Remove legacy 'component-to-effects' string and renderType metadata from render tracking
- Use proper type guards instead of type assertions for metadata field access
* Add a CI step for checking app SDK codegen status
What
This commit adds a CI step for checking the status of code generated
with Grafana App SDK. The step fails if there is a git diff as a result
of the codegen step.
It also updates generated code to make sure we're starting from a
correct state.
Why
This ensures that when the schemas or the SDK version are updated, the
codegen mismatch is caught early at the PR stage.
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com>
* Format generated code
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com>
---------
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com>
* Use the new authorizer for the User resource
* Use accessClient
* Update pkg/services/authz/rbac/mapper.go
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
---------
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
[apiserver] Fix appinstaller.serverWrapper.RegisteredWebServices() to return the RegisteredWebServices from the underlying apiserver's Handler's GoRestfulContainer, matching the logic in grafana-app-sdk's apiserver.KubernetesGenericAPIServer