Skip to content

⏱️ Improve workflow compilation time#2446

Merged
dsyme merged 5 commits intomainfrom
timing
Oct 25, 2025
Merged

⏱️ Improve workflow compilation time#2446
dsyme merged 5 commits intomainfrom
timing

Conversation

@dsyme
Copy link
Contributor

@dsyme dsyme commented Oct 25, 2025

Summary

  • Implemented caching for repository features to reduce API calls

Copilot AI review requested due to automatic review settings October 25, 2025 15:46
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds comprehensive performance tracking and caching to the workflow compilation process to improve performance and provide better visibility into compilation times.

Key changes:

  • Introduced TimingTracker to measure and report compilation step durations
  • Added caching for repository feature checks to reduce redundant API calls
  • Enhanced verbose mode with timing summaries and performance metrics

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 5 comments.

File Description
pkg/workflow/timing.go New file implementing TimingTracker for tracking compilation step durations with support for nested sub-steps
pkg/workflow/validation.go Added caching for repository features and current repository lookups, integrated timing tracking into validation steps
pkg/workflow/compiler_yaml.go Integrated timing tracking into YAML generation sub-steps
pkg/workflow/compiler.go Added timingTracker field to Compiler, instrumented all compilation steps with timing, refactored error handling in file output

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@dsyme dsyme changed the title ⏱️ Improve workflow compilation timing and performance tracking ⏱️ Improve workflow compilation time Oct 25, 2025
@dsyme dsyme merged commit 3c23e63 into main Oct 25, 2025
45 checks passed
@dsyme dsyme deleted the timing branch October 25, 2025 16:12
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.

2 participants