Skip to content

fix(jcode-app-core): suppress 7 dead_code warnings on update_product public API - #127

Merged
KooshaPari merged 3 commits into
masterfrom
fix/update-product-warnings
Nov 10, 2026
Merged

KooshaPari merged 3 commits into
masterfrom
fix/update-product-warnings

Conversation

@KooshaPari

@KooshaPari KooshaPari commented Oct 18, 2026 •

Copy link
Copy Markdown
Owner

User description

fix(jcode-app-core): suppress 7 dead_code warnings on update_product public API

Summary

The prior audit reported 7 compiler warnings in crates/jcode-app-core/src/update_product.rs. A fresh build from origin/master (6ff8aa2d1) reproduces exactly 7 warnings, all on the same file, with identical compiler text. The audit count is correct.

All seven are dead_code (#[warn(unused)]) on pub items inside a private submodule (update_product is declared mod update_product; in crates/jcode-app-core/src/update.rs:27) that have no external callers in the non-test build.

Fix approach

Each warning is on a documented part of the module's product-identity public API. The same pattern (#[allow(dead_code)] // Public API surface for fork decollision; not all builds call it.) is already in use on is_fork_build at line 46. I extended that pattern to the other six items rather than deleting the API surface — including is_inside_git_repo, which update.rs happens to duplicate locally, since fixing the duplication is a separate refactor and out of scope for a warnings-only PR.

This is the minimal, surgical fix: 7 lines added (one attribute per item), no behavior change, no signature change, no API removal.

Warnings (before / after)

# File:line Item Category Compiler text
1 update_product.rs:23 pub const GITHUB_REPO dead code constant GITHUB_REPO is never used
2 update_product.rs:30 pub fn update_repo dead code function update_repo is never used
3 update_product.rs:36 pub fn update_repo_for dead code function update_repo_for is never used
4 update_product.rs:112 pub fn fork_update_disallowed_error dead code function fork_update_disallowed_error is never used
5 update_product.rs:151 pub fn resolve_update_repo dead code function resolve_update_repo is never used
6 update_product.rs:160 pub fn is_inside_git_repo dead code function is_inside_git_repo is never used
7 update_product.rs:231 fn log_disabled dead code function log_disabled is never used
  • Before: 7 warnings in update_product.rs (warning: jcode-app-core (lib) generated 7 warnings)
  • After: 0 warnings in update_product.rs; crate-wide 0 warnings

Verification

Step Result Log
cargo check -p jcode-app-core (before) EXITCODE=0, 7 warnings $TMPDIR/logs/before-check.log
cargo check -p jcode-app-core (after) EXITCODE=0, 0 warnings $TMPDIR/logs/after-check.log
cargo test -p jcode-app-core --lib EXITCODE=101, 1509 passed, 17 failed $TMPDIR/logs/after-test.log

The EXITCODE=101 on the test run is from 17 pre-existing failures in unrelated modules: tool::bash, tool::bridge_reload, tool::compile_remote::source, tool::desktop_selfdev, tool::selfdev, tool::tests, and update::tests for sha256sum. None are in update_product or in any file I touched. The update_product test module has 8 tests, and all 8 pass.

The repo's CI suite is red on pristine master too (per operator note), so a red run on this PR is not evidence the change broke anything. Local verification above is the source of truth: 0 warnings, no behavior change, no regressions in scope.

Files changed

  • crates/jcode-app-core/src/update_product.rs — 7 lines added, 0 removed.
 crates/jcode-app-core/src/update_product.rs | 7 +++++++
 1 file changed, 7 insertions(+)

Independent of

How to reproduce

git fetch origin
git checkout fix/update-product-warnings
export TMPDIR=/tmp/kcode-neutral-tmp && mkdir -p "$TMPDIR/logs"
cargo check -p jcode-app-core 2>&1 | tee "$TMPDIR/logs/repro-check.log"
# expect: 0 warnings, EXITCODE=0

Linked issues

Closes #142


CodeAnt-AI Description

Clarify the update logging helper’s warning comment

What Changed

  • The comment now correctly explains that the helper is called from update_repo_for and flagged in non-test builds; runtime behavior is unchanged.

Impact

✅ Clearer guidance when reviewing the warning suppression

💡 Usage Guide

Checking Your Pull Request

Every time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later.

Talking to CodeAnt AI

Got a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask:

@codeant-ai ask: Your question here

This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code.

Example

@codeant-ai ask: Can you suggest a safer alternative to storing this secret?

Preserve Org Learnings with CodeAnt

You can record team preferences so CodeAnt AI applies them in future reviews. Reply directly to the specific CodeAnt AI suggestion (in the same thread) and replace "Your feedback here" with your input:

@codeant-ai: Your feedback here

This helps CodeAnt AI learn and adapt to your team's coding style and standards.

Example

@codeant-ai: Do not flag unused imports.

Retrigger review

Ask CodeAnt AI to review the PR again, by typing:

@codeant-ai: review

Check Your Repository Health

To analyze the health of your code repository, visit our dashboard at https://app.codeant.ai. This tool helps you identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health.

…public API

All seven warnings were dead_code on functions/constants in the private
update_product submodule that are not consumed outside the module:
  - GITHUB_REPO (constant)
  - update_repo, update_repo_for (resolvers)
  - fork_update_disallowed_error, resolve_update_repo (error helpers)
  - is_inside_git_repo (git-walk helper; update.rs has a duplicate local copy)
  - log_disabled (internal logger)

Each is part of the documented product-identity API surface; the dead_code
lint fires because non-test builds have no external callers. Adding
#[allow(dead_code)] with a one-line rationale matches the existing pattern
on is_fork_build (line 46) and avoids removing API surface that callers
outside the crate may rely on later.

Measured before: 7 warnings in update_product.rs (operator claim: 7 — match).
Measured after:  0 warnings in update_product.rs; crate-wide 0 warnings.
EXITCODE_check=0  EXITCODE_test=101 (17 unrelated pre-existing failures in
tool::bash, tool::bridge_reload, tool::compile_remote, tool::desktop_selfdev,
tool::selfdev, tool::tests, update::tests for sha256sum — none in update_product).
All 8 update_product tests pass.

Independent of PR #125 (resume-peer-drain) and issue #126.

tx-agent: jcode
tx-validated: test
tx-task: warnings-update_product
tx-scope: crates/jcode-app-core/src/update_product.rs
tx-intent: clean up compile warnings on update_product.rs public API
Copilot AI balanced review requested due to automatic review settings October 18, 2026 21:10
@codeant-ai

codeant-ai Bot commented Oct 18, 2026 •

Copy link
Copy Markdown

CodeAnt  CodeAnt Review Status

✅  Review completed

Status Commit Started (UTC) Finished (UTC)
✅  #f6ab0 Incremental review completed 7169218 Nov 03, 2026 · 07:20 07:21
✅  Incremental review completed b6508e6 Oct 21, 2026 · 05:23 05:23
✅  Reviewed your PR 2931c97 Oct 18, 2026 · 21:10 21:13

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@codeant-ai

codeant-ai Bot commented Oct 18, 2026

Copy link
Copy Markdown

Thanks for using CodeAnt! 🎉

We're free for open-source projects. if you're enjoying it, help us grow by sharing.

Share on X ·
Reddit ·
LinkedIn

@coderabbitai

coderabbitai Bot commented Oct 18, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review.

Summary

Summary

The PR updates the dead_code annotation for log_disabled to state that update_repo_for calls it. The source confirms this call path. The change does not alter runtime behavior.

Recommendation: Approve with notes.

Must Fix

None identified from the supplied diff and source.

Should Fix

The linked issue requires cargo clippy -p jcode-app-core --all-targets --all-features -- -D warnings to pass. No result for that command is provided, so its acceptance criterion remains unverified.

Consider

The linked issue tracks the longer-term resolution of these dead-code items separately. This wording change does not address that follow-up.

Test results are not provided.

The log_disabled dead-code annotation now describes the helper as called by update_repo_for. The function implementation is unchanged.

Changes: Dead-code annotation

Layer / File(s) Summary
Update helper annotation
crates/jcode-app-core/src/update_product.rs
The annotation for log_disabled now describes it as an internal helper called by update_repo_for. The function implementation is unchanged.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Change: Other

Merge Risk: Minimal · up to 71692

The annotation-only changes present no identified merge-blocking risk. The issue’s specified Clippy command should still be confirmed before declaring its acceptance criteria complete.

Pre-merge checks: Passed 4 · Inconclusive 1

Failed Failed checks: 1 inconclusive

Check name Status Explanation Resolution
Linked Issues check Inconclusive Issue #142 requires zero dead_code warnings in update_product.rs and a successful cargo clippy -p jcode-app-core --all-targets --all-features -- -D warnings run. The reviewed head contains the s… Provide evidence that cargo clippy -p jcode-app-core --all-targets --all-features -- -D warnings exits 0 at the reviewed head.
Passed Passed checks: 4 passed
Check name Status Explanation
Title check Passed The title relates to the changed update_product.rs dead-code annotation, although it overstates the changeset by describing seven suppressions and a public API update when the summary shows one comm…
Description check Passed The description is related to the update_product.rs dead-code warning cleanup and explains the intended warning-suppression context, although it describes broader changes than the provided file summ…
Out of Scope Changes check Passed The whole-PR diff changes only the comment on log_disabled. The comment explains the existing warning suppression and its call path from update_repo_for. This change supports the warning-cleanup o…
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Full details: Title check

Explanation

The title relates to the changed update_product.rs dead-code annotation, although it overstates the changeset by describing seven suppressions and a public API update when the summary shows one comment change.

Full details: Description check

Explanation

The description is related to the update_product.rs dead-code warning cleanup and explains the intended warning-suppression context, although it describes broader changes than the provided file summary confirms.

Full details: Out of Scope Changes check

Explanation

The whole-PR diff changes only the comment on log_disabled. The comment explains the existing warning suppression and its call path from update_repo_for. This change supports the warning-cleanup objective in issue #142 and does not add unrelated behavior or files.

Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 1 files.

Full details: Linked Issues check

Explanation

Issue #142 requires zero dead_code warnings in update_product.rs and a successful cargo clippy -p jcode-app-core --all-targets --all-features -- -D warnings run. The reviewed head contains the seven #[allow(dead_code)] annotations, and the PR reports zero warnings from cargo check. However, the specified Clippy command is not reported or otherwise evidenced. The whole-PR diff only changes the log_disabled comment, so no new coding defect is shown, but the complete acceptance criteria cannot be verified.

Resolution

Provide evidence that cargo clippy -p jcode-app-core --all-targets --all-features -- -D warnings exits 0 at the reviewed head.

Finishing Touches
Generate docstrings
  • Commit to this branch
  • Create a new PR
Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
Simplify code
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Warning

Some tools did not complete. Review the errors below.

ast-grep (0.51.1)

ast-grep could not parse rule config: /ast-grep-rules/ast-grep-essentials/rules/swift/security/rabbit-hardcoded-secret-swift.yml

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

CodeRabbit Verify

  • Run CodeRabbit Verify to test the changes in this pull request.
Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 3ce78d64-7617-4f80-8795-d299ce07857f
Commits

Reviewing files that changed from the base of the PR and between ac34906 and 7169218.

Files selected for processing: 1
  • crates/jcode-app-core/src/update_product.rs

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

Recent review details
Context from checks skipped due to timeout: 9
  • GitHub Check: Format
  • GitHub Check: Release Automation
  • GitHub Check: Quality Guardrails
  • GitHub Check: Windows Cross-Target Check (Linux)
  • GitHub Check: Build & Test (desk-linux)
  • GitHub Check: TypeScript SDK
  • GitHub Check: Security preflight (Linux)
  • GitHub Check: Require Linked Issue
  • GitHub Check: semgrep-cloud-platform/scan

@codeant-ai codeant-ai Bot added the size:XS This PR changes 0-9 lines, ignoring generated files label Oct 18, 2026
@codeant-ai

codeant-ai Bot commented Oct 18, 2026 •

Copy link
Copy Markdown

CodeAnt  CodeAnt PR Risk

🟢  Low Risk

  • The PR appears safe to merge; no actionable issues were identified in the review.

Assessed commit: 716921880937

@kilo-code-bot

kilo-code-bot Bot commented Oct 18, 2026 •

Copy link
Copy Markdown

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (1 file)
  • crates/jcode-app-core/src/update_product.rs

Reviewed by free · Input: 19K · Output: 661 · Cached: 95.5K

@KooshaPari

Copy link
Copy Markdown
Owner Author

Review: verified. One factual imprecision in the body, and the title wording is unfair to the actual change.

I independently re-ran and re-read the evidence rather than trusting the body:

  • /tmp/kcode-neutral-tmp/logs/before-check.log: warning: jcode-app-core (lib) generated 7 warnings, with the literal dead_code text for all 7 items.
  • /tmp/kcode-neutral-tmp/logs/after-check.log: 0 warnings.
  • Both runs EXITCODE=0. The audit count of 7 is correct and the fix is real.

The change itself is right: 7 one-line #[allow(dead_code)] annotations, no code deleted, no signature changed, and it follows an existing in-file precedent at update_product.rs:46. The is_inside_git_repo duplication with update.rs:160 is correctly called out as a separate refactor rather than papered over.

Correction to the body's summary

"All seven are dead_code ... on pub items ... that have no external callers in the non-test build."

That is true of six of the seven. log_disabled (update_product.rs:231) is a private fn, not pub. It is called from update_repo_for, which is itself part of the uncalled set, so the whole chain is unreachable with no live entry point — that one is genuinely "no live path", not "public API surface". The justification comment added at its #[allow] line does describe this accurately; only the body's blanket summary overstates it.

Why the title should change

"suppress 7 dead_code warnings" reads as hiding a real defect. It isn't one, which is exactly why the wording costs more than it saves. dead_code on a pub item in this repo is expected: update_product is a private submodule (mod update_product;) inside a lib crate, so pub does not make it externally reachable while the binary does not exercise it. The annotations declare "documented public API, intentionally unused here", which is the existing convention at line 46.

Suggested retitle:

fix(jcode-app-core): annotate 7 dead_code warnings on update_product public API

or, if the maintainer wants the reason in the subject rather than the body:

fix(jcode-app-core): silence dead_code on update_product API surface the build does not exercise

One real gap this PR does not close

Four of the seven now-annotated items have no tests referencing them at all: resolve_update_repo, is_inside_git_repo, fork_update_disallowed_error, log_disabled. The in-file test module has 8 tests and all 8 pass, but they only cover GITHUB_REPO and update_repo_for. Two are worth real tests in a follow-up: fork_update_disallowed_error (must never tell a fork build it can update — fail-closed is load-bearing) and is_inside_git_repo (path-traversal-adjacent). I am not asking for that here; it is out of scope for a warnings PR.

Not blocking. The code change is good as-is; the title and the one-sentence body claim are what I want corrected.

KooshaPari added a commit that referenced this pull request Oct 19, 2026
…wn retraction

tx-agent: jcode
tx-validated: manual
tx-task: resume-reland
tx-scope: docs
tx-intent: supply verified evidence for the operator's landing call
KooshaPari added a commit that referenced this pull request Oct 19, 2026
… head

Deep re-derivation of every pass-5 claim against primary sources.

THE BIG ONE: #132's head moved from 9ead396 to f8f4883, and the new
head is a merge commit that brings in #129's branch. Verified by ancestry:
1922c0f (#129's head) IS an ancestor of f8f4883 (#132's head); the reverse
does not hold. Both target master.

Consequence: landing #132 now lands #129 too. The standing advice "split #129:
land the rustfmt half, revert the env! half" is obsolete — that split has already
happened inside #132. The operator's real choice is #127 plus ONE combined
#132+#129 PR. Operator-call section updated; the old bullet kept struck through.

Pass-5's results are therefore incomplete rather than wrong (the old head is a
strict ancestor).

Re-verified at the CURRENT heads:
- isolation re-proven by file-set equality: #132 13/13, #129 10/10 exact match
- attribution holds: build_resume_command tests 0 passed/2 failed on base,
  2 passed on current #132 (EXIT 0). kitty_ test + #129 control still running.
- #124 stat 524/352/66 confirmed twice AND the recorded command fixed: my pass-5
  text used --json changed_files (not a real field; it is changedFiles) and
  claimed `changes` came from `gh pr view --json files` (it does not exist there,
  REST only). Numbers right, method wrong, now corrected.
- #124 ci.yml re-parsed with yaml.safe_load (independent of my hand-rolled
  walker): 9 jobs, 3 if:false, 7 desk-routed. Refinement: only 6 of the 7 desk
  jobs are ENABLED (setup-friction is desk-routed and disabled), so 6 enabled
  jobs would queue forever on the offline runner, not 7. Non-desk enabled: none.
- runner desk-kcode-1 still status=offline, busy=true, desk-linux label present,
  identical on two consecutive queries.

Also recorded: worktree state (57 total, 54 baseline + 3 audit trees; zero
prunable/locked/missing) and the fact that the main repo is NOT on master and
moved twice mid-session (other agents switching branches), so it is not a
reliable read-only baseline.

Method lesson recorded: hardlink-cloning a warm target (cp -al) does NOT give
parallel builds — all clones share one .cargo-lock inode (verified 958582255), so
cargo serialises them. Safe but not parallel.

tx-agent: jcode
tx-validated: manual
tx-scope: docs/sessions/2026-10-18-resume-reland
tx-intent: Correct the landing advice now that #132 contains #129
tx-task: KCode open-PR landing audit
KooshaPari added a commit that referenced this pull request Oct 20, 2026
…PR stack

tx-agent: jcode
tx-validated: manual
tx-task: governance-2026-10-19
tx-scope: docs/sessions/2026-10-19-orchestration-governance
tx-intent: give the operator a no-force-push merge order for PRs #152/#127/#140/#148/#129/#132/#134/#150/#145
crates/jcode-app-core/src/update_product.rs had a single-line content conflict: both sides carry #[allow(dead_code)] on fn log_disabled but with different trailing comments. Took the branch comment, which is the accurate one -- log_disabled is called from update_repo_for (line 41), not from 'the gated resolver surface'. The attribute itself is unchanged and the other seven allow(dead_code) attributes on the fork-decollision public API surface are intact, so the resolved file is byte-identical to the branch's version.

tx-agent: jcode
tx-validated: manual
tx-scope: crates/jcode-app-core/src/update_product.rs
tx-intent: Keep the accurate log_disabled comment so this branch merges into master cleanly
KooshaPari added a commit that referenced this pull request Oct 21, 2026
…olved conflicts

The recomputed residuals (recomputed against origin/master 2aea04d
via git merge-tree --write-tree) now cover 12 open PRs in the KCode
stack. The four PRs previously flagged as needing hand-resolved
conflicts (#140, #127, #157, #158) have already been merged against
origin/master by a parallel agent as real 2-parent merge commits at
d6e4cfa, b6508e6, 264c09a, and 47b42e2 respectively; merge-tree
reports zero conflict markers for all four. Two new PRs (#163 transport
pipe-stem, #164 CI timeout headroom) extend the stack to 12.

The CI Quality Guardrails clippy gate has a coverage gap that no
existing PR fixes: the command is 'cargo clippy --all-targets
--all-features -- -D warnings' with no --workspace, so exactly one
workspace member (jcode-sdk) is unreachable from the root package and
is never linted. In the green run id 39390720989 the cargo test -p
jcode-sdk parity step still emitted the 'never used' warning for the
Subscriber alias at crates/jcode-sdk/src/client.rs:330. The --workspace
change is NOT a no-op and may surface additional pre-existing
violations; this is recorded as an OPEN RISK, not a resolved fact.

The KCode self-hosted runner desk-kcode-1 wedged on 2026-10-21 in the
Build & Test (desk-linux) job of run 39530002307. Root cause: the
desk WSL2 instance is capped by .wslconfig at memory=16GB (not the
64GB the Windows host has), was competing with a 1h43m orphaned
cargo llvm-cov --workspace job, and the Build step in
.github/workflows/ci.yml has no per-step run_with_timeout.py wrapper.
Remediation (terminating the orphan) brought memory from 13.9/16 GB to
9.4/16 GB and recovered the runner.

Detailed conflict resolutions and the runner wedge root-cause analysis
moved to a new companion file 05a_MERGE_EVIDENCE.md so the plan itself
fits the 500-line cap.

tx-agent: jcode
tx-validated: manual
tx-scope: docs/sessions/2026-10-19-orchestration-governance/
tx-intent: Refresh the merge plan against recomputed 12-PR residuals + 4 applied conflict resolutions + clippy coverage gap + runner wedge
@sonarqubecloud

sonarqubecloud Bot commented Nov 3, 2026

Copy link
Copy Markdown

@KooshaPari
KooshaPari merged commit b2381c8 into master Nov 10, 2026
18 of 19 checks passed
@KooshaPari
KooshaPari deleted the fix/update-product-warnings branch November 10, 2026 02:14
KooshaPari added a commit that referenced this pull request Nov 28, 2026
… plan (#375)

* docs(sessions): add cross-harness orchestration governance proposal

Proposes 4 enforcement mechanisms for the "Always Subagent — main context is management-only" operator directive (2026-10-11 21:08); records the 2026-10-19 manual cross-harness propagation of the rule to all 4 derivative AGENTS.md copies (codex, forge, kcode, helioslite); lists operator-approved next steps (none yet; each mechanism awaiting decision).

tx-agent: jcode
tx-validated: manual
tx-task: governance-2026-10-19
tx-scope: docs/sessions/2026-10-19-orchestration-governance
tx-intent: capture the cross-harness propagation decision + enforcement backlog in the repo

* docs(sessions): add fix-forward merge integration plan for the KCode PR stack

tx-agent: jcode
tx-validated: manual
tx-task: governance-2026-10-19
tx-scope: docs/sessions/2026-10-19-orchestration-governance
tx-intent: give the operator a no-force-push merge order for PRs #152/#127/#140/#148/#129/#132/#134/#150/#145

* docs(ci): rebuild the merge integration plan against master 2aea04d

tx-agent: jcode
tx-validated: manual
tx-task: 143
tx-scope: docs/sessions/2026-10-19-orchestration-governance
tx-intent: replace the stale 2026-10-19 PR stack plan with one built from current master ground truth

* docs(ci): rebuild the merge integration plan against master 2aea04d

tx-agent: jcode
tx-validated: manual
tx-task: 143
tx-scope: docs/sessions/2026-10-19-orchestration-governance
tx-intent: replace the stale 2026-10-19 PR stack plan with one built from current master ground truth

* docs(merge): refresh the merge plan with the recomputed stack and resolved conflicts

The recomputed residuals (recomputed against origin/master 2aea04d
via git merge-tree --write-tree) now cover 12 open PRs in the KCode
stack. The four PRs previously flagged as needing hand-resolved
conflicts (#140, #127, #157, #158) have already been merged against
origin/master by a parallel agent as real 2-parent merge commits at
d6e4cfa, b6508e6, 264c09a, and 47b42e2 respectively; merge-tree
reports zero conflict markers for all four. Two new PRs (#163 transport
pipe-stem, #164 CI timeout headroom) extend the stack to 12.

The CI Quality Guardrails clippy gate has a coverage gap that no
existing PR fixes: the command is 'cargo clippy --all-targets
--all-features -- -D warnings' with no --workspace, so exactly one
workspace member (jcode-sdk) is unreachable from the root package and
is never linted. In the green run id 39390720989 the cargo test -p
jcode-sdk parity step still emitted the 'never used' warning for the
Subscriber alias at crates/jcode-sdk/src/client.rs:330. The --workspace
change is NOT a no-op and may surface additional pre-existing
violations; this is recorded as an OPEN RISK, not a resolved fact.

The KCode self-hosted runner desk-kcode-1 wedged on 2026-10-21 in the
Build & Test (desk-linux) job of run 39530002307. Root cause: the
desk WSL2 instance is capped by .wslconfig at memory=16GB (not the
64GB the Windows host has), was competing with a 1h43m orphaned
cargo llvm-cov --workspace job, and the Build step in
.github/workflows/ci.yml has no per-step run_with_timeout.py wrapper.
Remediation (terminating the orphan) brought memory from 13.9/16 GB to
9.4/16 GB and recovered the runner.

Detailed conflict resolutions and the runner wedge root-cause analysis
moved to a new companion file 05a_MERGE_EVIDENCE.md so the plan itself
fits the 500-line cap.

tx-agent: jcode
tx-validated: manual
tx-scope: docs/sessions/2026-10-19-orchestration-governance/
tx-intent: Refresh the merge plan against recomputed 12-PR residuals + 4 applied conflict resolutions + clippy coverage gap + runner wedge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS This PR changes 0-9 lines, ignoring generated files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(jcode-app-core): 7 dead_code warnings in update_product block the Quality Guardrails job

2 participants