Skip to content

Wingbox pull request check: live example - #1

Draft
it-baron wants to merge 11 commits into
mainfrom
wingbox-check-trial
Draft

it-baron wants to merge 11 commits into
mainfrom
wingbox-check-trial

Conversation

@it-baron

@it-baron it-baron commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

A live example of the Wingbox Pull Request Check on this repository.

  • .github/workflows/wingbox.yml: on every pull request the action builds the code graph on the runner and writes one comment: what changed, and which modules outside the pull request use it.
  • packages/ccbox/src/infra/session_detail.rs: a module doc comment and a one-line change inside the private function looks_like_claude_jsonl. The comment below names the public functions that call it and the modules that call those.

Draft: kept open as an example; not meant to be merged.

Adds the workflow that comments on a pull request with the modules that depend
on the changed files, and a module doc comment in session_detail.rs so that
this pull request changes a file other modules use.
@github-actions

github-actions Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

Wingbox: 2 items touched by this change are used by 6 modules outside this pull request

This change edits what it is checked by

  • .github/workflows/wingbox.yml (added): the workflow that runs this check

The findings are judged with these files as the base has them (commit 84f5997): what only this change's own edit accepts is reported as new. A change of these files needs the review of someone other than its author.

load_session_timeline (function, packages/ccbox/src/infra/session_detail.rs:99) calls detect_log_format, which calls looks_like_claude_jsonl, which changed. These modules use it and are not in the pull request:

  • packages/ccbox/src/cli calls it at packages/ccbox/src/cli/mod.rs:692 and in 2 more places
  • packages/ccbox/src/infra/codex_fork calls it at packages/ccbox/src/infra/codex_fork.rs:375 and in 1 more place
  • packages/ccbox/src/infra/opencode calls it at packages/ccbox/src/infra/opencode.rs:1087
  • packages/ccbox/src/infra/providers calls it at packages/ccbox/src/infra/providers.rs:316 and in 2 more places
  • packages/ccbox/src/main calls it at packages/ccbox/src/main.rs:2005 and in 1 more place
  • packages/ccbox/src/remote/control calls it at packages/ccbox/src/remote/control.rs:1223 and in 1 more place

load_last_assistant_output (function, packages/ccbox/src/infra/session_detail.rs:32) calls detect_log_format, which calls looks_like_claude_jsonl, which changed. This module uses it and is not in the pull request:

  • packages/ccbox/src/infra/providers calls it at packages/ccbox/src/infra/providers.rs:328 and in 2 more places
More: the picture, 2 modules that use the changed files but not what changed, 1 through a facade or declaration, 7 within 2 hops, 1 file outside the code graph

Blast radius

%%{init: {"flowchart": {"nodeSpacing": 12, "rankSpacing": 60, "padding": 8}}}%%
flowchart RL
  subgraph pr["Changed files"]
    c0["packages/ccbox/src/infra/session_detail.rs"]
  end
  subgraph g0["packages/ccbox/"]
    m0("src/cli")
    m1("src/infra/claude")
    m2("src/infra/codex_fork")
    m3("src/infra/gemini")
    m4("src/infra/opencode")
    m5("src/infra/providers")
    m6("src/main")
    m7("src/remote/control")
    m8("src/app")
    m9("src/app/mouse")
    m10("src/infra")
    m11("src/infra/clipboard")
    m12("src/infra/scan_all")
    m13("src/infra/session_index")
    m14("src/infra/tasks")
    m15("src/remote")
  end
  m0 --> c0
  m1 --> c0
  m2 --> c0
  m3 --> c0
  m4 --> c0
  m5 --> c0
  m6 --> c0
  m7 --> c0
  m8 -.-> m10
  m9 -.-> m10
  m10 -.-> c0
  m11 -.-> m10
  m12 -.-> m10
  m13 -.-> m10
  m14 -.-> m10
  m15 -.-> m10
  classDef changed stroke-width:3px
  classDef far stroke-dasharray:5 4
  class c0 changed
  class m8,m9,m10,m11,m12,m13,m14,m15 far
Loading

An arrow points from a module to what it uses. Thick border: changed in this pull request. Dashed: it reaches a changed file through a module facade, a declaration or within 2 hops.

Use the changed files but not the items that changed: 2 module(s), by folder: packages/ccbox/ 2.

Through packages/ccbox/src/infra/session_detail.rs (a module facade or the declaration of the file): 1 module(s), by folder: packages/ccbox/ 1. They see the change only if it alters an item they use.

Within 2 hops, by folder: packages/ccbox/ 7.

Not in the code graph (1: documents, configuration or deleted files): .github/workflows/wingbox.yml.

No new boundary finding.

Not checked: part packages/ccbox (its style has no layers); part packages/ccbox-relay (it has too few files to judge); part packages/ccbox-remote-web (its style has no layers); part packages/ccbox-web (it has too few files to judge). No finding is reported there, and that is not a pass. No part of this repository could be checked against boundary rules.

Interactive map: the artifact wingbox-map of this workflow run.

Verdicts

  • Boundaries, introduced by this change: UNKNOWN (not-checked: packages/ccbox (no-layer-style); not-checked: packages/ccbox-relay (too-few-files); not-checked: packages/ccbox-remote-web (no-layer-style); not-checked: packages/ccbox-web (too-few-files))
  • Boundaries, there before this change: UNKNOWN: no violation was found, but not everything was checked
  • Baseline: no accepted break
  • Tests: none
  • Coverage: incomplete (not-checked: packages/ccbox (no-layer-style); not-checked: packages/ccbox-relay (too-few-files); not-checked: packages/ccbox-remote-web (no-layer-style); not-checked: packages/ccbox-web (too-few-files))
  • Eligible as evidence: no (boundaries-introduced: UNKNOWN; boundaries-existing: UNKNOWN; tests: none; coverage: incomplete)
Review plan for an agent
(review-plan :schema 1 :result UNKNOWN :execution ok :base db83e3e60fca7c5c33bad2d78bc312719fdb7401 :head d4af71dc6871dc55820a2cb1d8bcd8cf4321a55c :wingbox "0.19.1" :hops 2 :checked e69f3e97ec9344562790d070baa63e81aa915ee7 :tree merge)
(reason "not-checked: packages/ccbox (no-layer-style)")
(reason "not-checked: packages/ccbox-relay (too-few-files)")
(reason "not-checked: packages/ccbox-remote-web (no-layer-style)")
(reason "not-checked: packages/ccbox-web (too-few-files)")
(policy-changed ".github/workflows/wingbox.yml" :kind workflow :how added)
(policy-of-base 84f5997f16740e318408059169264aaf846b758c)
(changed-item "packages/ccbox/src/infra/session_detail.rs" load_session_timeline :kind fn :line 99 :how calls :via (detect_log_format looks_like_claude_jsonl))
(look "packages/ccbox/src/cli/mod.rs" 692 :module packages/ccbox/src/cli :why call :item load_session_timeline :places 3)
(look "packages/ccbox/src/infra/codex_fork.rs" 375 :module packages/ccbox/src/infra/codex_fork :why call :item load_session_timeline :places 2)
(look "packages/ccbox/src/infra/opencode.rs" 1087 :module packages/ccbox/src/infra/opencode :why call :item load_session_timeline :places 1)
(look "packages/ccbox/src/infra/providers.rs" 316 :module packages/ccbox/src/infra/providers :why call :item load_session_timeline :places 3)
(look "packages/ccbox/src/main.rs" 2005 :module packages/ccbox/src/main :why call :item load_session_timeline :places 2)
(look "packages/ccbox/src/remote/control.rs" 1223 :module packages/ccbox/src/remote/control :why call :item load_session_timeline :places 2)
(changed-item "packages/ccbox/src/infra/session_detail.rs" load_last_assistant_output :kind fn :line 32 :how calls :via (detect_log_format looks_like_claude_jsonl))
(look "packages/ccbox/src/infra/providers.rs" 328 :module packages/ccbox/src/infra/providers :why call :item load_last_assistant_output :places 3)
(not-checked "packages/ccbox" :reason no-layer-style)
(not-checked "packages/ccbox-relay" :reason too-few-files)
(not-checked "packages/ccbox-remote-web" :reason no-layer-style)
(not-checked "packages/ccbox-web" :reason too-few-files)
(checked :modules 0)
(coverage :complete false :graph FRESH)
(coverage-gap "not-checked: packages/ccbox (no-layer-style)")
(coverage-gap "not-checked: packages/ccbox-relay (too-few-files)")
(coverage-gap "not-checked: packages/ccbox-remote-web (no-layer-style)")
(coverage-gap "not-checked: packages/ccbox-web (too-few-files)")
(changed-file ".github/workflows/wingbox.yml" :sha256 1ebd6ef04e1905b4d53de240bc5dabef857b8c72f9ea463505de13c62bb2e730 :commit e69f3e97ec9344562790d070baa63e81aa915ee7)
(changed-file "packages/ccbox/src/infra/session_detail.rs" :sha256 139a94f9f41e6d9c5ab7d93e0922985df95727d71794f3fb73d5f3b85cd42ec6 :commit e69f3e97ec9344562790d070baa63e81aa915ee7)

Wingbox 0.19.1, base db83e3e, head d4af71d, checked as merged into the base (commit e69f3e9). Built and checked on the runner, without a language model; no code left it.

@it-baron it-baron changed the title Trial: Wingbox pull request check Wingbox pull request check: live example Nov 18, 2026
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.

1 participant