Skip to content

ci(e2e): add FreeBSD workflow coverage#605

Merged
stackia merged 3 commits into
mainfrom
cursor/freebsd-e2e-workflow-aa3c
Jul 1, 2026
Merged

ci(e2e): add FreeBSD workflow coverage#605
stackia merged 3 commits into
mainfrom
cursor/freebsd-e2e-workflow-aa3c

Conversation

@stackia

@stackia stackia commented Jul 1, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add a FreeBSD e2e job using vmactions/freebsd-vm@v1.
  • Install FreeBSD VM dependencies and run the same build plus e2e wrapper path.
  • Treat FreeBSD loopback as lo0 in e2e helpers so multicast tests use the correct interface.
  • Add explicit workflow token permissions, avoid dev dependency installs in the FreeBSD e2e run, and keep the runner compatible with macOS Bash 3.2.

Testing

  • uv run ruff check e2e/helpers/constants.py
  • uv run python -c "import importlib.util, pathlib, sys; sys.platform = 'freebsd15'; path = pathlib.Path('e2e/helpers/constants.py'); spec = importlib.util.spec_from_file_location('constants_under_test', path); module = importlib.util.module_from_spec(spec); spec.loader.exec_module(module); assert module.LOOPBACK_IF == 'lo0', module.LOOPBACK_IF; print(module.LOOPBACK_IF)"
  • uv run --with pyyaml python -c "import yaml; yaml.safe_load(open('.github/workflows/e2e-tests.yaml', encoding='utf-8')); print('workflow yaml ok')"
  • bash -n scripts/run-e2e.sh
  • cmake -B build -DCMAKE_BUILD_TYPE=Release -DENABLE_AGGRESSIVE_OPT=ON && cmake --build build -j$(getconf _NPROCESSORS_ONLN)
  • pnpm run type-check
  • pnpm run lint
  • git diff --check
  • ./scripts/run-e2e.sh --co
  • UV_PROJECT_ENVIRONMENT="/tmp/r2h-e2e-no-dev-${RANDOM}" R2H_E2E_NO_DEV=1 ./scripts/run-e2e.sh --co
  • UV_PROJECT_ENVIRONMENT="/tmp/r2h-e2e-no-dev-run-${RANDOM}" R2H_E2E_NO_DEV=1 ./scripts/run-e2e.sh -p 1 test_auth.py
  • ./scripts/run-e2e.sh -p 1 -m "not multicast and not slow"
  • ./scripts/run-e2e.sh -p 1 -m "multicast"

Note: the FreeBSD VM job itself runs in GitHub Actions via vmactions/freebsd-vm@v1; local validation covered workflow syntax, dependency selection, and runnable e2e paths available in this environment.

Open in Web Open in Cursor 

Co-authored-by: Stackie Jia <jsq2627@gmail.com>
Comment thread .github/workflows/e2e-tests.yaml Fixed
@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Azure Static Web Apps: Your stage site is ready! Visit it here: https://thankful-water-0a297bf00-605.eastasia.1.azurestaticapps.net

Co-authored-by: Stackie Jia <jsq2627@gmail.com>
@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Documentation preview

The documentation preview has been deployed for this pull request.

Co-authored-by: Stackie Jia <jsq2627@gmail.com>
@stackia stackia marked this pull request as ready for review July 1, 2026 17:08
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@stackia stackia merged commit 1df56b3 into main Jul 1, 2026
11 checks passed
@stackia stackia deleted the cursor/freebsd-e2e-workflow-aa3c branch July 1, 2026 17:10
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.

3 participants