Skip to content

docs: tighten commit organization rules in electron-chromium-upgrade skill - #52692

Merged
jkleinsc merged 1 commit into
43-x-yfrom
trop/43-x-y-bp-docs-tighten-commit-organization-rules-in-electron-chromium-upgrade-skill-1786081213752
Aug 7, 2026
Merged

jkleinsc merged 1 commit into
43-x-yfrom
trop/43-x-y-bp-docs-tighten-commit-organization-rules-in-electron-chromium-upgrade-skill-1786081213752

Conversation

@trop

@trop trop Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Backport of #52681

See that PR for details.

Notes: none

…skill

Review feedback on #52567 flagged two commit-organization problems in
agent-driven Chromium rolls, both traceable to gaps in this skill's
commit guidelines:

- Two commits for the same upstream CL (8131017): Phase One committed
  the patch-context fixes, then Phase Two hit build fallout from the
  same CL and the phase-two guidelines prescribed a fresh
  `{CL-Number}: {title}` commit without ever saying to check for an
  existing one. Fixed by requiring a `git log --grep` check before any
  CL-titled commit and folding into the existing commit with
  `git commit --fixup` + autosquash (keeping the lint-legal `fixup!`
  commit if the rebase conflicts).

- Unrelated CLs (8171126 + 8131017) grouped into one commit because
  they dirtied the same .patch files and the guidelines' multi-Ref
  allowance had no "genuinely related" qualifier. Fixed by requiring
  per-CL staging with `git add -p` and narrowing when multiple Ref
  lines are appropriate.

Also adds a final self-check step to the Phase Two workflow: scan full
commit messages (`git log --format='%h %B'` — Ref lines live in
bodies) and verify each CL maps to exactly one non-fixup commit.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Fbjy87RXmaLqHXr8nhofJU

Co-authored-by: Claude <[email protected]>
@trop
trop Bot requested a review from a team as a code owner August 7, 2026 05:40
@trop trop Bot added 43-x-y backport This is a backport PR semver/none labels Aug 7, 2026
@jkleinsc
jkleinsc merged commit ca5fb8d into 43-x-y Aug 7, 2026
49 checks passed
@release-clerk

release-clerk Bot commented Aug 7, 2026

Copy link
Copy Markdown

No Release Notes

@jkleinsc
jkleinsc deleted the trop/43-x-y-bp-docs-tighten-commit-organization-rules-in-electron-chromium-upgrade-skill-1786081213752 branch August 7, 2026 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

No open projects
Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant