Skip to content

[NXDART] Dashboard #15731

Open
0 of 2 issues completed
Open

Description

@cederom

Overview

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

Sub-issues

Sub-issues

0 of 2 Issues completed
Loading 2 sub-issues

Activity

  1. added
    Type: Enhancement
    on Jan 31, 2025
  2. moved this to In Progress in Apache NuttX RTOSon Jan 31, 2025
  3. lupyuen commented on Jan 31, 2025

    @lupyuen
    Member

    I have an article about this. Stay tuned next weekend :-)

    Screenshot_20250131-185720~2.png

  4. cederom commented on Jan 31, 2025

    @cederom
    ContributorAuthor

    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

  5. self-assigned this
    on Jan 31, 2025
  6. removed
    Type: Enhancement
    on Jan 31, 2025
  7. added
    Type: Enhancement
    on Jan 31, 2025
  8. lupyuen commented on Feb 1, 2025

    @lupyuen
    Member
    • 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.

    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.

  9. cederom commented on Feb 1, 2025

    @cederom
    ContributorAuthor

    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 !

  10. cederom commented on Feb 1, 2025

    @cederom
    ContributorAuthor

    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.

  11. lupyuen commented on Feb 1, 2025

    @lupyuen
    Member

    I found a REST API to Pull Requests and Issues reference

    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 🤔

  12. lupyuen commented on Feb 1, 2025

    @lupyuen
    Member

    Whaaat did something bad happen??

    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

  13. changed the title [-][DRUNX] Dahsboard for Distributed Runtime and bUild Test Farm for NuttX.[/-] [+][DRUNX] Dahsboard.[/+] on Feb 2, 2025
  14. changed the title [-][DRUNX] Dahsboard.[/-] [+][DRUNX] Dashboard[/+] on Feb 4, 2025
  15. changed the title [-][DRUNX] Dashboard[/-] [+][NXDART] Dashboard[/+] on Feb 28, 2025
  16. added this to the NXDART milestone on Feb 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Area: TestingType: Enhancement

Type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions