mirror of
https://github.com/ModernRelay/omnigraph.git
synced 2026-07-03 02:51:04 +02:00
* ci: add linux-arm64 (aarch64) prebuilt release target
Build an omnigraph-linux-arm64 archive in both the tagged-release and
edge-release matrices on the ubuntu-24.04-arm runner, and teach the
install script to map Linux/aarch64 to the new asset. Update the install
and CI docs to list the new platform.
Previously aarch64 Linux hit the install-script arch guard
("no prebuilt binary is available for Linux/aarch64") and could only
build from source; it is now a first-class prebuilt target.
* ci: emit a linux-arm64 bottle in the Homebrew formula
The formula generator only resolved macos-arm64 and linux-x86_64 and
emitted `on_linux { on_intel }`, so `brew install` on Linux/aarch64 had
no URL/sha and failed even though the release now ships an
omnigraph-linux-arm64 archive. Resolve that asset's digest and add an
`on_arm` block under `on_linux` so the documented Homebrew path matches
the new prebuilt target.
3.2 KiB
3.2 KiB
CI / Release Workflows
.github/workflows/:
- ci.yml: text-only changes skip; otherwise
cargo test --workspace --lockedon ubuntu-latest with protobuf compiler. OpenAPI-drift check that auto-commits the regeneratedopenapi.jsonfor same-repository PRs. Also runs the AGENTS.md cross-link integrity check (scripts/check-agents-md.sh).Test Workspacedoes not run on pull requests. The job is gatedif: github.event_name != 'pull_request', so the full workspace + failpoints suite runs only on push tomain(post-merge), onv*tags, and on manualworkflow_dispatch. This was a deliberate PR-latency trade-off — it was the slowest gate (~15min warm, up to the 75min cold ceiling).RustFS S3 Integrationneeds: test, so it is push-/dispatch-only for the same reason. The fast PR gates remain:Classify Changes,Check AGENTS.md Links, andTest omnigraph-server --features aws.Test Workspaceis correspondingly not in the required-check list (.github/branch-protection.json); see branch-protection.md.- Consequences to internalize: (1) a regression that the suite would catch now lands on
mainand turns the post-merge run red, rather than being blocked pre-merge —maincan briefly break, so runcargo test --workspace --lockedlocally before merging anything non-trivial, or trigger this workflow on your branch via the Actions "Run workflow" button. (2)openapi.jsonis no longer auto-regenerated on PRs (that step is inside thetestjob); for server/API changes, regenerate it locally withOMNIGRAPH_UPDATE_OPENAPI=1 cargo test -p omnigraph-server --test openapiand commit it, or the strict drift check fails the post-mergemainrun. - Applying this policy: removing
Test Workspacefrom the JSON is inert until an admin runs./scripts/apply-branch-protection.sh. Run it immediately after this change merges — until then GitHub still requires aTest Workspacecontext that no longer reports on PRs, which leaves every open PR permanently pending (the job-never-reports trap).
- AWS feature build job:
cargo build/test -p omnigraph-server --features awson ubuntu-latest. - Windows binary build job:
cargo build --release --locked -p omnigraph-cli -p omnigraph-serveron windows-latest with smoke checks foromnigraph.exe version,omnigraph-server.exe --help, and PowerShell installer syntax. - RustFS S3 integration: spins up RustFS in Docker, runs
s3_storage,server_opens_s3_graph_directly_and_serves_snapshot_and_read, andlocal_cli_s3_end_to_end_init_load_read_flow. - release-edge.yml: on every push to main, retags
edge, builds Linux x86_64 / Linux arm64 / macOS arm64 archives and Windows x86_64 zip + sha256, publishes a rolling prerelease, then smoke-tests the Windows PowerShell installer againstedge. - release.yml: on
v*tags, builds the Linux x86_64 / Linux arm64 / macOS arm64 archives and Windows x86_64 zip release matrix, updates the Homebrew tap (scripts/update-homebrew-formula.sh) by pushing the regenerated formula toModernRelay/homebrew-tap, and smoke-tests the Windows PowerShell installer against the tag. - package.yml: manual ECR image build; emits two image tags per commit (
<sha>,<sha>-aws) via CodeBuild.