Skip to content

feat: add automatic baseline generation for benchmark workflow#4

Merged
farhan-syah merged 1 commit intomainfrom
0.4.0
Feb 13, 2026
Merged

feat: add automatic baseline generation for benchmark workflow#4
farhan-syah merged 1 commit intomainfrom
0.4.0

Conversation

@farhan-syah
Copy link
Collaborator

Add fallback mechanism to generate baseline from main when no cached baseline exists. This handles cache expiration and first-run scenarios by checking out main, running benchmarks to save baseline, then returning to the PR branch.

Updates workflow to fetch full git history (fetch-depth: 0) to enable branch switching. Improves workflow comments to clarify the baseline generation process.

Add fallback mechanism to generate baseline from main when no cached
baseline exists. This handles cache expiration and first-run scenarios
by checking out main, running benchmarks to save baseline, then
returning to the PR branch.

Updates workflow to fetch full git history (fetch-depth: 0) to enable
branch switching. Improves workflow comments to clarify the baseline
generation process.
@farhan-syah farhan-syah marked this pull request as ready for review February 13, 2026 13:17
@farhan-syah farhan-syah merged commit 081c275 into main Feb 13, 2026
19 checks passed
@farhan-syah farhan-syah deleted the 0.4.0 branch February 13, 2026 14:05
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.

1 participant