Repository navigation
Add a draft ripgrep case study - #63
Open
ndbroadbent wants to merge 1 commit into
Open
ndbroadbent wants to merge 1 commit into
ndbroadbent wants to merge 1 commit into
Conversation
ripgrep's ci workflow as one cigen config, with the rust module for a workspace and a separate fuzz workspace, and GitHub's 18-entry matrix passed through. cigen replay over its last 100 commits estimates 83 of 600 job runs skipped (13.8%; 15.7% without expiry): most commits change code every job builds. Lists the false skip it found (#43, fixed in #51) and the gaps it filed (#45 to #48, #32). Draft until replay is released.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a draft case study for ripgrep, the second after Bootstrap. It's
draft: true, so it builds only inastro devuntil replay (#59) is released.ripgrep complements Bootstrap: a Rust workspace with a separate fuzz workspace, GitHub's 18-entry matrix, floating toolchains and a nightly schedule, and a slow, bursty history.
rustmodule on five jobs.path: fuzzcovers the fuzz workspace,componentsandtargetsreplace ripgrep's install steps, and the matrix passes throughgithub: { strategy }.cigen replay --last 100gives 83 of 600 job runs skipped (13.8%), or 15.7% with--no-expiry. 78 of the 100 commits touchedcrates/, so the ceiling is low. The page says this and links Bootstrap's 35% for the contrast.testcounts once per commit even though GitHub runs it 18 times. A skip saves 15 entry runs, because the 3 Windows entries can't skip yet (Skipping on Windows runners: generated steps assume bash, and there's no Windows release #45).Cargo.tomlfiles the module needs as titled blocks, passestests/docs_examples.rs, and the guard from Make the case studies inputs of cigen's own test job (false skip from #40) #53 covers the page as an input.I also corrected #45, which said four Windows entries; there are three.
Before it's published, the comment at the top of the page lists what's left: release replay, rerun it, add durations, and decide how to present #46.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.