From 6521dd78de390e5d6e0f48613187ddb0e97bae2a Mon Sep 17 00:00:00 2001 From: Stefan Steiner Date: Fri, 15 May 2026 17:40:55 -0700 Subject: [PATCH 1/7] test From cffa06c31cf7d920eeeab7b93a7c48c13f15650e Mon Sep 17 00:00:00 2001 From: Stefan Steiner Date: Fri, 15 May 2026 17:53:24 -0700 Subject: [PATCH 2/7] test From 94f3fb5343650b4f36aa2c1d6dd114ef2e0889f4 Mon Sep 17 00:00:00 2001 From: Stefan Steiner Date: Fri, 15 May 2026 18:04:24 -0700 Subject: [PATCH 3/7] doc: updated README.md --- hyperdb-api/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hyperdb-api/README.md b/hyperdb-api/README.md index bff87a2..7b3b8f2 100644 --- a/hyperdb-api/README.md +++ b/hyperdb-api/README.md @@ -36,7 +36,7 @@ fn main() -> Result<()> { let hyper = HyperProcess::new(None, None)?; // Connect to a database - let conn = Connection::new(&hyper, "example.hyper", CreateMode::CreateIfNotExists)?; + let conn = Connection::new(&hyper, "example1.hyper", CreateMode::CreateIfNotExists)?; // Create a table let table_def = TableDefinition::from("users") From d8f55fad78e6fad8e04bec738d326c77ec2e5863 Mon Sep 17 00:00:00 2001 From: Stefan Steiner Date: Fri, 15 May 2026 18:05:27 -0700 Subject: [PATCH 4/7] chore: increased pool size --- hyperdb-api/src/pool.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hyperdb-api/src/pool.rs b/hyperdb-api/src/pool.rs index 13d909f..6556937 100644 --- a/hyperdb-api/src/pool.rs +++ b/hyperdb-api/src/pool.rs @@ -17,7 +17,7 @@ //! // Create a pool configuration //! let config = PoolConfig::new("localhost:7483", "example.hyper") //! .create_mode(CreateMode::CreateIfNotExists) -//! .max_size(16); +//! .max_size(32); //! //! // Build the pool //! let pool = create_pool(config)?; From 0187d8e729703b3bbc780e839a03ef5ae9990e41 Mon Sep 17 00:00:00 2001 From: Stefan Steiner Date: Fri, 15 May 2026 18:44:51 -0700 Subject: [PATCH 5/7] ci(debug): add macOS rust toolchain diagnostics TEMPORARY diagnostic step added before actions-rust-lang/setup-rust-toolchain in the test job to collect evidence about the post-2026-05-12 macos-14 image regression where the action fails with "rustc: command not found". Logs PATH, contents of ~/.cargo/bin and ~/.rustup, which rustup/rustc/cargo, rustup show output, bash version+location, and the rust-toolchain.toml contents. To be removed once root cause is identified and fixed. --- .github/workflows/ci.yml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 189b54e..5b530b7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -123,6 +123,44 @@ jobs: rm -f /usr/local/bin/cargo /usr/local/bin/rustc /usr/local/bin/rustup-init || true rm -f /opt/homebrew/bin/cargo /opt/homebrew/bin/rustc /opt/homebrew/bin/rustup-init || true + - name: DEBUG — diagnose macOS rust toolchain state + # TEMPORARY: collecting evidence about the post-2026-05-12 + # macos-14 image regression where actions-rust-lang/setup-rust-toolchain + # fails with "rustc: command not found". Remove once root cause + # is identified and fixed. + if: runner.os == 'macOS' + shell: bash + run: | + echo "=== PATH (one entry per line) ===" + echo "$PATH" | tr ':' '\n' + echo + echo "=== ~/.cargo/bin contents ===" + ls -la "$HOME/.cargo/bin" 2>/dev/null || echo "(does not exist)" + echo + echo "=== ~/.rustup contents ===" + ls -la "$HOME/.rustup" 2>/dev/null || echo "(does not exist)" + echo + echo "=== which rustup / rustc / cargo ===" + which rustup || echo "rustup: not found" + which rustc || echo "rustc: not found" + which cargo || echo "cargo: not found" + echo + echo "=== rustup show (if reachable) ===" + if command -v rustup &>/dev/null; then + rustup show 2>&1 || echo "rustup show failed" + else + echo "rustup not on PATH; trying \$HOME/.cargo/bin/rustup" + "$HOME/.cargo/bin/rustup" show 2>&1 || echo "$HOME/.cargo/bin/rustup show failed (or doesn't exist)" + fi + echo + echo "=== bash version ===" + bash --version | head -1 + echo "=== which bash ===" + which bash + echo + echo "=== rust-toolchain.toml at repo root? ===" + [[ -f rust-toolchain.toml ]] && cat rust-toolchain.toml || echo "(no rust-toolchain.toml)" + - uses: actions-rust-lang/setup-rust-toolchain@v1 with: toolchain: stable From bf767715237075370b4b8909b19c54628a473de0 Mon Sep 17 00:00:00 2001 From: Stefan Steiner Date: Fri, 15 May 2026 18:53:16 -0700 Subject: [PATCH 6/7] fix(ci): remove brew-rust uninstall steps that delete cargo/rustc on new image MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Diagnostic output from a CI run on the post-2026-05-12 macos-14 image showed the actual root cause of the "rustc: command not found" failure: === which rustup / rustc / cargo === /opt/homebrew/bin/rustup rustc: not found cargo: not found === rustup show === installed toolchains: stable-aarch64-apple-darwin (active, default) The new image provisions Rust correctly via Homebrew at /opt/homebrew/bin/ with rustup-managed toolchains. There is no symlink shadowing of cargo to rustup-init anymore — the original problem the brew-uninstall step was defending against has been fixed upstream. But our defensive `rm -f /opt/homebrew/bin/{cargo,rustc,rustup-init}` deletes the working cargo and rustc symlinks while leaving rustup intact. The setup-rust-toolchain action then runs `rustc --version` for its cachekey output and fails because we just removed rustc. Remove the brew-uninstall steps from ci.yml and npm-build-publish.yml. Also removes the temporary debug step added in 0187d8e. --- .github/workflows/ci.yml | 52 ------------------------- .github/workflows/npm-build-publish.yml | 11 ------ 2 files changed, 63 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5b530b7..52a1a1f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -109,58 +109,6 @@ jobs: - name: Install protobuf (Windows) if: runner.os == 'Windows' run: choco install protoc -y - - name: Remove pre-installed Homebrew rust (macOS) - # Recent macos-14 runner images ship Homebrew's `rust` package, - # which symlinks `cargo` to `rustup-init`. With no toolchain - # installed, `cargo test` then invokes rustup-init's CLI parser - # and fails with "unexpected argument 'test' found". Removing - # brew's rust before installing the real toolchain avoids the - # symlink shadowing. - if: runner.os == 'macOS' - shell: bash - run: | - brew list rust >/dev/null 2>&1 && brew uninstall --ignore-dependencies rust || true - rm -f /usr/local/bin/cargo /usr/local/bin/rustc /usr/local/bin/rustup-init || true - rm -f /opt/homebrew/bin/cargo /opt/homebrew/bin/rustc /opt/homebrew/bin/rustup-init || true - - - name: DEBUG — diagnose macOS rust toolchain state - # TEMPORARY: collecting evidence about the post-2026-05-12 - # macos-14 image regression where actions-rust-lang/setup-rust-toolchain - # fails with "rustc: command not found". Remove once root cause - # is identified and fixed. - if: runner.os == 'macOS' - shell: bash - run: | - echo "=== PATH (one entry per line) ===" - echo "$PATH" | tr ':' '\n' - echo - echo "=== ~/.cargo/bin contents ===" - ls -la "$HOME/.cargo/bin" 2>/dev/null || echo "(does not exist)" - echo - echo "=== ~/.rustup contents ===" - ls -la "$HOME/.rustup" 2>/dev/null || echo "(does not exist)" - echo - echo "=== which rustup / rustc / cargo ===" - which rustup || echo "rustup: not found" - which rustc || echo "rustc: not found" - which cargo || echo "cargo: not found" - echo - echo "=== rustup show (if reachable) ===" - if command -v rustup &>/dev/null; then - rustup show 2>&1 || echo "rustup show failed" - else - echo "rustup not on PATH; trying \$HOME/.cargo/bin/rustup" - "$HOME/.cargo/bin/rustup" show 2>&1 || echo "$HOME/.cargo/bin/rustup show failed (or doesn't exist)" - fi - echo - echo "=== bash version ===" - bash --version | head -1 - echo "=== which bash ===" - which bash - echo - echo "=== rust-toolchain.toml at repo root? ===" - [[ -f rust-toolchain.toml ]] && cat rust-toolchain.toml || echo "(no rust-toolchain.toml)" - - uses: actions-rust-lang/setup-rust-toolchain@v1 with: toolchain: stable diff --git a/.github/workflows/npm-build-publish.yml b/.github/workflows/npm-build-publish.yml index b14b1b2..4d1f6a5 100644 --- a/.github/workflows/npm-build-publish.yml +++ b/.github/workflows/npm-build-publish.yml @@ -98,17 +98,6 @@ jobs: if: runner.os == 'Windows' run: choco install protoc -y - - name: Remove pre-installed Homebrew rust (macOS) - # See ci.yml for context — macos-14 runners ship Homebrew's - # `rust` package which symlinks `cargo` to `rustup-init` and - # shadows the real toolchain. - if: runner.os == 'macOS' - shell: bash - run: | - brew list rust >/dev/null 2>&1 && brew uninstall --ignore-dependencies rust || true - rm -f /usr/local/bin/cargo /usr/local/bin/rustc /usr/local/bin/rustup-init || true - rm -f /opt/homebrew/bin/cargo /opt/homebrew/bin/rustc /opt/homebrew/bin/rustup-init || true - - uses: actions-rust-lang/setup-rust-toolchain@v1 with: toolchain: stable From f32e4a06cc7e681f24a9b72bc38ef5f41226ea25 Mon Sep 17 00:00:00 2001 From: Stefan Steiner Date: Fri, 15 May 2026 19:03:46 -0700 Subject: [PATCH 7/7] chore: remove test changes --- hyperdb-api/README.md | 2 +- hyperdb-api/src/pool.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hyperdb-api/README.md b/hyperdb-api/README.md index 7b3b8f2..bff87a2 100644 --- a/hyperdb-api/README.md +++ b/hyperdb-api/README.md @@ -36,7 +36,7 @@ fn main() -> Result<()> { let hyper = HyperProcess::new(None, None)?; // Connect to a database - let conn = Connection::new(&hyper, "example1.hyper", CreateMode::CreateIfNotExists)?; + let conn = Connection::new(&hyper, "example.hyper", CreateMode::CreateIfNotExists)?; // Create a table let table_def = TableDefinition::from("users") diff --git a/hyperdb-api/src/pool.rs b/hyperdb-api/src/pool.rs index 6556937..13d909f 100644 --- a/hyperdb-api/src/pool.rs +++ b/hyperdb-api/src/pool.rs @@ -17,7 +17,7 @@ //! // Create a pool configuration //! let config = PoolConfig::new("localhost:7483", "example.hyper") //! .create_mode(CreateMode::CreateIfNotExists) -//! .max_size(32); +//! .max_size(16); //! //! // Build the pool //! let pool = create_pool(config)?;