Skip to content

repair(ci): format consolidated supply-chain policy test - #1176

Draft
seonghobae wants to merge 7 commits into
developfrom
bolt-performance-chart-export-13223013812255847379
Draft

repair(ci): format consolidated supply-chain policy test#1176
seonghobae wants to merge 7 commits into
developfrom
bolt-performance-chart-export-13223013812255847379

Conversation

@seonghobae

@seonghobae seonghobae commented Sep 6, 2026

Copy link
Copy Markdown
Collaborator

Repair finding

Protected develop@314ddeae7b775a4957594b599358c8255617eb2e contains a Ruff-formatting defect introduced with the #1165 repository-workflow consolidation. The protected-base blob services/analysis-engine/tests/test_supply_chain_policy.py@1d8224c5a5c8d45d4238b72fb4774275e41ab207 is inherited by canonical Project Persistence #970 and current Resource Admission #866, so duplicating the fix into either product lane would violate single-writer ownership.

Recovered valid delta

This PR had previously mixed chart-export work that is owned elsewhere. Ordinary descendants restored .jules/bolt.md and services/analysis-engine/src/bandscope_analysis/exports/chart.py byte-for-byte to protected develop. The only live diff is the repository-pinned Ruff formatting change in services/analysis-engine/tests/test_supply_chain_policy.py: one semantically equivalent assertion is collapsed to the formatter output.

Current exact head: 8fe6b6d99c009527ef0bcba419e6f6debdb23c23. It is an empty retry descendant over the semantic repair a7b0030a3a6cc6296a19ba3f8eaf595d470d05bd; the source tree remains the same one-file repair. No workflow, product behavior, dependency, audio/MIR, filesystem, model, release, gate, or assertion semantics change.

Exact-head repository evidence

Fresh evidence on unchanged exact 8fe6b6d99c009527ef0bcba419e6f6debdb23c23 is now:

  • ci run 34072437377: terminal success;
  • build-baseline run 34072437358: terminal success;
  • sbom run 34072437378: terminal success;
  • Security Scan run 34072437423: terminal success;
  • SAST Semgrep run 34072437368: terminal success;
  • CodeQL PR run 34072437359: terminal failure.

The earlier runner_id=0 diagnosis is obsolete. All three CodeQL compatibility shards eventually received real GitHub-hosted runners. In javascript-typescript job 101601108559, python 101601108582, and actions 101601108594, Request current-head CodeQL scan dispatch succeeded and the following Release runner or enforce current-head CodeQL verdict step failed. Fresh commit-status history for this exact BandScope head contains only Devin Review and CodeRabbit statuses; no codeql-dispatch/* terminal receipt/status is present.

This exact consumer evidence has been delivered to canonical central recovery owner ContextualWisdomLab/.github#1902, whose contract explicitly repairs the invalid assumption that a prior dispatch/run attempt implies an authenticated terminal verdict exists. BandScope will not synthesize a status or restore a duplicate local CodeQL scanner.

Review evidence

Fresh inline review-thread inventory is empty and formal review inventory is empty. CodeRabbit's semantic-tree review through a7b0030a3a6cc6296a19ba3f8eaf595d470d05bd found no actionable issue in the one-file formatter delta, but the current empty descendant is not represented by a qualifying independent last-push APPROVED. Devin Review is also not approval: the current status says the full review was skipped because the trial expired. Keep Draft.

Ownership and succession

This PR is the bounded successor repair for #1165 formatting debt only. #970 remains Project Persistence owner; #866 remains Resource Admission owner. Both must adopt this repair only after it reaches protected develop, through ordinary non-force ancestry/reconciliation. Do not copy this formatter delta into those lanes.

Merge gate

Keep Draft until the unchanged exact head has every applicable repository/central required gate terminal-success, zero valid unresolved findings, and a qualifying independent non-author last-push approval. Current CodeQL failure is a central verdict-publication/control-plane failure, not passing evidence. Do not self-approve, bypass protection, weaken gates, force-push, restore unrelated chart delta, create synthetic statuses, or add no-op commits to game queue admission.

…ks with O(1) dictionary key deduplication in chart export
@google-labs-jules

Copy link
Copy Markdown

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@coderabbitai

coderabbitai Bot commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Team

Run ID: e5c73fbc-66b9-44ef-8eda-cad744fa5d28

📥 Commits

Reviewing files that changed from the base of the PR and between 314ddea and a7b0030.

📒 Files selected for processing (1)
  • services/analysis-engine/tests/test_supply_chain_policy.py

Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review.


📝 Walkthrough

Walkthrough

워크플로 권한 검증 assertion의 줄바꿈 형식을 단일 줄로 변경했습니다. 테스트 조건과 동작은 유지했습니다.

Changes

Supply chain policy 테스트

Layer / File(s) Summary
권한 검증 assertion 형식 정리
services/analysis-engine/tests/test_supply_chain_policy.py
권한 검증 assertion을 여러 줄 표현에서 단일 줄 표현으로 변경했습니다. 검증 조건은 동일합니다.

Estimated code review effort: 1 (매우 낮음) | ~2분

Merge Risk: ⚪ Minimal · up to a7b00

This change only reformats a supply-chain policy test assertion without changing its validation behavior, so it presents no current product or deployment risk.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 1 files.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed 제목은 test_supply_chain_policy.py의 Ruff 형식 수정이라는 주요 변경 사항을 명확하게 설명합니다.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch bolt-performance-chart-export-13223013812255847379

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Copy link
Copy Markdown
Collaborator Author

Succession receipt: canonical #1076 is now repaired onto current protected develop@314ddeae7b775a4957594b599358c8255617eb2e through ordinary non-force two-parent adoption and exact head 4d154e6c1dcf840c0cbac76f789c30d58903b9e0 (behind_by=0, five owner files only). It carries this PR's useful insertion-ordered dictionary de-duplication for active role ids, display names, cue values, and priorities, plus stronger executable contracts for duplicate ordering, unhashable/hashable/truthiness-overriding string subclasses and normalized priority text. #1176's test_supply_chain_policy.py change is formatting-only and not part of the performance contract. The simpler production patch would weaken #1076's safe-failure boundary, so it is not adopted. No #1176 checks/reviews/statuses transfer. Closing unmerged is complete semantic succession.

@seonghobae seonghobae closed this Sep 6, 2026
@google-labs-jules

Copy link
Copy Markdown

Succession receipt: canonical #1076 is now repaired onto current protected develop@314ddeae7b775a4957594b599358c8255617eb2e through ordinary non-force two-parent adoption and exact head 4d154e6c1dcf840c0cbac76f789c30d58903b9e0 (behind_by=0, five owner files only). It carries this PR's useful insertion-ordered dictionary de-duplication for active role ids, display names, cue values, and priorities, plus stronger executable contracts for duplicate ordering, unhashable/hashable/truthiness-overriding string subclasses and normalized priority text. #1176's test_supply_chain_policy.py change is formatting-only and not part of the performance contract. The simpler production patch would weaken #1076's safe-failure boundary, so it is not adopted. No #1176 checks/reviews/statuses transfer. Closing unmerged is complete semantic succession.

Understood. Acknowledging that this work has been succeeded by a different PR and this PR will be closed unmerged. Stopping work on this task.

@seonghobae seonghobae changed the title ⚡ Bolt: [performance improvement] Replace O(N^2) list membership checks with O(1) dictionary key deduplication in chart export repair(ci): format consolidated supply-chain policy test Sep 6, 2026
@seonghobae seonghobae reopened this Sep 6, 2026
@seonghobae
seonghobae marked this pull request as draft September 6, 2026 22:07

Copy link
Copy Markdown
Collaborator Author

@coderabbitai review

Please review exact head a7b0030a3a6cc6296a19ba3f8eaf595d470d05bd as a bounded inherited-base CI repair. The intended semantic delta is only Ruff formatting in services/analysis-engine/tests/test_supply_chain_policy.py; .jules/bolt.md and exports/chart.py must remain byte-identical to protected develop@314ddeae7b775a4957594b599358c8255617eb2e. Please flag any semantic assertion change, ownership leakage back into chart export, or repository-control regression. Do not treat predecessor review/check evidence as current-head evidence.

@coderabbitai

coderabbitai Bot commented Sep 6, 2026

Copy link
Copy Markdown
Contributor
🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

head_expected="a7b0030a3a6cc6296a19ba3f8eaf595d470d05bd"
base="314ddeae7b775a4957594b599358c8255617eb2e"

printf '%s\n' '== Exact HEAD =='
git rev-parse HEAD
git cat-file -t "$head_expected"
git cat-file -t "$base"
printf '%s\n' '== HEAD matches requested commit =='
test "$(git rev-parse HEAD)" = "$head_expected" && echo yes || echo no
printf '%s\n' '== Base is an ancestor of requested head =='
git merge-base --is-ancestor "$base" "$head_expected" && echo yes || echo no

printf '%s\n' '== Name-status diff: protected develop -> requested head =='
git diff --name-status "$base" "$head_expected"
printf '%s\n' '== Summary diff =='
git diff --stat "$base" "$head_expected"

printf '%s\n' '== Byte identity checks =='
for path in .jules/bolt.md exports/chart.py; do
  if git cat-file -e "${base}:${path}" 2>/dev/null && git cat-file -e "${head_expected}:${path}" 2>/dev/null; then
    if git diff --quiet "$base" "$head_expected" -- "$path"; then
      printf '%s: identical\n' "$path"
    else
      printf '%s: DIFFERENT\n' "$path"
    fi
  else
    printf '%s: missing in base or head\n' "$path"
  fi
done

printf '%s\n' '== Repository-control paths changed =='
git diff --name-status "$base" "$head_expected" -- \
  '.github' '.github/**' '.jules' '.jules/**' \
  'pyproject.toml' 'ruff.toml' '.ruff.toml' \
  'package.json' 'package-lock.json' 'poetry.lock' 'uv.lock' \
  'requirements*.txt' 'Pipfile' 'Pipfile.lock' \
  'Dockerfile' 'docker-compose*.yml' 'Makefile' || true

printf '%s\n' '== Focused diff =='
git diff --no-ext-diff --unified=80 "$base" "$head_expected" -- \
  services/analysis-engine/tests/test_supply_chain_policy.py

printf '%s\n' '== Test file outline =='
ast-grep outline services/analysis-engine/tests/test_supply_chain_policy.py --items all

Length of output: 22007


🏁 Script executed:

#!/bin/bash
set -euo pipefail

head="a7b0030a3a6cc6296a19ba3f8eaf595d470d05bd"
base="314ddeae7b775a4957594b599358c8255617eb2e"

printf '%s\n' '== Patch whitespace validation =='
git diff --check "$base" "$head"

printf '%s\n' '== Word-level diff for the only modified test file =='
git diff --word-diff=porcelain --no-ext-diff "$base" "$head" -- \
  services/analysis-engine/tests/test_supply_chain_policy.py

printf '%s\n' '== Tracked chart.py paths in base =='
git ls-tree -r --name-only "$base" | awk '(^|/)chart\.py$'
printf '%s\n' '== Tracked chart.py paths in requested head =='
git ls-tree -r --name-only "$head" | awk '(^|/)chart\.py$'

printf '%s\n' '== Diff for all tracked chart.py paths found in either tree =='
{
  git ls-tree -r --name-only "$base"
  git ls-tree -r --name-only "$head"
} | awk '(^|/)chart\.py$' | sort -u | while IFS= read -r path; do
  printf '%s\n' "--- $path"
  git diff --name-status "$base" "$head" -- "$path"
done

printf '%s\n' '== Changed paths outside the permitted test file =='
git diff --name-only "$base" "$head" | \
  awk '$0 != "services/analysis-engine/tests/test_supply_chain_policy.py" { print }'

Length of output: 2542


🏁 Script executed:

#!/bin/bash
set -euo pipefail

head="a7b0030a3a6cc6296a19ba3f8eaf595d470d05bd"
base="314ddeae7b775a4957594b599358c8255617eb2e"

base_paths="$(git ls-tree -r --name-only "$base" | grep -E '(^|/)chart\.py$' || true)"
head_paths="$(git ls-tree -r --name-only "$head" | grep -E '(^|/)chart\.py$' || true)"

printf '%s\n' '== Tracked chart.py paths in base =='
printf '%s\n' "${base_paths:-<none>}"
printf '%s\n' '== Tracked chart.py paths in requested head =='
printf '%s\n' "${head_paths:-<none>}"

printf '%s\n' '== Diff for all tracked chart.py paths =='
printf '%s\n%s\n' "$base_paths" "$head_paths" | sed '/^$/d' | sort -u | while IFS= read -r path; do
  printf '%s' "$path: "
  if git diff --quiet "$base" "$head" -- "$path"; then
    echo identical
  else
    echo DIFFERENT
    git diff --name-status "$base" "$head" -- "$path"
  fi
done

printf '%s\n' '== Exact requested exports/chart.py object status =='
for revision in "$base" "$head"; do
  if git cat-file -e "${revision}:exports/chart.py" 2>/dev/null; then
    echo "${revision}: present"
  else
    echo "${revision}: absent"
  fi
done

Length of output: 1719


@seonghobae No findings.

I verified exact head a7b0030a3a6cc6296a19ba3f8eaf595d470d05bd against develop@314ddeae7b775a4957594b599358c8255617eb2e.

  • The base commit is an ancestor of the reviewed head.
  • Only services/analysis-engine/tests/test_supply_chain_policy.py changed.
  • The changed assertion has identical operands and message. The change only removes Ruff formatter line breaks.
  • git diff --check reported no whitespace errors.
  • .jules/bolt.md is byte-identical.
  • The tracked chart export, services/analysis-engine/src/bandscope_analysis/exports/chart.py, is byte-identical.
  • exports/chart.py is not a tracked path in either tree.
  • No repository-control files changed.

This review uses current-head evidence only.

⚠️ Action not completed

Already reviewed the last commit. Use @coderabbitai full review to rerun a review of the entire changeset.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

Copy link
Copy Markdown
Collaborator Author

@coderabbitai review

Please review exact head 340b0a343ecfc05f630c7da729b8af40c7da4a2c. The tree is byte-identical to a7b0030a3a6cc6296a19ba3f8eaf595d470d05bd; the head commit is an empty Trigger CI retry commit. Scope the review to the sole diff in services/analysis-engine/tests/test_supply_chain_policy.py: verify that the Ruff-only formatting change preserves assertion semantics and that no superseded chart or workflow delta remains. Do not transfer predecessor approvals or checks.

@coderabbitai

coderabbitai Bot commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

Tip

For best results, initiate chat on the files or code changes.

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

head="340b0a343ecfc05f630c7da729b8af40c7da4a2c"
predecessor="a7b0030a3a6cc6296a19ba3f8eaf595d470d05bd"
base="314ddeae7b775a4957594b599358c8255617eb2e"
test_path="services/analysis-engine/tests/test_supply_chain_policy.py"

printf '%s\n' '== Requested commit identity =='
printf 'checked-out HEAD: '; git rev-parse HEAD
printf 'requested head object: '; git cat-file -t "$head"
printf 'predecessor object: '; git cat-file -t "$predecessor"
printf 'base object: '; git cat-file -t "$base"
printf 'HEAD matches requested: '
test "$(git rev-parse HEAD)" = "$head" && echo yes || echo no

printf '%s\n' '== Empty retry commit verification =='
printf 'head tree: '; git rev-parse "${head}^{tree}"
printf 'predecessor tree: '; git rev-parse "${predecessor}^{tree}"
printf 'trees identical: '
test "$(git rev-parse "${head}^{tree}")" = "$(git rev-parse "${predecessor}^{tree}")" && echo yes || echo no
printf '%s\n' 'commit-level patch predecessor -> head:'
git diff-tree --no-commit-id --name-status -r "$predecessor" "$head"

printf '%s\n' '== Ancestry =='
printf 'base ancestor of head: '
git merge-base --is-ancestor "$base" "$head" && echo yes || echo no
printf 'predecessor ancestor of head: '
git merge-base --is-ancestor "$predecessor" "$head" && echo yes || echo no

printf '%s\n' '== Changed paths base -> head =='
git diff --name-status "$base" "$head"
printf '%s\n' '== Paths outside permitted test file =='
git diff --name-only "$base" "$head" | awk -v permitted="$test_path" '$0 != permitted {print}' || true

printf '%s\n' '== Focused semantic diff =='
git diff --no-ext-diff --unified=30 "$base" "$head" -- "$test_path"
printf '%s\n' '== Word diff =='
git diff --no-ext-diff --word-diff=porcelain "$base" "$head" -- "$test_path"
printf '%s\n' '== Whitespace validation =='
git diff --check "$base" "$head"

printf '%s\n' '== Prohibited path identity =='
for path in \
  .jules/bolt.md \
  exports/chart.py \
  services/analysis-engine/src/bandscope_analysis/exports/chart.py; do
  printf '%s: ' "$path"
  if git cat-file -e "${base}:${path}" 2>/dev/null && git cat-file -e "${head}:${path}" 2>/dev/null; then
    git diff --quiet "$base" "$head" -- "$path" && echo identical || echo DIFFERENT
  else
    echo missing-in-base-or-head
  fi
done

printf '%s\n' '== Repository-control changes =='
git diff --name-status "$base" "$head" -- \
  '.github' '.github/**' '.jules' '.jules/**' \
  'pyproject.toml' 'ruff.toml' '.ruff.toml' \
  'package.json' 'package-lock.json' 'poetry.lock' 'uv.lock' \
  'requirements*.txt' 'Pipfile' 'Pipfile.lock' \
  'Dockerfile' 'docker-compose*.yml' 'Makefile' || true

printf '%s\n' '== Test file structure =='
ast-grep outline "$test_path" --items all

Length of output: 20282


@seonghobae No findings.

I reviewed exact head 340b0a343ecfc05f630c7da729b8af40c7da4a2c.

  • HEAD matches the requested commit.
  • Its tree is byte-identical to a7b0030a3a6cc6296a19ba3f8eaf595d470d05bd.
  • The retry commit has no file changes.
  • Relative to develop@314ddeae7b775a4957594b599358c8255617eb2e, only services/analysis-engine/tests/test_supply_chain_policy.py changed.
  • The assertion keeps the same condition and workflow_name message. Only Ruff line wrapping changed.
  • .jules/bolt.md and services/analysis-engine/src/bandscope_analysis/exports/chart.py are byte-identical to the protected base.
  • exports/chart.py is absent from both trees.
  • No workflow or repository-control files changed.
  • git diff --check reported no whitespace errors.

This review uses current-head evidence only.

You are interacting with an AI system.

@seonghobae seonghobae added bug Something isn't working priority: medium Normal-priority or P2 work status: draft Draft pull request type: bug Defect or incorrect behavior labels Sep 6, 2026 — with ChatGPT Codex Connector

Copy link
Copy Markdown
Collaborator Author

@coderabbitai review exact 8488a02a1b36a99c94b3e248e948d754ed446750. Please scope review to the sole effective diff against protected develop: Ruff formatter output in services/analysis-engine/tests/test_supply_chain_policy.py. Commits 340b0a343ecfc05f630c7da729b8af40c7da4a2c and 8488a02a1b36a99c94b3e248e948d754ed446750 are empty retry descendants with the same source tree as a7b0030a3a6cc6296a19ba3f8eaf595d470d05bd; do not treat them as semantic source changes. Please flag any assertion-semantic or policy-contract change; otherwise record no actionable finding for this exact head.

@coderabbitai

coderabbitai Bot commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Tip

For best results, initiate chat on the files or code changes.

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

head="8488a02a1b36a99c94b3e248e948d754ed446750"
retry_parent="340b0a343ecfc05f630c7da729b8af40c7da4a2c"
source_predecessor="a7b0030a3a6cc6296a19ba3f8eaf595d470d05bd"
base="314ddeae7b775a4957594b599358c8255617eb2e"
test_path="services/analysis-engine/tests/test_supply_chain_policy.py"

printf '%s\n' '== Commit identity and ancestry =='
printf 'checked-out HEAD: '; git rev-parse HEAD
printf 'requested head object: '; git cat-file -t "$head"
printf 'HEAD matches requested: '
test "$(git rev-parse HEAD)" = "$head" && echo yes || echo no
for commit in "$base" "$source_predecessor" "$retry_parent"; do
  printf '%s ancestor of requested head: ' "$commit"
  git merge-base --is-ancestor "$commit" "$head" && echo yes || echo no
done

printf '%s\n' '== Retry descendant tree identity =='
for commit in "$source_predecessor" "$retry_parent" "$head"; do
  printf '%s tree: ' "$commit"
  git rev-parse "${commit}^{tree}"
done
printf 'source predecessor tree equals requested tree: '
test "$(git rev-parse "${source_predecessor}^{tree}")" = "$(git rev-parse "${head}^{tree}")" && echo yes || echo no
printf 'retry parent tree equals requested tree: '
test "$(git rev-parse "${retry_parent}^{tree}")" = "$(git rev-parse "${head}^{tree}")" && echo yes || echo no
printf '%s\n' '== Commit-level retry patches =='
printf '%s\n' '-- source predecessor to retry parent --'
git diff-tree --no-commit-id --name-status -r "$source_predecessor" "$retry_parent"
printf '%s\n' '-- retry parent to requested head --'
git diff-tree --no-commit-id --name-status -r "$retry_parent" "$head"

printf '%s\n' '== Effective diff: protected base to requested head =='
git diff --name-status "$base" "$head"
printf '%s\n' '== Changed paths outside permitted test path =='
git diff --name-only "$base" "$head" | awk -v permitted="$test_path" '$0 != permitted { print }'

printf '%s\n' '== Focused assertion diff =='
git diff --no-ext-diff --unified=60 "$base" "$head" -- "$test_path"
printf '%s\n' '== Word diff =='
git diff --no-ext-diff --word-diff=porcelain "$base" "$head" -- "$test_path"
printf '%s\n' '== Whitespace validation =='
git diff --check "$base" "$head"

printf '%s\n' '== Protected path identity =='
for path in \
  .jules/bolt.md \
  exports/chart.py \
  services/analysis-engine/src/bandscope_analysis/exports/chart.py; do
  printf '%s: ' "$path"
  if git cat-file -e "${base}:${path}" 2>/dev/null && git cat-file -e "${head}:${path}" 2>/dev/null; then
    git diff --quiet "$base" "$head" -- "$path" && echo identical || echo DIFFERENT
  else
    echo missing-in-base-or-head
  fi
done

printf '%s\n' '== Workflow and repository-control changes =='
git diff --name-status "$base" "$head" -- \
  '.github' '.github/**' '.jules' '.jules/**' \
  'pyproject.toml' 'ruff.toml' '.ruff.toml' \
  'package.json' 'package-lock.json' 'poetry.lock' 'uv.lock' \
  'requirements*.txt' 'Pipfile' 'Pipfile.lock' \
  'Dockerfile' 'docker-compose*.yml' 'Makefile' || true

printf '%s\n' '== Test file structure =='
ast-grep outline "$test_path" --items all

Length of output: 23247


@seonghobae No actionable findings.

I reviewed exact head 8488a02a1b36a99c94b3e248e948d754ed446750.

  • HEAD matches the requested commit.
  • The requested commit and both retry predecessors have the same source tree.
  • Both retry commits have empty file diffs.
  • Relative to develop@314ddeae7b775a4957594b599358c8255617eb2e, only services/analysis-engine/tests/test_supply_chain_policy.py changed.
  • The changed assertion retains the same condition, alternatives, and workflow_name message. Only Ruff line wrapping changed.
  • No chart export, workflow, or repository-control path changed.
  • .jules/bolt.md and services/analysis-engine/src/bandscope_analysis/exports/chart.py are byte-identical to the protected base.
  • git diff --check reports no whitespace errors.

This review uses evidence from the exact current head only.

You are interacting with an AI system.

Copy link
Copy Markdown
Collaborator Author

@coderabbitai review

Please review exact head 8fe6b6d99c009527ef0bcba419e6f6debdb23c23. This is an empty CI-retry descendant; the live PR still has exactly one semantic diff against protected develop: the repository-pinned Ruff formatting of services/analysis-engine/tests/test_supply_chain_policy.py. Please verify that no product/assertion semantics or superseded chart-export delta remain and report only current-head actionable findings.

@coderabbitai

coderabbitai Bot commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Tip

For best results, initiate chat on the files or code changes.

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

head="8fe6b6d99c009527ef0bcba419e6f6debdb23c23"
base="314ddeae7b775a4957594b599358c8255617eb2e"
retry_parent="8488a02a1b36a99c94b3e248e948d754ed446750"
source_predecessor="a7b0030a3a6cc6296a19ba3f8eaf595d470d05bd"
test_path="services/analysis-engine/tests/test_supply_chain_policy.py"

printf '%s\n' '== Commit identity and ancestry =='
printf 'checked-out HEAD: '; git rev-parse HEAD
printf 'requested object type: '; git cat-file -t "$head"
printf 'HEAD matches requested: '
test "$(git rev-parse HEAD)" = "$head" && echo yes || echo no
for commit in "$base" "$source_predecessor" "$retry_parent"; do
  printf '%s ancestor of requested head: ' "$commit"
  git merge-base --is-ancestor "$commit" "$head" && echo yes || echo no
done

printf '%s\n' '== Empty retry verification =='
for commit in "$source_predecessor" "$retry_parent" "$head"; do
  printf '%s tree: ' "$commit"
  git rev-parse "${commit}^{tree}"
done
printf 'retry parent tree equals requested tree: '
test "$(git rev-parse "${retry_parent}^{tree}")" = "$(git rev-parse "${head}^{tree}")" && echo yes || echo no
printf 'source predecessor tree equals requested tree: '
test "$(git rev-parse "${source_predecessor}^{tree}")" = "$(git rev-parse "${head}^{tree}")" && echo yes || echo no
printf '%s\n' '== Commit-level retry patch =='
git diff-tree --no-commit-id --name-status -r "$retry_parent" "$head"

printf '%s\n' '== Effective diff from protected base =='
git diff --name-status "$base" "$head"
printf '%s\n' '== Paths outside permitted test path =='
git diff --name-only "$base" "$head" | awk -v permitted="$test_path" '$0 != permitted { print }'

printf '%s\n' '== Focused test diff =='
git diff --no-ext-diff --unified=60 "$base" "$head" -- "$test_path"
printf '%s\n' '== Focused word diff =='
git diff --no-ext-diff --word-diff=porcelain "$base" "$head" -- "$test_path"
printf '%s\n' '== Diff whitespace validation =='
git diff --check "$base" "$head"

printf '%s\n' '== Protected path identity =='
for path in \
  .jules/bolt.md \
  exports/chart.py \
  services/analysis-engine/src/bandscope_analysis/exports/chart.py; do
  printf '%s: ' "$path"
  if git cat-file -e "${base}:${path}" 2>/dev/null && git cat-file -e "${head}:${path}" 2>/dev/null; then
    git diff --quiet "$base" "$head" -- "$path" && echo identical || echo DIFFERENT
  else
    echo missing-in-base-or-head
  fi
done

printf '%s\n' '== Workflow and repository-control paths =='
git diff --name-status "$base" "$head" -- \
  '.github' '.github/**' '.jules' '.jules/**' \
  'pyproject.toml' 'ruff.toml' '.ruff.toml' \
  'package.json' 'package-lock.json' 'poetry.lock' 'uv.lock' \
  'requirements*.txt' 'Pipfile' 'Pipfile.lock' \
  'Dockerfile' 'docker-compose*.yml' 'Makefile' || true

printf '%s\n' '== Test file structure =='
ast-grep outline "$test_path" --items all

Length of output: 22927


@seonghobae No actionable findings.

I reviewed exact head 8fe6b6d99c009527ef0bcba419e6f6debdb23c23.

  • HEAD matches the requested commit.
  • The requested head has the same source tree as 8488a02a1b36a99c94b3e248e948d754ed446750 and a7b0030a3a6cc6296a19ba3f8eaf595d470d05bd.
  • The requested retry commit has no file changes.
  • Relative to develop@314ddeae7b775a4957594b599358c8255617eb2e, only services/analysis-engine/tests/test_supply_chain_policy.py changed.
  • The assertion retains the same condition and workflow_name message. The change only removes Ruff formatter line wrapping.
  • No chart-export, workflow, or repository-control path changed.
  • .jules/bolt.md and services/analysis-engine/src/bandscope_analysis/exports/chart.py are byte-identical to the protected base.
  • exports/chart.py is absent from both trees.
  • git diff --check reported no whitespace errors.

This review uses evidence from the exact current head only.

You are interacting with an AI system.

seonghobae added a commit that referenced this pull request Sep 7, 2026
Replace ambiguous private CLI input/file-authority names, remove the retired TemporalAnalyzer test seam, and make tests observe the orchestration API boundary. Integrate #1176's exact formatting delta as a parent instead of duplicating its change. Document the coverage working-directory RCA and product-technical gap baseline.
seonghobae added a commit that referenced this pull request Sep 7, 2026
Adopt canonical #1176 as an ordinary second parent while preserving this PR's Demucs supply-chain evidence corrections. The resulting tree contains #1176's sole Ruff formatting repair rather than copying a competing implementation; that prerequisite diff disappears once #1176 becomes protected ancestry.

Signed-off-by: Seongho Bae <me@seonghobae.me>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working priority: medium Normal-priority or P2 work status: draft Draft pull request type: bug Defect or incorrect behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant