These videos explain GitHub Runners and why we're using so many of them, also potential solutions...
- Apache NuttX RTOS: GitHub Runners and Mystery Spikes
- Apache NuttX RTOS: Too Many GitHub Runners
- Apache NuttX RTOS: Dumping the GitHub Jobs
- Apache NuttX RTOS: Most Expensive PR
GitHub Runners Usage up to 8 Mar 2026:
Based on the data from above, we have identified the following PRs as the Most Expensive PRs, in terms of GitHub Runner Usage. We need to study further why these PRs are consuming so many resources, and whether improving our NuttX Dev Process will fix this problem...
-
"[EXPERIMENTAL]sched/hrtimer: hrtimer state machine improvement for SMP cases"
-
"sched: add a reference count to the TCB to prevent it from being deleted"
-
"sched/sched: Part 2: Add high-resolution timer (hrtimer) and os tick support with hrtimer to NuttX"
Which were generated by: export-nuttx-builds/run.sh
git clone https://github.com/lupyuen/nuttx-github-jobs
cd nuttx-github-jobs
## Dump the GitHub PRs, Jobs and Job Durations for the past 2 days.
## They will be populated in the pr, job and duration folders.
## Calls ../parse-nuttx-builds to download and parse the GitHub Build Logs.
## Which will populate the success, warning and error folders.
./dump-github-jobs.sh 2
## Optional: Push the PRs, Jobs, Durations to GitHub for later analysis
git pull && git add .
git commit --all --message="Updated PRs, Jobs, Durations by \`dump-github-jobs.sh 2\`" && git push
## Join the PRs, Jobs and Durations into one TSV file and one JSON file:
## nuttx-github-jobs.tsv and nuttx-github-jobs.json
cargo run
## Optional: Push the TSV and JSON to GitHub for later analysis
git pull && git add .
git commit --all --message="Updated TSV and JSON by \`cargo run\`" && git push
## Optional: Export the PRs, Jobs, Durations, Build Logs into Static HTML
pushd ../export-nuttx-builds
git pull
cargo run
popd
## Optional: Push the Build Logs and HTML to GitHub for later analysis
git pull && git add .
git commit --all --message="Updated Build Logs and HTML by \`export-nuttx-builds\`" && git push
## Optional: Import nuttx-github-jobs.tsv into Google Sheets for analysis:
## NuttX GitHub Jobs Spreadsheet: https://docs.google.com/spreadsheets/d/1HY7fIZzd_fs3QPyA0TX7vsYOjL86m1fNOf1Wls93luI/edit?gid=1187577522#gid=1187577522
## Most Expensive PRs: https://docs.google.com/spreadsheets/d/1HY7fIZzd_fs3QPyA0TX7vsYOjL86m1fNOf1Wls93luI/edit?gid=70515654#gid=70515654How to use the JSON Files:
## Find this PR Number
pr_number=18730
## Return Everything Current about this PR Number
curl https://lupyuen.github.io/nuttx-github-jobs/build-monitor-pr.json \
| jq ".[] | select(.pr_number == $pr_number)"
## Return the Current Job Conclusion: success / failure / cancelled
curl https://lupyuen.github.io/nuttx-github-jobs/build-monitor-pr.json \
| jq ".[] | select(.pr_number == $pr_number) | .job_conclusion"
## Return Everything Historical about this PR Number
curl https://lupyuen.github.io/nuttx-github-jobs/build-monitor.json \
| jq ".[] | select(.pr_number == $pr_number)"
## Return all Errors / Warnings for this PR Number
curl https://lupyuen.github.io/nuttx-github-jobs/build-monitor.json \
| jq ".[] | select(.pr_number == $pr_number) | .build_msg"
## Return all Errors for this PR Number
curl https://lupyuen.github.io/nuttx-github-jobs/build-monitor.json \
| jq ".[] | select(.pr_number == $pr_number and .build_score == 0) | .build_msg"
## Return all Warnings for this PR Number
curl https://lupyuen.github.io/nuttx-github-jobs/build-monitor.json \
| jq ".[] | select(.pr_number == $pr_number and .build_score > 0) | .build_msg"GitHub Pages has delays publishing huge JSON Files to github.io. You might wanna use these JSON Links instead:
- Build Monitor JSON: https://raw.githubusercontent.com/lupyuen/nuttx-github-jobs/refs/heads/main/build-monitor.json
- Build Monitor PR JSON: https://raw.githubusercontent.com/lupyuen/nuttx-github-jobs/refs/heads/main/build-monitor-pr.json
- Build Monitor HTML: https://raw.githubusercontent.com/lupyuen/nuttx-github-jobs/refs/heads/main/build-monitor.html

