Repository navigation
Unblock Cloud Agent installs: land env setup on main - #114
Merged
Merged
Conversation
Bring .cursor/environment.json, install.sh, AGENTS.md, CI env-config lint, and .gitignore *.so from PR #113 onto main so Cloud Agents no longer fail with missing .cursor/install.sh. Co-authored-by: DrunkOnJava <[email protected]>
Bump anyhow (≥1.0.103), crossbeam-epoch (≥0.9.20), quick-xml 0.41, and pyo3 0.29 to clear RUSTSEC advisories that were failing cargo audit/deny across finish-line PRs. Adapt PartAtom parsing for quick-xml 0.38+ GeneralRef entity streaming. Run npm audit fix in viewer/ (nanoid, postcss, vite 8.x patch) so high-severity npm audit passes without a Vite major bump. Co-authored-by: DrunkOnJava <[email protected]>
5 of 6 tasks
…n-main-44c9 Bring shared Rust/npm advisory fixes (#118) onto the cloud env PR (#114). Co-authored-by: DrunkOnJava <[email protected]>
DrunkOnJava
marked this pull request as ready for review
August 28, 2026 10:52
Owner
Author
|
Merged Local verification on the merge head:
Env setup files from this PR are retained. Marked ready for review once CI is green. Note: once this PR is green and lands, draft #113 can be closed as superseded by #114. |
DrunkOnJava
added a commit
that referenced
this pull request
Aug 28, 2026
## Summary Clears the shared cargo-audit / cargo-deny / viewer npm-audit failures that have been failing unrelated finish-line PRs (#114–#117) on the same advisories. **After this merges, #115 / #116 / #117 (and related finish-line branches) should rebase onto `main`** so they pick up the lockfile fixes without each re-fighting the same CI jobs. ### Rust (`Cargo.lock` / `Cargo.toml` / `rvt-py`) | Crate | From → To | Advisory | |---|---|---| | `anyhow` | 1.0.102 → 1.0.104 | RUSTSEC-2026-0190 | | `crossbeam-epoch` | 0.9.18 → 0.9.20 | RUSTSEC-2026-0204 | | `quick-xml` | 0.36.2 → 0.41.0 | RUSTSEC-2026-0194 / 0195 | | `pyo3` | 0.24.2 → 0.29.2 | RUSTSEC-2026-0176 / 0177 | `PartAtom` parsing adapted for quick-xml ≥0.38 (`Event::GeneralRef` entity streaming; no ignore/pin). ### Viewer npm `npm audit fix` in `viewer/` (stayed on Vite 8.x): - `vite` 8.0.9 → 8.2.2 - `postcss` → 8.5.26 - `nanoid` → 3.3.18 ## Test plan - [x] `cargo check --workspace` - [x] `cargo audit` clean - [x] `cargo deny check advisories` ok - [x] `cargo test --lib part_atom` (8 passed) - [x] `cd viewer && npm audit --audit-level=high` → 0 vulnerabilities - [ ] CI green on this PR No product / ArcWall / viewer feature work included. <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Medium Risk** > PartAtom parsing behavior changed to match a new XML event model; incorrect entity/whitespace handling could misread family metadata, while pyo3 upgrades affect the Python wheel ABI surface. > > **Overview** > Bumps Rust and viewer dependencies to clear **cargo-audit**, **cargo-deny**, and **npm audit** failures that were blocking unrelated PRs, with a targeted parser fix for the **quick-xml** major-line upgrade. > > **Rust:** `quick-xml` **0.36 → 0.41**, `pyo3` **0.24 → 0.29** (`rvt-py`), plus transitive fixes (`anyhow`, `crossbeam-epoch`). **`PartAtom::from_bytes`** in `part_atom.rs` is updated for quick-xml ≥0.38: entities stream as **`Event::GeneralRef`** instead of inline expansion, text is accumulated in **`pending`** and flushed on end tags (replacing **`trim_text`** + **`BytesText::unescape`**), and category **`scheme`** attributes use **`normalized_value`**. > > **Viewer:** `viewer/package-lock.json` from **`npm audit fix`** (e.g. **vite** 8.0.9 → 8.2.2, **rolldown** 1.2.6, **postcss** / **nanoid** bumps)—dev tooling only, no app feature changes. > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit e312d79. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY --> Co-authored-by: Cursor Agent <[email protected]> Co-authored-by: DrunkOnJava <[email protected]>
DrunkOnJava
added a commit
that referenced
this pull request
Aug 31, 2026
## Summary Clears the shared cargo-audit / cargo-deny / viewer npm-audit failures that have been failing unrelated finish-line PRs (#114–#117) on the same advisories. **After this merges, #115 / #116 / #117 (and related finish-line branches) should rebase onto `main`** so they pick up the lockfile fixes without each re-fighting the same CI jobs. ### Rust (`Cargo.lock` / `Cargo.toml` / `rvt-py`) | Crate | From → To | Advisory | |---|---|---| | `anyhow` | 1.0.102 → 1.0.104 | RUSTSEC-2026-0190 | | `crossbeam-epoch` | 0.9.18 → 0.9.20 | RUSTSEC-2026-0204 | | `quick-xml` | 0.36.2 → 0.41.0 | RUSTSEC-2026-0194 / 0195 | | `pyo3` | 0.24.2 → 0.29.2 | RUSTSEC-2026-0176 / 0177 | `PartAtom` parsing adapted for quick-xml ≥0.38 (`Event::GeneralRef` entity streaming; no ignore/pin). ### Viewer npm `npm audit fix` in `viewer/` (stayed on Vite 8.x): - `vite` 8.0.9 → 8.2.2 - `postcss` → 8.5.26 - `nanoid` → 3.3.18 ## Test plan - [x] `cargo check --workspace` - [x] `cargo audit` clean - [x] `cargo deny check advisories` ok - [x] `cargo test --lib part_atom` (8 passed) - [x] `cd viewer && npm audit --audit-level=high` → 0 vulnerabilities - [ ] CI green on this PR No product / ArcWall / viewer feature work included. <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Medium Risk** > PartAtom parsing behavior changed to match a new XML event model; incorrect entity/whitespace handling could misread family metadata, while pyo3 upgrades affect the Python wheel ABI surface. > > **Overview** > Bumps Rust and viewer dependencies to clear **cargo-audit**, **cargo-deny**, and **npm audit** failures that were blocking unrelated PRs, with a targeted parser fix for the **quick-xml** major-line upgrade. > > **Rust:** `quick-xml` **0.36 → 0.41**, `pyo3` **0.24 → 0.29** (`rvt-py`), plus transitive fixes (`anyhow`, `crossbeam-epoch`). **`PartAtom::from_bytes`** in `part_atom.rs` is updated for quick-xml ≥0.38: entities stream as **`Event::GeneralRef`** instead of inline expansion, text is accumulated in **`pending`** and flushed on end tags (replacing **`trim_text`** + **`BytesText::unescape`**), and category **`scheme`** attributes use **`normalized_value`**. > > **Viewer:** `viewer/package-lock.json` from **`npm audit fix`** (e.g. **vite** 8.0.9 → 8.2.2, **rolldown** 1.2.6, **postcss** / **nanoid** bumps)—dev tooling only, no app feature changes. > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit d4e146a035a291fb82a75f45f5e4e01b788008d2. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY --> Co-authored-by: Cursor Agent <[email protected]> Co-authored-by: DrunkOnJava <[email protected]>
DrunkOnJava
added a commit
that referenced
this pull request
Aug 31, 2026
## Summary Unblocks Cloud Agent `setupStatus: INSTALL_FAILED` on `main`, which currently lacks `.cursor/install.sh` while agents expect `bash .cursor/environment.json` → `bash .cursor/install.sh`. This PR brings the **environment-only** files from draft [#113](#113) (`cursor/setup-dev-environment-1703`) onto a clean branch based on latest `main`, plus shared advisory lockfile fixes from [#118](#118) so cargo deny/audit and viewer npm audit pass. ## What's included - `.cursor/environment.json` — install script, port `5173`, `viewer-dev-server` terminal - `.cursor/install.sh` — idempotent Rust (≥1.85) + Python (`maturin`) + WASM viewer bootstrap + smoke checks - `AGENTS.md` — Cursor Cloud specific instructions - CI `env config lint` job (shellcheck + schema validate) - `.gitignore` — ignore `*.so` from `maturin develop` - Merge of `#118` deps advisory bump (`quick-xml`/`pyo3`/`anyhow`/`crossbeam-epoch` + viewer `npm audit fix`) ## Why a separate PR #113 already has the same env content and passed fresh-pod builds, but `main` still fails install for new agents. Landing this slim branch unblocks Cloud Agents without waiting on any other work on #113. **Once #114 is green and merges, #113 can be closed as superseded.** ## Verification - Local: `cargo deny check advisories` ok; `cargo audit` clean; `cd viewer && npm audit --audit-level=high` → 0 vulnerabilities - Env setup files retained alongside deps bumps (merge commit `e12badc`) Do not merge until CI is green on the post-merge head. --------- Co-authored-by: Cursor Agent <[email protected]> Co-authored-by: DrunkOnJava <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Unblocks Cloud Agent
setupStatus: INSTALL_FAILEDonmain, which currently lacks.cursor/install.shwhile agents expectbash .cursor/environment.json→bash .cursor/install.sh.This PR brings the environment-only files from draft #113 (
cursor/setup-dev-environment-1703) onto a clean branch based on latestmain, plus shared advisory lockfile fixes from #118 so cargo deny/audit and viewer npm audit pass.What's included
.cursor/environment.json— install script, port5173,viewer-dev-serverterminal.cursor/install.sh— idempotent Rust (≥1.85) + Python (maturin) + WASM viewer bootstrap + smoke checksAGENTS.md— Cursor Cloud specific instructionsenv config lintjob (shellcheck + schema validate).gitignore— ignore*.sofrommaturin develop#118deps advisory bump (quick-xml/pyo3/anyhow/crossbeam-epoch+ viewernpm audit fix)Why a separate PR
#113 already has the same env content and passed fresh-pod builds, but
mainstill fails install for new agents. Landing this slim branch unblocks Cloud Agents without waiting on any other work on #113.Once #114 is green and merges, #113 can be closed as superseded.
Verification
cargo deny check advisoriesok;cargo auditclean;cd viewer && npm audit --audit-level=high→ 0 vulnerabilitiese207d39)Do not merge until CI is green on the post-merge head.