docgen: make automated docs generation more efficient #66007
Labels
C-enhancement
Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
T-sql-foundations
SQL Foundations Team (formerly SQL Schema + SQL Sessions)
Projects
See:
https://github.com/cockroachdb/cockroach/blob/v21.1.1/build/teamcity-diagram-generation.sh
Right now we generate both the bnfs/svgs in the job no matter what. This takes more CPU time than needed.
We can be smarter about this by
2 is likely easier - we can also only generate SVGs for bnfs that have changed.
Note that this has to be backported to 20.2 and 21.1 as well if a change is made.
Side note: the TC job fails right now if the git push does nothing, (no changes) we should fix this.
Jira issue: CRDB-7832
The text was updated successfully, but these errors were encountered: