First-Time Repo Setup
Set up the Pedro repository from a fresh clone so it builds and passes all tests.
Steps
Switch to the right branch and do a pull
If the user passed
devas argument, the switch to thedevbranch before doing anything. Otherwise switch tomaster. In both cases, run agit pull --rebase.Ensure git submodules are checked out
Run
git submodule update --init --recursivefrom the project root. Verify by checking thatvendor/abseil-cppandvendor/libbpfare non-empty.Run full setup
Run
./scripts/setup.sh -ato install all build, test, and dev dependencies. This takes a while — capture output to a temp file. It's normal for this step to take up to 30+ minutes. Check the output for errors. If setup reports a needed reboot (grub/kernel config changes), inform the user and stop.Run quick tests
Invoke
/quicktest(no arguments) to run unit tests and verify the build works. If tests fail, investigate and report — don't proceed to presubmit until unit tests pass.Run presubmit
Invoke
/presubmitto run the full presubmit suite (includes e2e tests, formatting, linting). If failures occur, investigate and report to the user.Report results
Summarize what was done and the final state:
- Submodule status
- Setup completion
- Test results (unit + presubmit)
- Any issues that need user attention (e.g. reboot required, flaky tests)
Converted and distributed by TomeVault — claim your Tome and manage your conversions.