From 4aa16c93babe752bb4dda13f0d0a6140ce98fe76 Mon Sep 17 00:00:00 2001 From: Aleksei Kudriashov Date: Wed, 18 Nov 2026 19:11:57 +0100 Subject: [PATCH 01/11] Trial: Wingbox pull request check 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/workflows/wingbox.yml | 15 +++++++++++++++ packages/ccbox/src/infra/session_detail.rs | 2 ++ 2 files changed, 17 insertions(+) create mode 100644 .github/workflows/wingbox.yml diff --git a/.github/workflows/wingbox.yml b/.github/workflows/wingbox.yml new file mode 100644 index 0000000..4daa56d --- /dev/null +++ b/.github/workflows/wingbox.yml @@ -0,0 +1,15 @@ +name: wingbox +on: pull_request +permissions: + contents: read + pull-requests: write +jobs: + check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - uses: aileron-tech/wingbox-action@main + with: + upload-map: true diff --git a/packages/ccbox/src/infra/session_detail.rs b/packages/ccbox/src/infra/session_detail.rs index a5e5bfb..5e511d6 100644 --- a/packages/ccbox/src/infra/session_detail.rs +++ b/packages/ccbox/src/infra/session_detail.rs @@ -1,3 +1,5 @@ +//! Session detail: loads the timeline and the last assistant output of one session from its log. + use crate::domain::{ ParsedLogLine, SessionTimeline, TimelineItem, TimelineItemKind, parse_log_value, }; From 5b8d8cf4603f36246ef175c9dde374d405cef668 Mon Sep 17 00:00:00 2001 From: Aleksei Kudriashov Date: Wed, 18 Nov 2026 19:14:42 +0100 Subject: [PATCH 02/11] Trial: second push, to see the comment updated in place --- packages/ccbox/src/infra/session_detail.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ccbox/src/infra/session_detail.rs b/packages/ccbox/src/infra/session_detail.rs index 5e511d6..799d579 100644 --- a/packages/ccbox/src/infra/session_detail.rs +++ b/packages/ccbox/src/infra/session_detail.rs @@ -1,4 +1,4 @@ -//! Session detail: loads the timeline and the last assistant output of one session from its log. +//! Session detail: loads the timeline and the last assistant output of one session from its log file. use crate::domain::{ ParsedLogLine, SessionTimeline, TimelineItem, TimelineItemKind, parse_log_value, From 7420d786f0db3830b1d6f5d1fb11134de3a942a7 Mon Sep 17 00:00:00 2001 From: Aleksei Kudriashov Date: Wed, 18 Nov 2026 20:28:53 +0100 Subject: [PATCH 03/11] Trial: use the released action (v1) --- .github/workflows/wingbox.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/wingbox.yml b/.github/workflows/wingbox.yml index 4daa56d..a684cc3 100644 --- a/.github/workflows/wingbox.yml +++ b/.github/workflows/wingbox.yml @@ -10,6 +10,6 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: aileron-tech/wingbox-action@main + - uses: aileron-tech/wingbox-action@v1 with: upload-map: true From 8c5ed0806d95a4a5096c881583db4a8474c9686b Mon Sep 17 00:00:00 2001 From: Aleksei Kudriashov Date: Wed, 18 Nov 2026 21:10:15 +0100 Subject: [PATCH 04/11] Run the check with the action 1.1.0 From 84fc34272a99ef42195544d39577b8773e733127 Mon Sep 17 00:00:00 2001 From: it-baron <10120128+it-baron@users.noreply.github.com> Date: Wed, 18 Nov 2026 21:12:11 +0100 Subject: [PATCH 05/11] Example: look at the first 100 lines when telling a Claude log from a Codex one A one-line change inside a private function, so that the Wingbox check has an item to name: it reports the public functions that call this one and who calls them. --- packages/ccbox/src/infra/session_detail.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ccbox/src/infra/session_detail.rs b/packages/ccbox/src/infra/session_detail.rs index 799d579..23070c6 100644 --- a/packages/ccbox/src/infra/session_detail.rs +++ b/packages/ccbox/src/infra/session_detail.rs @@ -293,7 +293,7 @@ fn detect_log_format(path: &Path) -> LogFormat { } fn looks_like_claude_jsonl(path: &Path) -> bool { - for value in read_jsonl_values(path, 50) { + for value in read_jsonl_values(path, 100) { let line_type = value.get("type").and_then(|v| v.as_str()).unwrap_or(""); if matches!( line_type, From 93e59dd1515bf01243cac5bd7ad6f3e59ca33977 Mon Sep 17 00:00:00 2001 From: Aleksei Kudriashov Date: Wed, 18 Nov 2026 22:06:23 +0100 Subject: [PATCH 06/11] Run the check with the action 1.2.0 From 11d7c879eb404b821194099e628f6753126f848a Mon Sep 17 00:00:00 2001 From: Aleksei Kudriashov Date: Thu, 19 Nov 2026 08:05:25 +0100 Subject: [PATCH 07/11] Rerun the Wingbox check with action 1.4.0 From 8baf3974c07b6d1d96da6e1ecf85889fe30857d8 Mon Sep 17 00:00:00 2001 From: Aleksei Kudriashov Date: Thu, 19 Nov 2026 09:48:34 +0100 Subject: [PATCH 08/11] Rerun the Wingbox check with action 1.4.1 From 33407e6c5bf998efd031a4bf3d9182bd3d6fbab5 Mon Sep 17 00:00:00 2001 From: Aleksei Kudriashov Date: Thu, 19 Nov 2026 12:21:31 +0100 Subject: [PATCH 09/11] Rerun the Wingbox check with action 1.4.2 From 714b8d1b146bca9acca235d384679454143ba3eb Mon Sep 17 00:00:00 2001 From: Aleksei Kudriashov Date: Thu, 19 Nov 2026 14:04:00 +0100 Subject: [PATCH 10/11] Rerun the Wingbox check with action 1.5.0 From d4af71dc6871dc55820a2cb1d8bcd8cf4321a55c Mon Sep 17 00:00:00 2001 From: Aleksei Kudriashov Date: Thu, 19 Nov 2026 16:59:39 +0100 Subject: [PATCH 11/11] Rerun the check with the action at 1.6.0