Repository navigation
Description
Overview
- Dashboard will be a common place to gather, store, and review distributed build and runtime logs from DRUNX (Distributed Runtime and bUild Test Farm for NuttX).
- Working prototype by @lupyuen available at https://nuttx-dashboard.org.
TODO
- Verify if Dashboard can be attached to GH PR automation as external runner so we could have have a build and runtime tests results before merging a PR.
- Yes it can be used and @lupyuen already did a prototype, however there are many and serious security concerns regarding running untrusted code and scripts, therefore it needs additional security mechanisms implementation (i.e. jails, containers, virtualization), as well as fetch->build->run stages separation so scripts will have no internet connectivity (like FreeBSD Ports), but that impacts existing configurations that needs an update (lots of work).
- Therefore for now only manually pre-reviewed code can be verified by manual trigger of testbot actions.
- Full autonomous functionality when security mechanisms and build updates are in place.
References
- GitHub REST API for Pull Requests reference: https://docs.github.com/en/rest/pulls?apiVersion=2022-11-28.
- GitHub REST API for Issues reference: https://docs.github.com/en/rest/issues/issues?apiVersion=2022-11-28.
Reacted by Lup Yuen Lee
Sub-issues
Collapse Sub-issuesSub-issues
Loading 2 sub-issues
Metadata
Metadata
Labels
Type
Projects
- StatusShow more project fieldsIn Progress
Activity
lupyuen commentedon Jan 31, 2025
I have an article about this. Stay tuned next weekend :-)
cederom commentedon Jan 31, 2025
Thank you @lupyuen :-) We are playing with GitHub Projects [1] to see if it can be used to create a roadmap etc, you are Admin too so play around and lets see how it works :-)
[1] https://github.com/apache/nuttx/projects?query=nuttx
lupyuen commentedon Feb 1, 2025
Reminder to myself: Be careful when running Unmerged Code on our Home Computers. In case the PR contains any Scripts or Apps that may cause problems on our Home Computer or Home Network.
cederom commentedon Feb 1, 2025
Whaaat did something bad happen??
Basically we only operate on NuttX repos, so there should be no malware... but anyone can send PR with anything true!!!
How to prevent problems? Network separation? One time use containers / jails / vm with restricted network access?
I will mark this important point in architecture requiremens! Thanks @lupyuen !
cederom commentedon Feb 1, 2025
I found a REST API to Pull Requests and Issues reference, added to top description. Its only to see if this is possible @lupyuen not really need to be active right now and you can test on a local private repo.
lupyuen commentedon Feb 1, 2025
Yep thanks I'm already using the GitHub API for our PR Review Bot :-)
I might try a scaled-down simpler implementation that has less security risk. For example, when I post a PR Comment
@nuttxpr please test, then our Test Bot will download the PR and run Build + Test on QEMU RISC-V 🤔lupyuen commentedon Feb 1, 2025
5 Years Ago: We had Security Issues with a PineTime Smartwatch that we opened up for Remote Testing :-)
https://github.com/lupyuen/remote-pinetime-bot?tab=readme-ov-file#security-issues
[-][DRUNX] Dahsboard for Distributed Runtime and bUild Test Farm for NuttX.[/-][+][DRUNX] Dahsboard.[/+][-][DRUNX] Dahsboard.[/-][+][DRUNX] Dashboard[/+][-][DRUNX] Dashboard[/-][+][NXDART] Dashboard[/+]