Repository navigation
Case studies: a draft of Bootstrap's conversion (not published) - #40
Merged
Merged
Conversation
…ver only A caseStudies collection and a /case-studies/<name>/ route. A study with draft: true is built by the dev server only, so a production build never publishes it. The Bootstrap study is the template: what the project's CI runs, the whole config (tested by docs_examples, which now reads the case studies too), the replay estimate with its method and assumptions, what the conversion found, and what modules would change.
ndbroadbent
added a commit
that referenced
this pull request
Dec 4, 2026
… file the docs test reads is one tests/docs_examples.rs reads the case studies since #40, but .cigen's test job didn't list them, so a broken case study alone would have skipped the test that checks it. A new test expands the job's inputs and requires every file the docs test reads to be among them.
ndbroadbent
added a commit
that referenced
this pull request
Dec 4, 2026
… file the docs test reads is one tests/docs_examples.rs reads the case studies since #40, but .cigen's test job didn't list them, so a broken case study alone would have skipped the test that checks it. A new test expands the job's inputs and requires every file the docs test reads to be among them.
ndbroadbent
added a commit
that referenced
this pull request
Dec 4, 2026
Make the case studies inputs of cigen's own test job (false skip from #40)
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.
A draft case study of Bootstrap, and the place case studies live. It's a template for the next ones. Nothing is published: a study with
draft: trueis built by the dev server only, andpnpm --dir docs buildleaves it out (checked:dist/has nocase-studies/).The page (
docs/src/content/case-studies/bootstrap.md) covers:docs_examples;package.jsonas an input (Every package.json is a derived input: npm run runs its scripts #38), and issues Let a config pin or replace the actions cigen generates (checkout, cache) #32 to Provider-neutral triggers (branches, schedules, manual runs) #36;The numbers come from
cigen replaybuilt with #28's glob matching, using exactly this config. They're identical to the earlier run with the pre-#28 config, and so is--no-expiry.The plumbing:
caseStudiescontent collection: title, description, project, repository, full commit, date studied, anddraft./case-studies/<name>/route, a single-column layout (.docs--single).tests/docs_examples.rsreads the case studies too, drafts included. A mutation check (a misspelled key in the config) fails it.docs/README.mddescribes the layout and the template, and the STATUS tests line is updated.Before publishing (an HTML comment at the top of the page):
cigen replaymust be released (it waits on Add cigen explain <job>: what a job's hash covers #14);Nothing went to Bootstrap: no fork, no issue, no comment.
Screenshots at 1440 and 390 px showed no overflow.
task cipasses.Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.