Commit Graph

111 Commits

Author SHA1 Message Date
dependabot[bot] 0ff4483978 Bump the github-actions group across 1 directory with 4 updates
Bumps the github-actions group with 4 updates in the / directory: [actions-rust-lang/setup-rust-toolchain](https://github.com/actions-rust-lang/setup-rust-toolchain), [taiki-e/install-action](https://github.com/taiki-e/install-action), [aws-actions/configure-aws-credentials](https://github.com/aws-actions/configure-aws-credentials) and [zizmorcore/zizmor-action](https://github.com/zizmorcore/zizmor-action).


Updates `actions-rust-lang/setup-rust-toolchain` from 1.17.0 to 2.0.0
- [Release notes](https://github.com/actions-rust-lang/setup-rust-toolchain/releases)
- [Changelog](https://github.com/actions-rust-lang/setup-rust-toolchain/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions-rust-lang/setup-rust-toolchain/compare/166cdcfd11aee3cb47222f9ddb555ce30ddb9659...ecabd13d1c56bd1345c230e542e9144811ad706f)

Updates `taiki-e/install-action` from 2.87.2 to 2.87.8
- [Release notes](https://github.com/taiki-e/install-action/releases)
- [Changelog](https://github.com/taiki-e/install-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/taiki-e/install-action/compare/1ed6d7be6168f6c9046541087ff549b6bc581fdf...d438492cf8a250514fa2d34b30bc3c0dc37c65ff)

Updates `aws-actions/configure-aws-credentials` from 6.2.3 to 6.2.4
- [Release notes](https://github.com/aws-actions/configure-aws-credentials/releases)
- [Changelog](https://github.com/aws-actions/configure-aws-credentials/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws-actions/configure-aws-credentials/compare/e6de054238d6b7531b4efff3b6587d9aade6a06c...cbe3b392738ccf3f987d68400dafcf4b0624a56c)

Updates `zizmorcore/zizmor-action` from 0.6.2 to 0.6.3
- [Release notes](https://github.com/zizmorcore/zizmor-action/releases)
- [Commits](https://github.com/zizmorcore/zizmor-action/compare/3dc1ecc9bcb9e94e9b2c709687979e1298497054...70fb788f84895a7701f5643d103d587e460b5c99)

---
updated-dependencies:
- dependency-name: actions-rust-lang/setup-rust-toolchain
  dependency-version: 2.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: taiki-e/install-action
  dependency-version: 2.87.8
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: aws-actions/configure-aws-credentials
  dependency-version: 6.2.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: zizmorcore/zizmor-action
  dependency-version: 0.6.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-14 03:19:00 +00:00
Akhil Velagapudi fc9b18f862 Remove the unused elastic, mechanics and meshing code from the mouse-bite exploration (#1277) 2026-09-11 21:54:05 -04:00
Akhil Velagapudi 2684984fa9 Add standalone elastic support analysis (#1235)
* Add standalone elastic support analysis with Morley plates

Amp-Thread-ID: https://ampcode.com/threads/T-01a07c29-684a-736c-9ad0-cac04f4eb326

* Validate assembled elastic stiffness and finite tolerance limits

Amp-Thread-ID: https://ampcode.com/threads/T-01a07c29-684a-736c-9ad0-cac04f4eb326

* Check elastic core WASM compatibility in CI

Amp-Thread-ID: https://ampcode.com/threads/T-01a07c29-684a-736c-9ad0-cac04f4eb326
2026-09-07 22:33:52 -04:00
Akhil Velagapudi df6fae8776 Migrate hooks to prek.toml and align tool commands (#1176)
Amp-Thread-ID: https://ampcode.com/threads/T-01a06f91-0cc1-75a6-893a-8d1970f55425
2026-09-04 23:31:53 -04:00
Akhil Velagapudi f83892f682 Remove redundant pricing and layout helpers (#1173)
Amp-Thread-ID: https://ampcode.com/threads/T-01a06f6d-7de5-7658-9186-6ee15dc5db1e
2026-09-04 23:01:39 -04:00
Lenny Khazan 2ad4f7b1e1 Align Clippy checks in CI and prek (#1130)
Run the same workspace-wide, all-target, all-feature Clippy command in CI and prek. Install prek in fresh orbs so agents can run the local checks.

Linear: ENG-1242
Amp-Thread-ID: https://ampcode.com/threads/T-01a05d4e-583f-754a-8c59-b5d981a71262

Co-authored-by: Amp <amp@ampcode.com>
2026-09-01 15:12:11 -04:00
Akhil Velagapudi 64759d1f25 Update dependencies and adapt affected APIs (#1118) 2026-08-30 23:06:58 -04:00
Akhil Velagapudi ef43af98c4 Add WASM support for IPC import, export, and DFM (#1117)
* Make IPC and IR tooling compatible with WASM

Separate native CLI dependencies from in-memory IPC import, export, and DFM code. Keep native parallel execution and run the same geometry algorithms sequentially on WASM.

* Add WASM APIs for IPC import, export, and DFM

Expose typed IpcDocument bindings and shared export helpers. Add package builds, JavaScript runtime tests, and TypeScript checks.
2026-08-30 13:33:48 -04:00
Lenny Khazan 6efd247cae feat(pcb): add native KiCad URL launcher (#983)
* feat(pcb): add native KiCad URL launcher

* fix(pcb): harden launcher recovery choices

* fix(pcb): prevent concurrent recovery sessions

* fix(pcb): guard restored editor sessions

* refactor(pcb): extract shared pcb-diode-uri and pcb-native-dialog crates

pcb-launcher's URI validation re-implemented pcb-diode-api's SandboxFileUri
parsing; move that parser into a tiny pcb-diode-uri crate both can use, and
give the trusted-host allowlist a single home there. Likewise collapse the
duplicated osascript/zenity/kdialog/PowerShell dialog machinery from
pcb-launcher and pcbc's recovery dialog into a pcb-native-dialog crate.
Also drop the launcher's redundant staged-app cleanup (the Drop guard
covers it), the duplicate log chmod, the Debug-formatted log header, and
a clippy for_kv_map lint in the interposer pattern test.

* fix(pcb): block recovery while a recoverable session's editor is open

A recoverable stop now deliberately leaves KiCad running, so the
still-open-editor guard must cover Recoverable sessions too — otherwise
Restore reuses the same local layout dir while the first KiCad instance
still has it open. Also match the tracked pid's process name (open /
pcbnew / kicad) instead of bare liveness, so a recycled pid cannot
permanently wedge the board.

* refactor(pcb): simplify launcher install and open plumbing

Split install_shim_launcher into fetch / stage / replace helpers so the
Windows backup-rename dance is a reusable replace_executable_with_backup,
fold pcb-kicad's duplicated per-OS pcbnew command construction into one
builder, share a single Download-style helper in install.ps1 the way
install.sh already does, dedupe the recovery-cancel wind-down, and fix
the README's launcher wording.

* refactor(pcb): re-export diode URI types without a module alias

Nothing consumed the pcb_diode_api::diode_uri path; re-export the types
directly from pcb-diode-uri instead of aliasing the whole crate.

* refactor(pcb): trust *.diode.computer in release, all hosts in debug

Replaces the enumerated host allowlist: release launchers accept any
*.diode.computer subdomain (portless, so preview and gov endpoints work
without listing them), while debug builds trust every host so local API
stacks need no special-casing.
2026-08-26 10:46:19 -04:00
Akhil Velagapudi 924d3b3fb5 Harden GitHub Actions workflows 2026-08-17 17:20:11 -04:00
Akhil Velagapudi fc3b0b9d05 Skip build performance comments for fork PRs (#1051) 2026-08-13 17:05:16 -04:00
Akhil Velagapudi 57232ddbdd Cache Ubuntu APT packages in Blacksmith CI (#1015)
* ci: cache Ubuntu apt packages

* ci: restore Ubuntu Rust bootstrap packages
2026-08-04 13:20:24 -04:00
Akhil Velagapudi 7994deaf31 Centralize CI Rust toolchain 2026-08-03 16:40:59 -04:00
Akhil Velagapudi 240556e65e Fix CI action and package access 2026-08-03 14:05:55 -04:00
Akhil Velagapudi 767217148f Simplify CI workflows 2026-08-03 14:05:55 -04:00
Akhil Velagapudi c29a72a75a Speed up build performance CI (#967)
* Speed up build performance CI

Amp-Thread-ID: https://ampcode.com/threads/T-019fae4e-b4b1-7084-8b34-0e97715538ff

* Fix Windows KiCad cache verification

Amp-Thread-ID: https://ampcode.com/threads/T-019fae4e-b4b1-7084-8b34-0e97715538ff

* Use KiCad version command for cache verification

Amp-Thread-ID: https://ampcode.com/threads/T-019fae4e-b4b1-7084-8b34-0e97715538ff

* Restore portable Windows KiCad cache check

Amp-Thread-ID: https://ampcode.com/threads/T-019fae4e-b4b1-7084-8b34-0e97715538ff

* Rebuild workspace crates for head benchmark

Amp-Thread-ID: https://ampcode.com/threads/T-019fae4e-b4b1-7084-8b34-0e97715538ff
2026-07-29 12:38:53 -04:00
Akhil Velagapudi 3435ead8a0 Cache KiCad installation on Windows CI
Amp-Thread-ID: https://ampcode.com/threads/T-019fae4e-b4b1-7084-8b34-0e97715538ff
2026-07-29 14:44:28 +00:00
Akhil Velagapudi c469df66e5 Migrate CI to Blacksmith ARM macOS runners (#964)
Drop Intel macOS artifacts and client support, migrate eligible CI jobs to Blacksmith runners, standardize CI on KiCad 10.0.5, and retain GitHub-hosted npm publishing for trusted publishing/OIDC.
2026-07-28 19:04:06 -04:00
Akhil Velagapudi 937267fcf9 Skip private fixtures on fork PRs 2026-07-20 17:43:08 +02:00
Lucia Camacho 0feefb1bab feat: add pcb rectify (#903) 2026-06-26 18:31:36 +00:00
Akhil Velagapudi cea11461c9 Use KiCad 10.0.4 workflow image (#896) 2026-06-22 16:22:48 -04:00
Akhil Velagapudi b042a978f7 Publish Linux release artifacts as musl (#893) 2026-06-22 10:59:41 -04:00
Akhil Velagapudi d3257c6ab5 Don't embed lib/std in pcbc (#885)
* Externalize stdlib artifact handling

* Test local installer in pcbc workflows

* Simplify local pcbc workflow install

* Use pcb shim for local workflow tests

* Trim stdlib discovery tests

* Keep workspace stdlib path stable

* Fix stdlib artifacts in CI workflows

* Run build perf through local pcb shim

* Compare build perf against nightly

* Find stdlib from cargo test binaries

* Cache nightly release metadata

* Benchmark build perf against merge base
2026-06-16 17:03:29 -04:00
Akhil Velagapudi f1d97acce9 Install stdlib with managed pcbc toolchains (#875)
* Install stdlib with managed pcbc toolchains

* Install stdlib as optional companion artifact

* Require stdlib archive and move it into the per-target dir

Place lib/std inside toolchains/<version>/<target>/ so the original
single-dir stage-and-rename already covers binary, receipt, and stdlib
atomically, removing the whole-root staging/swap machinery. Treat a
missing stdlib.tar.zst as an install error now that releases (and the
backfilled v0.3.92) always publish it, and upload the stdlib first in
the release workflow so a version is never discoverable without it.
2026-06-10 14:40:02 -04:00
Akhil Velagapudi e86d14bf3c Publish stdlib source archives in pcbc releases (#874) 2026-06-10 14:39:49 +00:00
Akhil Velagapudi 4413c9d4d9 Deprecate [workspace.members] (#852)
* Hydrate V2 deps during migrate

* Fix mixed hydrated package resolution

* Simplify workspace discovery

* Clean up workspace package discovery naming

* Update stdlib formatting paths
2026-05-27 16:23:57 -04:00
Akhil Velagapudi 17a35d6d91 Share hydrated dependency resolver (#843)
* fix: share hydrated dependency resolver

* test: add wasm publish bundle harness

* fix: resolve wasm v2 bundles without lockfile

* fix: simplify dependency resolver edge cases

* chore: update starlark fork

* fix: validate wasm indirect lanes

* ci: add wasm regression workflow

* fix: share hydrated manifest selection

* fix: simplify wasm frozen identity
2026-05-22 14:59:07 -04:00
Akhil Velagapudi d79b5e1224 Expand build performance benchmark boards (#844)
* Expand build performance benchmark boards

* Update GitHub Actions runtime versions
2026-05-22 13:39:44 -04:00
Akhil Velagapudi 92c132c706 Add zstd, better install message (#839)
* Remove shim version from installer output

* Stop publishing pcb shim GitHub releases

* Trim pcb shim binary size

* Use native TLS for pcb shim downloads

* Publish zstd release artifacts

* Use zstd artifacts for toolchain downloads

* Bump pcb shim to 0.2.0

* Format pcbc release titles with date
2026-05-21 14:41:36 -04:00
Akhil Velagapudi 0e0fe6ff6a ci: use smaller Ubicloud runners (#838)
The larger Ubicloud runners can take longer to provision during peak hours, and these jobs do not need 30 cores. Use standard-16 runners for Linux CI and release jobs while keeping the small 2/4-core jobs as-is.
2026-05-21 13:29:33 -04:00
Akhil Velagapudi 6c89730afb Checkout release tag before creating GitHub releases (#835)
* Checkout tag before creating releases

* Fix CI to test checked-out pcbc

* Update build perf benchmark repos

* Fix build perf missing board rows

* Show pcbc changelogs during self update

* Fix e2e pcbc log filters
2026-05-21 11:09:59 -04:00
Akhil Velagapudi fbb9e8cf43 Fix release smoke issues (#834) 2026-05-20 22:13:50 -04:00
Akhil Velagapudi 63f7e93ea5 Use MSVC Rust toolchain for Windows releases 2026-05-20 21:49:46 -04:00
Akhil Velagapudi 800f978acb Split pcb shim and pcbc toolchain releases (#832)
* Add pcbc toolchain release artifact

* Implement pcb toolchain shim MVP

* Harden pcb toolchain shim

* Split pcb shim and pcbc compiler crates

* Simplify split toolchain shim

* Finish toolchain release plan

* Simplify pcb shim release checks

* Decouple shim and toolchain releases

* Add nightly pcbc channel

* Address pcb shim review feedback

* Run pcbc integration tests through pcbc

* Forward pcb help to compiler

* Fix pcb shim clippy warning

* Check out release tag in manual workflows

* Fix release refs and nightly refresh

* Keep shim bumps out of changelog

* Add simple pcb shim installers

* Forward pcb version and tolerate missing shim metadata

* Add release workflow dry runs

* Clean up split test snapshot metadata

* Show pcb help name on Windows shim

* Avoid repeated self update release fetches
2026-05-20 21:31:38 -04:00
Diode Robot e4a300abfe Release v0.3.83 2026-05-19 17:26:03 -04:00
Akhil Velagapudi 6b5c3d6142 update: use cdn metadata for self update (#828) 2026-05-19 16:38:53 -04:00
Akhil Velagapudi b5c2841481 ci: upload s3 release artifacts after announce 2026-05-19 14:42:44 -04:00
Akhil Velagapudi fd04727e1b ci: register s3 release upload with dist 2026-05-19 13:57:48 -04:00
Akhil Velagapudi fc9a352a05 Add "simple" release hosting backend to dist (#827)
* ci: upload release artifacts to s3

* ci: publish latest main build to s3
2026-05-19 16:20:10 +00:00
Akhil Velagapudi 37f3f0633d Use setup-rust-toolchain in CI (#812)
* Use setup-rust-toolchain in CI

* Avoid caching Cargo bin shims
2026-05-14 13:18:15 -04:00
Akhil Velagapudi d0dfeb65f9 Restrict release workflows to top-level tags (#807) 2026-05-13 15:53:48 -04:00
Akhil Velagapudi 68875cf331 Remove pcb new workspace (#803)
* Simplify pcb new board scaffolding

* Update import for board repos

* Clean up board repo scaffolding

* Preserve board repo metadata during forced import

* Update import board repo wording
2026-05-12 21:03:09 -04:00
Lenny Khazan 80e186c9c4 style(stdlib): format zen files (#709)
* style(stdlib): format zen files

* ci: check stdlib zen formatting
2026-04-11 18:18:53 -04:00
Akhil Velagapudi 0c6b4410da Fix KiCad 10 Windows CI install 2026-04-08 18:22:06 -04:00
Akhil Velagapudi da26210081 Update CI to KiCad 10 2026-04-08 18:22:06 -04:00
Akhil Velagapudi 7a483cdfdb Move skill handling to pcb ai 2026-03-17 20:05:51 -04:00
Lenny Khazan 70384727ed chore: update cargo-dist and regen release.yml (#637) 2026-03-14 15:34:07 -04:00
Lenny Khazan d41c35ff0a fix(ci): force msvc toolchain on windows (#636)
* fix(ci): force msvc toolchain on windows

* remove duplicate caching and disable -D warnings on windows
2026-03-14 15:25:59 -04:00
Akhil Velagapudi f5b62b3214 Use embedded stdlib in CI (#617)
* Remove obsolete stdlib-version-check workflow

stdlib is now embedded in-tree under stdlib/, so the external
version bump workflow is no longer needed.

* Use in-repo stdlib for e2e tests

stdlib is now embedded in the repo, so remove the external
diodeinc/stdlib checkout and build stdlib/ directly.
2026-03-09 21:01:13 -04:00
Akhil Velagapudi 1ae1604f6e Migrate pcb new to subcommands and drop search --dir (#609) 2026-03-07 19:59:19 -05:00