Replace Deno CI with pure Rust validation workflow #9
[vc]: #VdXDXbA8Idq2+U7ChFmHsTsg5u+Vp4Z+IbUFlPUJ2UI=:eyJpc01vbm9yZXBvIjp0cnVlLCJ0eXBlIjoiZ2l0aHViIiwicHJvamVjdHMiOlt7Im5hbWUiOiJoeXBlcmZ5IiwicHJvamVjdElkIjoicHJqX2ZJVUFwd0ZaeHVNVUlJQmdtWWZrdFNJQUJVRXciLCJyb290RGlyZWN0b3J5IjoiJDovL2h5cGVyZnk6Ly8kIiwiaW5zcGVjdG9yVXJsIjoiaHR0cHM6Ly92ZXJjZWwuY29tL2h5cGVyZnlhL2h5cGVyZnkvNFB6RUxBcXZhcFNCQnNNQkw5UWZHWG9kN205OCIsInByZXZpZXdVcmwiOiIiLCJuZXh0Q29tbWl0U3RhdHVzIjoiRkFJTEVEIiwibGl2ZUZlZWRiYWNrIjp7InJlc29sdmVkIjowLCJ1bnJlc29sdmVkIjowLCJ0b3RhbCI6MCwibGluayI6IiJ9fV19
The latest updates on your projects. Learn more about Vercel for GitHub.
| Project | Deployment | Actions | Updated |
| :--- | :----- | :------ | :------ |
| <a href="https://vercel.com/hyperfya/hyperfy"><sup><img src="https://vercel.com/api/www/avatar?projectId=prj_fIUApwFZxuMUIIBgmYfktSIABUEw&teamId=team_eYOro5HQoHZ4jG6A3dTBtPNo&s=32" width="16" height="16" align="middle" alt="" /></sup></a> hyperfy | !Error Error | | <relative-time datetime="2026-10-13T04:59:15.401Z">Oct 13, 2026 4:59am UTC</relative-time> |
Approved these changes.
These commands run from the repository root, but this revision contains no Cargo.toml (and no Rust crate anywhere in the tree), so the new job will fail immediately with Cargo's “could not find Cargo.toml” error. A Rust manifest/crate must be added, or this workflow must target the actual crate location, before replacing the existing CI.
<!-- ccr-overview-v2 -->
🟡 Changes recommended
The Rust workflow will fail because the repository contains no Cargo manifest or Rust crate.
<details open>
<summary><strong>1 open finding</strong></summary>
</details>
<details>
<summary><strong>What changed in this PR</strong></summary>
Replaces the Deno workflow with Rust-focused CI validation.
Changes:
| File | Description |
| ---- | ----------- |
| .github/workflows/rust.yml | Adds Rust CI validation. |
| .github/workflows/deno.yml | Removes legacy Deno CI. |
</details>
🧠 Review effort: Balanced
---
💡 <a href="/Hyperfy1/hyperfy/new/main?filename=.github/skills/code-review/SKILL.md" class="Link--inTextBlock" target="_blank" rel="noopener noreferrer">Add a code-review agent skill</a> or configure MCP servers for context-aware, tailored reviews. <a href="https://docs.github.com/copilot/how-tos/use-copilot-agents/request-a-code-review/use-code-review?tool=webui#mcp-servers-and-agent-skills" class="Link--inTextBlock" target="_blank" rel="noopener noreferrer">Learn more in the docs.</a>
<!-- devin-review-comment {"id": "BUG_pr-review-job-680302c7d3a242ed89cced6a22fb0de5_0001", "file_path": ".github/workflows/rust.yml", "start_line": 31, "end_line": 32, "side": "RIGHT", "based_on_repo_rules": false, "kind": "bug"} -->
🔴 Validation fails without a Cargo project
Every run fails at cargo fmt --all --check because the repository has no Cargo manifest. Neither cargo check nor cargo test runs.
<details>
<summary>Learn more</summary>
The workflow runs at the repository root after checkout. This repository contains package.json and JavaScript source, but no Cargo.toml or Rust source. Cargo needs a manifest before it can format, check, or test a project, so every run stops at the first Cargo command.
Example: A pull request changes src/core/billing.js. Checkout succeeds, then cargo fmt --all --check reports that no Cargo.toml exists; the job fails without validating the change.
Recommended fix: Replace the Cargo steps with checks for the actual Node project, using the Node version specified by package.json and installing dependencies before running its checks. If Rust validation is intended for a future project, introduce its manifest and sources first.
</details>
<!-- devin-review-badge-begin -->
<a href="https://app.devin.ai/review/hyperfy1/hyperfy/pull/9" target="_blank"><picture><source media="(prefers-color-scheme: dark)" srcset="https://static.devin.ai/assets/gh-devin-review-dark.svg?v=4"><img src="https://static.devin.ai/assets/gh-devin-review-light.svg?v=4" alt="Devin Review"></picture></a>
<!-- devin-review-badge-end -->
---
Was this helpful? React with 👍 or 👎 to provide feedback.
<!-- devin-review-comment {"id": "BUG_pr-review-job-680302c7d3a242ed89cced6a22fb0de5_0002", "file_path": ".github/workflows/rust.yml", "start_line": 37, "end_line": 38, "side": "RIGHT", "based_on_repo_rules": false, "kind": "bug"} -->
🟡 Application tests disappear from CI
On pull requests, cargo test never runs the application's JavaScript tests. The test script runs them through Node, so application regressions go unchecked.
<details>
<summary>Learn more</summary>
The project's test script in package.json invokes Node's test runner on test/*/.test.js. The current tests cover billing, progression, packet definitions, and a database migration. The new workflow contains only Cargo steps, and Cargo cannot execute these JavaScript tests. The missing Cargo manifest also makes the job fail earlier, but adding a Cargo project alone would leave this gap.
Example: A change breaks canBuildAndHost for trial users. npm run test catches it locally, while this workflow never invokes that test.
Recommended fix: Add a Node job or steps that install dependencies and run npm test against the existing suite. Keep Rust validation separately if a Rust project is added.
</details>
<!-- devin-review-badge-begin -->
<a href="https://app.devin.ai/review/hyperfy1/hyperfy/pull/9" target="_blank"><picture><source media="(prefers-color-scheme: dark)" srcset="https://static.devin.ai/assets/gh-devin-review-dark.svg?v=4"><img src="https://static.devin.ai/assets/gh-devin-review-light.svg?v=4" alt="Devin Review"></picture></a>
<!-- devin-review-badge-end -->
---
Was this helpful? React with 👍 or 👎 to provide feedback.
Devin Review found 2 potential issues.
<!-- devin-review-badge-begin -->
<a href="https://app.devin.ai/review/hyperfy1/hyperfy/pull/9" target="_blank"><picture><source media="(prefers-color-scheme: dark)" srcset="https://static.devin.ai/assets/gh-devin-review-dark.svg?v=4"><img src="https://static.devin.ai/assets/gh-devin-review-light.svg?v=4" alt="Devin Review"></picture></a>
<!-- devin-review-badge-end -->
Approved these changes.
tjkilgore93-stack
Copilot
The legacy Deno CI workflow was removed to stop irrelevant lint and test failures across the repository. This change introduces a minimal, standard GitHub Actions workflow dedicated purely to validating Rust tooling.
Workflow Changes
.github/workflows/deno.yml..github/workflows/rust.ymlconfigured to:- Trigger on
pushandpull_requestagainstmain.- Enforce least-privilege token permissions (
contents: read).- Provision the stable Rust toolchain and
rustfmtcomponent viadtolnay/rust-toolchain.- Execute
cargo fmt --all --check,cargo check --verbose, andcargo test --verbose.Workflow Definition