From 9ee1baa3a36b1f6410137615350d38a0555487ce Mon Sep 17 00:00:00 2001 From: ivanmilevtues Date: Tue, 14 Jul 2026 14:20:37 +0200 Subject: [PATCH 1/2] test: exercise action against Core tree-sitter fix --- .github/workflows/codeboarding.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/codeboarding.yml b/.github/workflows/codeboarding.yml index 40b61d7..ac9930a 100644 --- a/.github/workflows/codeboarding.yml +++ b/.github/workflows/codeboarding.yml @@ -116,3 +116,7 @@ jobs: with: github_token: ${{ steps.codeboarding-app-token-client.outputs.token || steps.codeboarding-app-token-app.outputs.token || github.token }} llm_api_key: ${{ secrets.OPENROUTER_API_KEY }} + # Integration-test Core PR #412, pinned to its current commit so this + # workflow exercises its Tree-sitter constraints reproducibly. + # action.yml accepts a PEP 508 suffix for unreleased engine builds. + codeboarding_version: '@ git+https://github.com/CodeBoarding/CodeBoarding.git@da89f3bf0b56e0a5afeb61e171892942c54766fe' From 72926bc02d7e23c9566aab09e49aa4b742568f28 Mon Sep 17 00:00:00 2001 From: ivanmilevtues Date: Tue, 14 Jul 2026 14:33:11 +0200 Subject: [PATCH 2/2] fix: update Core dependency to 0.13.1 --- .github/workflows/codeboarding.yml | 4 ---- README.md | 4 ++-- action.yml | 2 +- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/codeboarding.yml b/.github/workflows/codeboarding.yml index ac9930a..40b61d7 100644 --- a/.github/workflows/codeboarding.yml +++ b/.github/workflows/codeboarding.yml @@ -116,7 +116,3 @@ jobs: with: github_token: ${{ steps.codeboarding-app-token-client.outputs.token || steps.codeboarding-app-token-app.outputs.token || github.token }} llm_api_key: ${{ secrets.OPENROUTER_API_KEY }} - # Integration-test Core PR #412, pinned to its current commit so this - # workflow exercises its Tree-sitter constraints reproducibly. - # action.yml accepts a PEP 508 suffix for unreleased engine builds. - codeboarding_version: '@ git+https://github.com/CodeBoarding/CodeBoarding.git@da89f3bf0b56e0a5afeb61e171892942c54766fe' diff --git a/README.md b/README.md index 9a92def..b922584 100644 --- a/README.md +++ b/README.md @@ -264,7 +264,7 @@ Review mode does not need `contents: write`: PR-specific generated files are sto | `mode` | both | `review` | `review` posts the PR architecture-diff comment; `sync` analyzes on push and commits the architecture (`analysis.json` + rendered docs) to `target_branch`, keeping it versioned and current. | | `github_token` | both | `${{ github.token }}` | Token for GitHub API calls; in review mode it posts or updates the PR comment. | | `push_token` | sync | `${{ github.token }}` | Token used for sync-mode pushes to `target_branch`. The workflow token can push when the workflow grants `permissions: contents: write`. Separate from `github_token` so commenting can use a GitHub App token while the push uses the workflow token. | -| `codeboarding_version` | both | `0.13.0` | CodeBoarding PyPI package version used as the analysis engine. Pin for reproducibility. | +| `codeboarding_version` | both | `0.13.1` | CodeBoarding PyPI package version used as the analysis engine. Pin for reproducibility. | | `depth_level` | both | empty (`2` for cold starts) | Analysis depth for first analysis and `force_full` rebuilds. Max depends on tier: **3** on the free hosted tier, **10** with a CodeBoarding license or your own `llm_api_key`. Once `.codeboarding/analysis.json` exists, its `metadata.depth_level` is the source of truth: sync runs incremental at the baseline depth, and review analyzes the PR head at the committed baseline depth so the diff is apples-to-apples (clamped to the tier max). | | `render_depth` | review | `1` | Display depth for the PR diagram. Keep `1` for a clean top-level view. | | `diagram_direction` | review | `LR` | Mermaid direction: `LR`, `TD`, `TB`, `RL`, or `BT`. | @@ -315,7 +315,7 @@ Full local pipeline: ```bash export OPENROUTER_API_KEY=sk-or-... -python -m pip install codeboarding==0.13.0 +python -m pip install codeboarding==0.13.1 codeboarding-setup --auto-install-npm scripts/run_local.sh --repo /path/to/repo --base --head ``` diff --git a/action.yml b/action.yml index b78be32..32289a1 100644 --- a/action.yml +++ b/action.yml @@ -34,7 +34,7 @@ inputs: codeboarding_version: description: 'CodeBoarding PyPI package version used as the analysis engine. Pin for reproducibility; set to a newer released version to opt into newer engine releases.' required: false - default: '0.13.0' + default: '0.13.1' depth_level: description: 'Analysis depth for cold-start or force_full rebuilds. Max depends on tier: 3 on the free hosted tier, 10 with a CodeBoarding license or your own llm_api_key. Once .codeboarding/analysis.json exists, its metadata.depth_level is the source of truth: sync runs incremental at the baseline depth, and review analyzes the PR head at the committed baseline depth so the diff is apples-to-apples (clamped to the tier max). Empty (default): 2 for cold starts.' required: false