From 9ce52a5f37cc9ec1b8459f0dc480f76b7acd537f Mon Sep 17 00:00:00 2001 From: TRAVIS ALLAN EARNEST <339955582+travisearnest1017-collab@users.noreply.github.com> Date: Mon, 2 Nov 2026 04:19:27 -0800 Subject: [PATCH 1/5] Add GitHub Actions workflow for Python application This workflow installs Python dependencies, runs linting with flake8, and executes tests with pytest. --- .github/workflows/python-app.yml | 39 ++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .github/workflows/python-app.yml diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml new file mode 100644 index 0000000000..1168bd9ad8 --- /dev/null +++ b/.github/workflows/python-app.yml @@ -0,0 +1,39 @@ +# This workflow will install Python dependencies, run tests and lint with a single version of Python +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python + +name: Python application + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +permissions: + contents: read + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Set up Python 3.10 + uses: actions/setup-python@v3 + with: + python-version: "3.10" + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install flake8 pytest + if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + - name: Lint with flake8 + run: | + # stop the build if there are Python syntax errors or undefined names + flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics + # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide + flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics + - name: Test with pytest + run: | + pytest From b2da2ceeea9c53fa512818550444e67f808d1e74 Mon Sep 17 00:00:00 2001 From: TRAVIS ALLAN EARNEST <339955582+travisearnest1017-collab@users.noreply.github.com> Date: Wed, 11 Nov 2026 16:27:10 -0800 Subject: [PATCH 2/5] chore: bump actions/checkout to v5 (Node 24) --- .github/workflows/update-submodules.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update-submodules.yml b/.github/workflows/update-submodules.yml index f57e19dc40..55165ca9b7 100644 --- a/.github/workflows/update-submodules.yml +++ b/.github/workflows/update-submodules.yml @@ -13,7 +13,7 @@ jobs: update: runs-on: ubuntu-latest steps: - - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 + - uses: actions/checkout@v5 with: submodules: true fetch-depth: 0 From 58321c478d69d139825ee396bd7d2cbfa379363c Mon Sep 17 00:00:00 2001 From: TRAVIS ALLAN EARNEST <339955582+travisearnest1017-collab@users.noreply.github.com> Date: Wed, 11 Nov 2026 18:00:22 -0800 Subject: [PATCH 3/5] fix: re-indent update-submodules steps into steps list --- .github/workflows/update-submodules.yml | 68 ++++++++++++------------- 1 file changed, 34 insertions(+), 34 deletions(-) diff --git a/.github/workflows/update-submodules.yml b/.github/workflows/update-submodules.yml index 55165ca9b7..98818d39f2 100644 --- a/.github/workflows/update-submodules.yml +++ b/.github/workflows/update-submodules.yml @@ -23,45 +23,45 @@ jobs: # `git submodule update --remote --merge` used to fail here with # "Committer identity unknown" because the merge inside vendor/ruvector # needs an author when the pinned commit isn't a fast-forward of upstream. - - name: Configure git identity - run: | - git config --global user.name "github-actions[bot]" - git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com" + - name: Configure git identity + run: | + git config --global user.name "github-actions[bot]" + git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com" # Use a plain `--remote` checkout (detached HEAD at each submodule's # configured `branch` tip from .gitmodules) rather than `--merge`. We only # want to bump the superproject's gitlink to the latest upstream commit; # there's no reason to create merge commits inside the vendored repos, and # `--merge` breaks whenever the current pin has diverged from that branch. - - name: Update submodules to latest tracked branch - run: | - git submodule sync --recursive - git submodule update --remote --recursive + - name: Update submodules to latest tracked branch + run: | + git submodule sync --recursive + git submodule update --remote --recursive - - name: Check for changes - id: check - run: | - if git diff --quiet; then - echo "changed=false" >> "$GITHUB_OUTPUT" - else - echo "changed=true" >> "$GITHUB_OUTPUT" - echo "--- submodule pointer changes ---" - git submodule status --recursive || true - git diff --submodule=log -- vendor/ || true - fi + - name: Check for changes + id: check + run: | + if git diff --quiet; then + echo "changed=false" >> "$GITHUB_OUTPUT" + else + echo "changed=true" >> "$GITHUB_OUTPUT" + echo "--- submodule pointer changes ---" + git submodule status --recursive || true + git diff --submodule=log -- vendor/ || true + fi - - name: Create PR with updates - if: steps.check.outputs.changed == 'true' - run: | - BRANCH="chore/update-submodules-$(date +%Y%m%d-%H%M%S)" - git checkout -b "$BRANCH" - git add vendor/ - git commit -m "chore: update vendor submodules to latest upstream" - git push origin "$BRANCH" - gh pr create \ - --title "chore: update vendor submodules" \ - --body "Automated submodule update to the latest upstream commit on each submodule's tracked branch (see \`.gitmodules\`). Review the pointer diff before merging." \ - --base main \ - --head "$BRANCH" - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Create PR with updates + if: steps.check.outputs.changed == 'true' + run: | + BRANCH="chore/update-submodules-$(date +%Y%m%d-%H%M%S)" + git checkout -b "$BRANCH" + git add vendor/ + git commit -m "chore: update vendor submodules to latest upstream" + git push origin "$BRANCH" + gh pr create \ + --title "chore: update vendor submodules" \ + --body "Automated submodule update to the latest upstream commit on each submodule's tracked branch (see \`.gitmodules\`). Review the pointer diff before merging." \ + --base main \ + --head "$BRANCH" + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 66b961c131e522f2b0d23e3d127f12c8f34a31b2 Mon Sep 17 00:00:00 2001 From: TRAVIS ALLAN EARNEST <339955582+travisearnest1017-collab@users.noreply.github.com> Date: Wed, 11 Nov 2026 18:08:06 -0800 Subject: [PATCH 4/5] fix: rewrite update-submodules.yml with valid indentation --- .github/workflows/update-submodules.yml | 70 ++++++++++++------------- 1 file changed, 35 insertions(+), 35 deletions(-) diff --git a/.github/workflows/update-submodules.yml b/.github/workflows/update-submodules.yml index 98818d39f2..ebfe711f5d 100644 --- a/.github/workflows/update-submodules.yml +++ b/.github/workflows/update-submodules.yml @@ -13,7 +13,7 @@ jobs: update: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v5 with: submodules: true fetch-depth: 0 @@ -23,45 +23,45 @@ jobs: # `git submodule update --remote --merge` used to fail here with # "Committer identity unknown" because the merge inside vendor/ruvector # needs an author when the pinned commit isn't a fast-forward of upstream. - - name: Configure git identity - run: | - git config --global user.name "github-actions[bot]" - git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com" + - name: Configure git identity + run: | + git config --global user.name "github-actions[bot]" + git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com" # Use a plain `--remote` checkout (detached HEAD at each submodule's # configured `branch` tip from .gitmodules) rather than `--merge`. We only # want to bump the superproject's gitlink to the latest upstream commit; # there's no reason to create merge commits inside the vendored repos, and # `--merge` breaks whenever the current pin has diverged from that branch. - - name: Update submodules to latest tracked branch - run: | - git submodule sync --recursive - git submodule update --remote --recursive + - name: Update submodules to latest tracked branch + run: | + git submodule sync --recursive + git submodule update --remote --recursive - - name: Check for changes - id: check - run: | - if git diff --quiet; then - echo "changed=false" >> "$GITHUB_OUTPUT" - else - echo "changed=true" >> "$GITHUB_OUTPUT" - echo "--- submodule pointer changes ---" - git submodule status --recursive || true - git diff --submodule=log -- vendor/ || true - fi + - name: Check for changes + id: check + run: | + if git diff --quiet; then + echo "changed=false" >> "$GITHUB_OUTPUT" + else + echo "changed=true" >> "$GITHUB_OUTPUT" + echo "--- submodule pointer changes ---" + git submodule status --recursive || true + git diff --submodule=log -- vendor/ || true + fi - - name: Create PR with updates - if: steps.check.outputs.changed == 'true' - run: | - BRANCH="chore/update-submodules-$(date +%Y%m%d-%H%M%S)" - git checkout -b "$BRANCH" - git add vendor/ - git commit -m "chore: update vendor submodules to latest upstream" - git push origin "$BRANCH" - gh pr create \ - --title "chore: update vendor submodules" \ - --body "Automated submodule update to the latest upstream commit on each submodule's tracked branch (see \`.gitmodules\`). Review the pointer diff before merging." \ - --base main \ - --head "$BRANCH" - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Create PR with updates + if: steps.check.outputs.changed == 'true' + run: | + BRANCH="chore/update-submodules-$(date +%Y%m%d-%H%M%S)" + git checkout -b "$BRANCH" + git add vendor/ + git commit -m "chore: update vendor submodules to latest upstream" + git push origin "$BRANCH" + gh pr create \ + --title "chore: update vendor submodules" \ + --body "Automated submodule update to the latest upstream commit on each submodule's tracked branch (see \`.gitmodules\`). Review the pointer diff before merging." \ + --base main \ + --head "$BRANCH" + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 52d0e974c0197ff39ecc39197f221932391b9cf1 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 12 Nov 2026 02:09:58 +0000 Subject: [PATCH 5/5] chore: update vendor submodules to latest upstream --- vendor/metaharness | 2 +- vendor/midstream | 2 +- vendor/rufield | 2 +- vendor/ruvector | 2 +- vendor/rvcsi | 2 +- vendor/sublinear-time-solver | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/vendor/metaharness b/vendor/metaharness index e0dfd44da7..1dc8f00977 160000 --- a/vendor/metaharness +++ b/vendor/metaharness @@ -1 +1 @@ -Subproject commit e0dfd44da72b7adfb7c57fdd42d124be58ed7086 +Subproject commit 1dc8f009771c763c9b37d04d17e7bd8a9ec7feba diff --git a/vendor/midstream b/vendor/midstream index abe78d62da..4a9c6d9790 160000 --- a/vendor/midstream +++ b/vendor/midstream @@ -1 +1 @@ -Subproject commit abe78d62daa3b83844547f8ccbd2c283b0444d28 +Subproject commit 4a9c6d97904fe070d80407508e20d9db8ffc4fe3 diff --git a/vendor/rufield b/vendor/rufield index b74bc035e4..82ffc26761 160000 --- a/vendor/rufield +++ b/vendor/rufield @@ -1 +1 @@ -Subproject commit b74bc035e4a3d4023665aa5479b41e938facd113 +Subproject commit 82ffc267617c59b91d32f7fcfc77896988fd0012 diff --git a/vendor/ruvector b/vendor/ruvector index 46d816ddc4..0539f2b7b6 160000 --- a/vendor/ruvector +++ b/vendor/ruvector @@ -1 +1 @@ -Subproject commit 46d816ddc4c2a8a06cd3613534a79b1d557d858b +Subproject commit 0539f2b7b605feb3f2c4b8b17135d41a23163059 diff --git a/vendor/rvcsi b/vendor/rvcsi index 3e1bdbdb3a..ee47a7abe5 160000 --- a/vendor/rvcsi +++ b/vendor/rvcsi @@ -1 +1 @@ -Subproject commit 3e1bdbdb3a6e2a35c3e5019e083135f7abea7188 +Subproject commit ee47a7abe58a6a24e1af73a4f2d0a7683fd0818c diff --git a/vendor/sublinear-time-solver b/vendor/sublinear-time-solver index 6ef45761e9..b945e269ea 160000 --- a/vendor/sublinear-time-solver +++ b/vendor/sublinear-time-solver @@ -1 +1 @@ -Subproject commit 6ef45761e9a27029cf968322b3967364499e3b5d +Subproject commit b945e269ea1a910d0d7ce6e3eea4aa2ecf4aa191