← Back to Pull requests

chore(inkless:tools): Update cherry-pick guide, CI workflows, and release documentation #690

Closed
unknown closed this pull request without merging on Jul 09, 2026 09:24 UTC
View on GitHub
unknown unknown commented on Jul 08, 2026 15:21 UTC
Author

  • Automate the full release process via a new inkless-release.yml workflow

  • Split the existing monolithic release workflow into two focused files

  • Document release branches (active/inactive/planned) and the cutting procedure

  • Fix JUnit report parsing in nightly CI to match inkless.yml

  • Update the cherry-pick guide with improved post-conflict verification steps
  • Changes

    CI: release workflow split (inkless-release.yml → two files)

    The existing inkless-release.yml was a monolith handling both orchestration and building, mixing concerns across workflow_dispatch and push triggers via a release_type flag.

    inkless-publish.yml (renamed/refactored from inkless-release.yml) — build/publish layer only:

  • Triggered by push of inkless-4.X.Y-* tags (unchanged behavior) or workflow_call

  • Builds Docker images (amd64 + arm64), binary distributions, and multi-arch manifests

  • On workflow_call: also runs finalize-release to create the GitHub Release and attach all artifacts
  • inkless-release.yml (new) — release ceremony layer:

  • Triggered manually via workflow_dispatch with three optional inputs: inkless_version (auto-increments from latest tag), main_commit (defaults to main HEAD), extra_branches (for onboarding new Kafka minor branches)

  • prepare: resolves version and discovers active branches from previous release's Kafka-base tags — no config file needed, tag history is self-describing

  • validate: asserts each branch contains the target commit and has no missing inkless commits (branch-consistency.sh); aborts before touching any tags if validation fails

  • tag: creates and pushes inkless-release-<N> on main and inkless-<kafka-version>-<N> on each branch

  • publish: calls inkless-publish.yml via workflow_call with the full matrix
  • CI: nightly JUnit reports

    inkless-nightly.yml had the Parse JUnit tests step commented out and used a manual exit-code check instead. Aligned it with inkless.yml:

  • Added -Pkafka.test.xml.output.dir=${{ matrix.java }} to GRADLE_ARGS so XML is written to build/junit-xml/<java>/

  • Uncommented and updated the Parse JUnit tests step (GRADLE_TEST_EXIT_CODE, --path build/junit-xml/${{ matrix.java }})

  • Removed the now-redundant Check test results step (junit.py owns the exit code)

  • Test retry flags (-PmaxTestRetries=1 -PmaxTestRetryFailures=3) preserved — nightly intentionally tolerates flaky tests
  • Docs: release branch status and procedure

    docs/inkless/RELEASES.md:

  • New Release Branches section: active (inkless-4.1 @ 4.1.2, inkless-4.2 @ 4.2.1), inactive (inkless-4.0 last at 0.37), planned (inkless-4.3)

  • Cutting a Release section now describes the automated workflow_dispatch flow instead of the previous manual tag-pushing steps
  • docs/inkless/README.md: updated RELEASES.md link to "active versions and release history"

    cherry-pick sync guide

  • Post-conflict verification now has explicit fast/full paths: clean pick → module compile only; conflicted pick → make fmt (amend) + make build + targeted test re-run

  • Archived inkless-4.1 cherry-pick session (2026-07-08, 17 commits, 2 conflict resolutions)
  • Diff: 405 lines (+303 / -102) across 5 files Reviewer: gqmelo Review duration: 1083m
    All Vouch review confidence checks passed
    Residual risk 0.18 = Change Risk (0.45) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.45 · 405 lines diff across 5 files
    0.45
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.359
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #690"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 44.8% (MEDIUM) · Higher = larger blast radius
    44.8%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 17.7% · Safe to merge
    17.7%
    Repository