feat(daemon): export the target dependency graph as DOT or JSON
This commit is contained in:
1 parent
66d2fa6a2e
commit
ae57ee7666
9 files changed
+175
-4
No files matched your search
@@ -642,6 +642,21 @@ dev cpp-gcc -c ctest --test-dir build/pinned --output-on-failure
|
||||
- Full CTest: **8 / 8 passed** in 212.64 s.
|
||||
- `clang-format --dry-run --Werror` passes on the changed C++ files.
|
||||
|
||||
## Daemon Graph Export (GCC 16.2, pin `0002e74`)
|
||||
|
||||
```sh
|
||||
dev cpp-gcc -c cmake --build build/pinned --parallel 8
|
||||
dev cpp-gcc -c build/pinned/bin/vbs_v1_tests --suite Daemon --no-color
|
||||
dev cpp-gcc -c ctest --test-dir build/pinned --output-on-failure
|
||||
```
|
||||
|
||||
- Build: exit 0. Daemon suite: **16 / 16 passed** in 32.47 s, including
|
||||
`graph_exports_target_dependencies_as_json_and_dot`: `{"op":"graph","format":"json"}` returns a
|
||||
`graph` string containing target `app`, the default request returns a DOT `digraph vbs_targets`
|
||||
payload, and `format:"xml"` is rejected with `ok=false`.
|
||||
- Full CTest: **8 / 8 passed** in 214.59 s.
|
||||
- `clang-format --dry-run --Werror` passes on the changed C++ files.
|
||||
|
||||
## Limits and Unrun Checks
|
||||
|
||||
1. **HTTPS git fetch**: the host shell is proxy-restricted, but the Docker container could clone `https://git.faumaray.com/Void/VoidLibrary.git`; the pinned commit `3e254055e081a104f08df68dde39711bc7813518` was fetched directly for the verification above. A separate configure against the local `/home/faumaray/Projects/Library` checkout via `VBS_VOID_SOURCE_DIR` also succeeded (development-only override, checkout unmodified).
|
||||
|
||||
Reference in new issue
Block a user