Skip to content

fix: install CodeBoarding engine from PyPI#44

Merged
Svilen-Stefanov merged 3 commits into
mainfrom
fix/pip-package-action-build
Jun 19, 2026
Merged

fix: install CodeBoarding engine from PyPI#44
Svilen-Stefanov merged 3 commits into
mainfrom
fix/pip-package-action-build

Conversation

@ivanmilevtues

Copy link
Copy Markdown
Member

Summary

  • install the CodeBoarding engine from the published PyPI package instead of checking out CodeBoarding/CodeBoarding
  • replace engine_ref with codeboarding_version and update action cache keys
  • update engine_adapter docs, local harness, and README usage to match the package-based runtime

Validation

  • ruby -e 'require "yaml"; YAML.load_file("action.yml")'
  • python3.13 -m pip index versions codeboarding
  • python3 -m unittest discover -s tests -v

Self-test note

This repo's pull_request review workflow checks out the PR and runs the action with uses: ./, so the PR-open workflow should exercise this branch's action code. Slash-command issue_comment reruns may use the default branch checkout unless that workflow is changed to fetch the PR head explicitly.

@ivanmilevtues ivanmilevtues force-pushed the fix/pip-package-action-build branch from 3efd5b6 to 4cac22f Compare June 18, 2026 22:24
@Svilen-Stefanov Svilen-Stefanov self-requested a review June 18, 2026 23:39
@Svilen-Stefanov Svilen-Stefanov self-assigned this Jun 18, 2026
Svilen-Stefanov and others added 2 commits June 19, 2026 01:41
Bump the codeboarding_version default to 0.12.3 (latest published) across
action.yml and the README.

Also switch the action's setup-python from 3.13 to 3.12: the codeboarding
package's transitive dep langchain-cerebras (>=0.8) is published only for
>=3.11,<3.13, so a 3.13 runner cannot resolve the engine install (true for
both 0.12.2 and 0.12.3). Verified 0.12.3 installs cleanly on 3.12 and the
codeboarding-setup entry point is present.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The review workflow dogfoods via `uses: ./`, but on issue_comment events
actions/checkout defaults to the repo's default branch (the event isn't tied
to a PR), so /codeboarding ran main's action code instead of the PR's. Pass an
explicit ref (refs/pull/<n>/head) for issue_comment so the comment path
exercises the PR under review too; pull_request events keep checkout's default
(the PR merge ref), so they are unchanged.

Takes effect once on main, since GitHub reads the issue_comment workflow
definition from the default branch.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@codeboarding-review

codeboarding-review Bot commented Jun 18, 2026

Copy link
Copy Markdown

Architecture review · 1 component changed

graph LR
    n_Analysis_Orchestrator["Analysis Orchestrator"]
    n_Structural_Diffing_Engine["Structural Diffing Engine"]
    n_Mermaid_Visualization_Engine["Mermaid Visualization Engine"]
    n_UX_Integration_Layer["UX #38; Integration Layer"]
    n_Analysis_Orchestrator -- "triggers health checks and status reporting" --> n_UX_Integration_Layer
    n_Structural_Diffing_Engine -- "provides structural change data for diagram gen…" --> n_Mermaid_Visualization_Engine
    n_Structural_Diffing_Engine -- "supplies change metrics and rendered diffs for…" --> n_UX_Integration_Layer
    n_Mermaid_Visualization_Engine -- "queries specific file changes to resolve compon…" --> n_Structural_Diffing_Engine
    n_Mermaid_Visualization_Engine -- "provides component change counts for summary re…" --> n_UX_Integration_Layer
    n_UX_Integration_Layer -- "applies visibility filters to diagram rendering" --> n_Mermaid_Visualization_Engine
    classDef added fill:#1f883d,stroke:#0b5d23,color:#ffffff;
    classDef modified fill:#bf8700,stroke:#7d4e00,color:#ffffff;
    classDef deleted fill:#cf222e,stroke:#82071e,color:#ffffff,stroke-dasharray:5 3;
    class n_Analysis_Orchestrator,n_UX_Integration_Layer modified;
Loading

Colors indicate component changes compared to target branch main: 🟩 Added · 🟨 Modified · 🟥 Removed

Download the PR analysis artifacts from this workflow artifact.

Analysis Orchestrator : 1 changed sub-component, 1 file changed
  • scripts/engine_adapter.py
UX & Integration Layer : 1 file changed
  • scripts/engine_adapter.py

⚠️ 1 architecture issue found — open CodeBoarding to explore them.

Explore this PR’s architecture in your browser or VS Code.

codeboarding-action · run 27796755068

@Svilen-Stefanov Svilen-Stefanov merged commit 224aa76 into main Jun 19, 2026
6 checks passed
@Svilen-Stefanov Svilen-Stefanov deleted the fix/pip-package-action-build branch June 19, 2026 01:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants