Skip to content

Add CI for PR commits#17

Closed
zac wants to merge 1 commit into
mainfrom
ci
Closed

Add CI for PR commits#17
zac wants to merge 1 commit into
mainfrom
ci

Conversation

@zac

@zac zac commented Jul 12, 2026

Copy link
Copy Markdown
Member

Summary

  • ci.yml runs on every PR commit (opened/synchronize/reopened) and on pushes to main:
    • test: swift test with default traits, then Scripts/check_benchmark_leakage.py and memory_eval validate-datasets --strict.
    • trait-build: swift build --traits CoreMLEmbedding,MemoryNaturalLanguage, catching trait-gated compile breaks that plain swift test misses.
    • SwiftPM .build cached per trait flavor (seeded by main pushes); concurrent runs on the same ref cancel in progress.
  • evals.yml is manual-only (workflow_dispatch): runs the five extraction-affected suites under coreml_default, gates the pressure and smoke baselines, and uploads the run reports as artifacts. It is deliberately not PR-blocking because NaturalLanguage model behavior varies by macOS version; the authoritative release gate stays local per AGENTS.md.

Notes

  • Runners are macos-15 with the newest installed Xcode selected. If the runner's NaturalLanguage models diverge from dev machines, the NL-dependent unit tests will surface it on this PR's own run — adjust from evidence if so.

Testing

  • This PR exercises the workflow on itself.

- ci.yml runs on every pull_request event and pushes to main: build and
  test with default traits, benchmark-leakage check, strict dataset
  validation, plus a separate CoreML+NaturalLanguage trait build job.
  SwiftPM build directories are cached per trait flavor; in-progress runs
  for a ref are cancelled on new commits.
- evals.yml is workflow_dispatch-only: runs the extraction-affected eval
  suites under coreml_default, gates the pressure and smoke baselines,
  and uploads run reports. Manual because eval results are OS-sensitive;
  the release gate stays local per AGENTS.md.
@zac

zac commented Jul 12, 2026

Copy link
Copy Markdown
Member Author

Superseded: CI moves onto the linguistic-tagging branch.

@zac zac closed this Jul 12, 2026
@zac zac deleted the ci branch July 12, 2026 23:32
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