Skip to content

fix(ci): resolve historical DCO sign-off failures - #416

Merged
Vishnu2707 merged 1 commit into
devfrom
fix/dco-release-compliance
Nov 28, 2026
Merged

Vishnu2707 merged 1 commit into
devfrom
fix/dco-release-compliance

Conversation

@Vishnu2707

Copy link
Copy Markdown
Collaborator

Summary

The DCO job on release PR #414 rejects three historical squash commits that lost their original sign-off trailers. The checker now verifies the original certifications using exact landed and source commit IDs. It replays each original PR head onto the landed commit's parent, compares the resulting Git tree to the landed tree, and checks the author identity against the DCO trailer on every source commit outside the parent's history.

The release workflow fetches the three original PR refs. A missing source object, replay conflict, different tree, or missing or mismatched source trailer fails verification. The contributor guide documents how to preserve trailers when using squash merge.

DCO failure log

Original contribution evidence

PR Landed squash Signed source head GitHub contributor Matching tree
#321 90f3fa291be3bfb1ef29e0a599e43dd053cafe80 101d47a15337d0ee8242420c33b13e8cbda58994 Dipesh Ray (@dipeshrayg), 3 signed source commits 28be3e651bf42c868d5a9c0c08f9d67c07dd8686
#347 8371ed6907d3eade7fa836938d1c882f4c8b24c8 2af0b33f786be171132c3bfe3b9313f53fb93bda Muhammad Ibrahim (@m-khan-97), 1 signed source commit 7856a037992ed072890317234dd5da5451b9b359
#362 5eec78a24c86e5d68da12cb2ad797fd3f4124c95 23d6dfb69ab395700267a4fabb73a49f75092588 Vishnu Ajith (@Vishnu2707), 1 signed source commit 28866fa8259ed4b46043cf425627a810bfe8ec63

Before merging, an independent maintainer should verify the PR heads, contributor identities, source trailers, and tree replay. Use Create a merge commit to preserve this PR's own sign-off.

Verification

  • All 14 DCO tests passed. Regression cases cover matching evidence, a changed tree, missing source objects, and missing, malformed, or mismatched source trailers.
  • The checker passed all 82 DCO-eligible commits from official main through the corrective commit on official dev. It also passed the corrective PR's one-commit range.
  • Adding an unsigned commit to the release range caused the checker to exit with status 1 and report its SHA.

Signed-off-by: Vishnu Ajith <86302373+Vishnu2707@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@Vishnu2707 Vishnu2707 self-assigned this Nov 28, 2026
@Vishnu2707
Vishnu2707 merged commit cced5ba into dev Nov 28, 2026
24 checks passed
@Vishnu2707
Vishnu2707 deleted the fix/dco-release-compliance branch November 28, 2026 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants