Skip to content

feat: add reusable GitHub Actions composite action for running benchmarks#71

Merged
skylenet merged 14 commits into
masterfrom
githuuub-action
Feb 13, 2026
Merged

feat: add reusable GitHub Actions composite action for running benchmarks#71
skylenet merged 14 commits into
masterfrom
githuuub-action

Conversation

@skylenet
Copy link
Copy Markdown
Member

No description provided.

Mount host /proc/sys/vm/drop_caches into the container and add
SYS_ADMIN capability so benchmarkoor can drop page/dentry/inode
caches between tests. This brings the action in line with
docker-compose.yaml.
The cpufreq package writes to /sys/devices/system/cpu/ to control CPU
frequency, governors, and turbo boost during benchmarks. Docker mounts
/sys read-only, so CPU frequency control fails inside containers.

Add a configurable `global.cpu_sysfs_path` setting (following the
existing `drop_caches_path` pattern) so the host's sysfs CPU directory
can be bind-mounted at a different path inside the container.

- Thread a basePath parameter through all sysfs functions in cpufreq
- Add CPUSysfsPath field to GlobalConfig with GetCPUSysfsPath() getter
- Add /sys/devices/system/cpu:/host_sys_cpu volume mount to
  docker-compose.yaml and action.yaml
- Update config examples and documentation
Add 18 missing scalar config keys so Viper recognizes BENCHMARKOOR_*
env var overrides for client settings, resource limits, retry new
payloads syncing state, bootstrap FCU, and global paths.
Use BENCHMARKOOR_* environment variables instead of a temporary
override YAML file to set container paths, now that all keys are
registered in bindEnvKeys().
Pass BENCHMARKOOR_BENCHMARK_RESULTS_OWNER with the runner's UID:GID so
result files created inside the Docker container are owned by the runner
user, preventing permission denied errors during cleanup.
When paths contain multiple new segments (e.g. test names with `/`),
os.MkdirAll creates intermediate directories that were not chowned,
leaving them root-owned and preventing cleanup by the runner user.
@skylenet skylenet merged commit e6218f0 into master Feb 13, 2026
5 checks passed
@skylenet skylenet deleted the githuuub-action branch February 13, 2026 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant