Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
24226e3
nix: refactor package into modular structure
randomizedcoder Feb 25, 2026
3234dac
nix: add development shell
randomizedcoder Feb 25, 2026
d246e17
nix: add NixOS module for PCP services
randomizedcoder Feb 25, 2026
84ac560
nix: add BPF and BCC PMDA NixOS modules
randomizedcoder Feb 25, 2026
0cc16cd
nix: add Grafana and pmie testing modules
randomizedcoder Feb 25, 2026
f617ed5
nix: add OCI container image
randomizedcoder Feb 25, 2026
7b132ce
nix: add NixOS VM test infrastructure
randomizedcoder Feb 25, 2026
177b078
nix: add MicroVM variant definitions and scripts
randomizedcoder Feb 25, 2026
1b677f4
nix: add parametric MicroVM generator
randomizedcoder Feb 25, 2026
a187118
nix: add MicroVM test scripts
randomizedcoder Feb 25, 2026
c7d134d
nix: add lifecycle testing framework
randomizedcoder Feb 25, 2026
7be6b42
docs: add comprehensive Nix packaging documentation
randomizedcoder Feb 25, 2026
04a00e3
nix: fix lifecycle import scoping in flake.nix
randomizedcoder Feb 25, 2026
014d78f
nix: add container lifecycle testing and fix derivation caching
randomizedcoder Feb 25, 2026
7292357
nix: fix container build and add DRY refactoring
randomizedcoder Feb 25, 2026
1c40a6d
nix: add Kubernetes DaemonSet testing infrastructure
randomizedcoder Feb 28, 2026
5882338
nix: add test-all runner and shared test utilities
randomizedcoder Feb 28, 2026
c8ddebd
nix: refactor container-test and add BPF metric verification
randomizedcoder Feb 28, 2026
24c99d5
docs: update Nix documentation for pcp-test-all and testing commands
randomizedcoder Feb 28, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ CmakeLists.txt
provisioning/osxsierra.legally.ok
*.gdb_history
*vgcore.*
tmpfiles.init.setup
tmpfiles.init.setup

# Nix build outputs
result
result-*
test-results/

/CLAUDE.local.md
17 changes: 14 additions & 3 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ pmprobe -v

- **libpcp**: Main PCP library providing core functionality
- **pmcd**: Performance Metrics Collection Daemon - central coordinator
- **pmlogger**: Performance data logging daemon
- **pmlogger**: Performance data logging daemon
- **pmie**: Performance Metrics Inference Engine - rule-based monitoring
- **pmproxy**: Web API proxy and time series interface

Expand Down Expand Up @@ -136,7 +136,7 @@ cd qa && ./check 000

# Check specific functionality
cd qa && ./check -g pmcd # PMCD tests
cd qa && ./check -g pmda # PMDA tests
cd qa && ./check -g pmda # PMDA tests
cd qa && ./check -g archive # Archive tests
```

Expand All @@ -147,7 +147,7 @@ PCP supports Linux, macOS, Windows (MinGW), AIX, and Solaris. Tests should be wr

When developing on macOS (`Platform: darwin` in environment):

### ⚠️ Critical Constraints
### Critical Constraints

1. **Stage changes before VM tests**
- The Tart VM accesses the filesystem directly — `git add` is the minimum required
Expand Down Expand Up @@ -181,3 +181,14 @@ cd build/mac/test && ./run-all-tests.sh # Daily: build + test (20-30s)

- `build/mac/CLAUDE.md` - Development workflow, test commands
- `build/mac/MACOS_DEVELOPMENT.md` - Tart VM clean-room builds

## Nix Development

Nix packaging is provided via `flake.nix` and the `nix/` directory.
See `docs/HowTos/nix/index.rst` for full documentation.

```bash
nix build # Build PCP package
nix develop # Development shell
nix flake show # List all packages and apps
```
Loading
Loading