Skip to content

fix(cla): store signatures as {"signedContributors": []} - #43

Merged
4444J99 merged 1 commit into
mainfrom
fix/cla-signatures-file-shape
Nov 17, 2026
Merged

4444J99 merged 1 commit into
mainfrom
fix/cla-signatures-file-shape

Conversation

@4444J99

@4444J99 4444J99 commented Nov 17, 2026 •

Copy link
Copy Markdown
Owner

signatures/cla.json holds a bare JSON array ([]), but the CLA Assistant action (contributor-assistant/[email protected], setupClaCheck.ts:121) reads claFileContent.signedContributors and crashes with Cannot read properties of undefined (reading 'some') whenever a non-allowlisted committer opens a PR.

That is why #15's CLAssistant check fails deterministically (old head, new head, and re-run): its commits are by bhanuprasad14, who is not in the allowlist. The action reads this file from main, so the fix has to land here first.

After this lands, #15's check will fail legitimately (unsigned CLA) until bhanuprasad14 signs, instead of crashing.

Summary by Sourcery

Bug Fixes:

  • Fix CLA Assistant failures by storing signatures in the object structure expected by the action.

signatures/cla.json held a bare JSON array ([]), but the CLA Assistant
action reads `claFileContent.signedContributors` and crashes with
"Cannot read properties of undefined (reading 'some')" whenever a
non-allowlisted committer opens a PR (e.g. #15, authored by
bhanuprasad14). Store the object shape the action writes and expects so
the check reports unsigned CLAs instead of crashing.
@sourcery-ai

sourcery-ai Bot commented Nov 17, 2026

Copy link
Copy Markdown

Sorry @4444J99, you've used your own review budget of 250,000 diff characters for the last 7 days.

You can request another review in 8 hours and 54 minutes by commenting @sourcery-ai review. Upgrade to get a review now.

@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-17T07:53:29.726959Z
We couldn’t complete this review. Comment @codex review to try again.
d748f7e PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@coderabbitai

coderabbitai Bot commented Nov 17, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 52 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 3dccf9ad-6d25-45ad-8345-b76e0bf09242
Commits

Reviewing files that changed from the base of the PR and between 5cb2c66 and d748f7e.

Files selected for processing: 1

  • signatures/cla.json
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@sourcery-ai

sourcery-ai Bot commented Nov 17, 2026

Copy link
Copy Markdown

Reviewer's Guide

Data structures

Change the CLA signatures file to the object shape expected by the CLA Assistant action.

  • signatures/cla.json L1

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@4444J99
4444J99 merged commit 1ef2391 into main Nov 17, 2026
10 checks passed
@4444J99
4444J99 deleted the fix/cla-signatures-file-shape branch November 17, 2026 07:55
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 17, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant