Skip to content

feat: improve error handling - #267

Merged
dignifiedquire merged 1 commit into
mainfrom
error-kind-taxonomy
Jul 14, 2026
Merged

feat: improve error handling#267
dignifiedquire merged 1 commit into
mainfrom
error-kind-taxonomy

Conversation

@dignifiedquire

Copy link
Copy Markdown
Contributor

Based on #266

Closes #263

@dignifiedquire
dignifiedquire requested a review from ramfox July 10, 2026 10:11
@n0bot n0bot Bot added this to iroh Jul 10, 2026
@github-project-automation github-project-automation Bot moved this to 🚑 Needs Triage in iroh Jul 10, 2026
@dignifiedquire
dignifiedquire merged commit c1ccab2 into main Jul 14, 2026
42 of 43 checks passed
@dignifiedquire
dignifiedquire deleted the error-kind-taxonomy branch July 14, 2026 12:25
@github-project-automation github-project-automation Bot moved this from 🚑 Needs Triage to ✅ Done in iroh Jul 14, 2026
faw01 added a commit to faw01/iroh-ffi that referenced this pull request Jul 23, 2026
* chore(ci): reduce artifact retention windows (n0-computer#270)

* feat: improve error handling (n0-computer#267)

* deps: safe bumps across rust / kotlin / js / actions (n0-computer#264)

Everything in this PR is a semver-compatible or patch/minor bump.
Larger migrations (uniffi 0.31→0.32, gradle 8→9, agp 8→9,
kotlin 2.2→2.4, typescript 5→6) are held for their own PRs.

Rust (cargo update — 61 crates within existing semver ranges):
  iroh 1.0.0 → 1.0.2, iroh-{base,relay,services,dns} 1.0.0 → 1.0.2,
  uniffi 0.31.1 → 0.31.2, napi 3.9.2 → 3.10.3, plus many transitives.

Kotlin (patch/minor within same majors):
  Gradle wrapper  8.13     → 8.14.5
  Kotlin plugins  2.2.20   → 2.2.21
  AGP             8.13.0   → 8.13.2
  Dokka           2.0.0    → 2.2.0
  Vanniktech      0.34.0   → 0.37.0

JS:
  @napi-rs/cli    ^3.6.2   → ^3.7.2
  typedoc         ^0.27.6  → ^0.28.20

GitHub Actions:
  actions/checkout     master/v4 → v5   (fixes @master weak pin)
  actions/setup-node   v4        → v6   (was mixed; standardize)
  actions/setup-java   v4        → v5
  actions/setup-python v5        → v6

Held for follow-up PRs (need code changes or need review):
  - uniffi 0.31 → 0.32 (breaking API in 0.x versions)
  - actions/upload-artifact v4 → v7, download-artifact v4 → v8
  - actions/deploy-pages v4 → v5, upload-pages-artifact v3 → v5
  - gradle/actions v4 → v6, android-actions/setup-android v3 → v4
  - Gradle 8 → 9, AGP 8 → 9, Kotlin 2.2 → 2.4, TypeScript 5 → 6

Verified locally: rust tests (17), kotlin tests (19), js tests (20),
python tests (20) all pass.

* feat(swift): add Mac Catalyst slice to xcframework (n0-computer#271)

arm64-only to match the existing macOS-arm64 policy. Resolves n0-computer#268.

* chore: update deps

* chore(release): v1.1.0 (n0-computer#273)

* chore(release): v1.1.0

* chore(release): bake Swift xcframework SHA de50fa366fce51234368e77bd46395a41a6ac4b82124645228f33ea85db6fa17 [skip swift-release]

* ci(release): swap gh CLI for action-gh-release

Self-hosted macOS runner has no gh in PATH; the marketplace action
handles create/update/upload with the workflow token.

* chore(release): bake Swift xcframework SHA ad46dadf09f9224157512992923562931ed60f252414230d50893a4d515c5776 [skip swift-release]

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* ci: replace gh CLI with action-gh-release + setup-java (n0-computer#274)

ci: use marketplace actions instead of runner-installed tooling

- softprops/action-gh-release@v3 for release create/update/upload (no gh CLI)
- setup-java@v5(17) before setup-android in build-kotlin-android
- pin docs.yml swift job to xcode16 label (iOS 17 SDK path)

* ci(release): install file(1) + workflow_dispatch dry-run (n0-computer#275)

- apt install file before verify-kotlin-artifact (task uses `file -b`)
- workflow_dispatch trigger, publish steps gated to tag ref only so
  the branch can be exercised end-to-end without touching registries.

* fix: update ALPN handling to use bytes directly in main.py (n0-computer#245)

---------

Co-authored-by: Asmir Avdicevic <asmir.avdicevic64@gmail.com>
Co-authored-by: Friedel Ziegelmayer <me@dignifiedquire.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Kamal Farahani <17600026+kamalfarahani@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

iroh-go: IrohError ends up as regular error

2 participants