Repository navigation
Conversation
… check Contributors sign CLA.md once by commenting on their first pull request; signatures are stored on the cla-signatures branch. The maintainer and bots are allowlisted.
|
Warning Review limit reachedYou'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 29 seconds. View limit details
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. |
|
Workflow change: owner-approved (delegated). The |
…ntributor signs on
Review findings and how each was resolvedReviewers: omo (BLOCK at 3dea23a) and Codex (Terra 6.1, xhigh). One fix round. Fixed in this push:
Accepted and not changed. These are limits of
No follow-up issue: none of these is a reproduced, user-facing MEDIUM. |
Re-review at cd9a63f: resolved
|
Re-review at 4233818: remaining findings (fix rounds used up; not changed in this PR)
|
Deploying ovis with
|
| Latest commit: |
3c8b3c9
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://b394a075.ovis.pages.dev |
| Branch Preview URL: | https://chore-cla.ovis.pages.dev |
Review notes (Codex gpt-6.1-terra xhigh, two rounds)CodeRabbit did not review the current head; these reviews stand in for it. Round 1 (4233818), fixed in 3c8b3c9:
Round 2 (3c8b3c9), not changed (one fix round only):
|
|
Merge note: merged on the owner's go ("cla 는 머지해"). Required checks green, omo CLEAR at 1cea790, Codex Terra xhigh two rounds (impersonation by another person's email and >100-commit PRs fixed; the remaining case is handled by #3032), actionlint clean, threads resolved. Maintainer and bot commits are not blocked; signatures are stored in signatures/cla.json on the cla-signatures branch. Fixes #2817. |
… PR (needs owner OK) (#3032) Fixes #3020. Stacked on #2813 (`chore/cla`), which adds `.github/workflows/cla.yml`; this PR's base is `chore/cla` so the diff shows only the follow-up. Merge #2813 first, then retarget this to `main`. ## What changed The guard step in `cla.yml` already requires the account that opened a PR to author one of its commits. When the maintainer (`devswha`) opened a PR from someone else's fork whose commits all used an email linked to `devswha`, every identity was exempt and the check passed without the fork's owner signing. - When the opener is exempt (`devswha` or a `*[bot]`) and the PR's head is another repository whose owner is not exempt: - a personal fork's owner must author one of its commits (same rule and message shape as for the opener), so the action asks them to sign; - a fork with no personal owner (an organization's fork, or a deleted fork) fails, with a message asking the contributor to open it from their own account. An outside opener is covered by the existing opener rule, so a contributor working on someone else's fork is not blocked. - `scripts/cla-workflow.test.ts` runs the guard step from the workflow file with `gh api` answered from fixtures through `jq` (as `gh --jq` does): nine cases, three of which failed on the previous guard (a fourth covers the review fix). ## Not changed, and why - **Co-authors:** agents co-author commits as ordinary GitHub user accounts, not `[bot]` ones. On `main`, `Claude ... <[email protected]>` links to `claude`, Cursor to `cursoragent`, Amp to `ampagent`, and `sisyphus-dev-ai` (all `type: User`), across hundreds of commits. Requiring linked co-authors to sign would block most contributor PRs unless we keep a hand-made list of agent accounts. The action also records a signature only from a commit author, so a co-author could not sign on the PR anyway. CLA section 2 already makes the signing contributor identify third-party work. - **Committers distinct from the author:** a committer re-applies someone else's commit (rebase, cherry-pick); authorship, which the action checks, is the contribution. - **First page of PR comments:** that lookup is inside the pinned action; the guard cannot change it. ## Validation - `bun test scripts/cla-workflow.test.ts scripts/ci-setup.test.ts`: 28 pass (before the fix: 3 of the new cases failed). - The new `jq` fields checked against the real API on #2944, #2983 (forks) and #3018 (same repository). - `bun run check fast` passed at the head (unit: 12221 pass, 0 fail; typecheck, build, workflow syntax, actionlint ok). Browser and integration suites not run locally (workflow-only change).
What changed
CLA.md: the Ovis Contributor License Agreement (Apache ICLA and Project Harmony based). Contributors keep their copyright and grant the maintainer copyright and patent licenses, including the right to license their contributions under other terms..github/workflows/cla.yml: the CLA Assistant Lite action (contributor-assistant/github-actionv2.6.1, pinned by SHA). On every PR it checks the commit authors; an author who has not signed is asked to commentI have read the CLA Document and I hereby sign the CLAonce. Signatures are stored in this repository, insignatures/cla.jsonon a dedicatedcla-signaturesbranch.devswha, GitHub App bots (*[bot]) andweb-floware allowlisted. The action turns*into an unanchored regex, so there is nobot*-style prefix pattern (it would also exempt a person namedrobotics).pull_request_target, so a fork's PR is checked without approving a CI run; the job never checks out or runs the PR's code (the action reads commit authors through the API), runs on a GitHub-hosted runner, 5-minute timeout.pipefail, so an API failure fails it) runs first and fails the check when: the PR has more than 100 commits (the action reads only the first 100); any commit (all pages) has no linked GitHub account as author (the action would otherwise use the free-text git author name, which the allowlist could accept); or the account that opened the PR authors none of its commits. That last rule closes a forged-author bypass: commit authors are matched by email, so a PR whose commits all claimdevswha's email would otherwise pass unsigned; now the opener must author a commit and so must sign. Maintainer commits pushed onto a contributor's branch still pass, since the contributor has their own commits.actions,contentsandpull-requestswrite, which the action uses (rerun, signature file, comments).statuses: writefrom the action's README is left out: the action at this SHA never sets a commit status.concurrencygroup: a queued signing comment must never be cancelled by a later event.CONTRIBUTING.md: one sentence pointing to the CLA and how to sign.scripts/ci-setup.test.ts: adds the new action to the list of allowed external actions, and matchesuses:as a whole word (a key such asstatuses:must not be read as an action reference).changelog.d/contributor-license-agreement.md.Before merging (needs owner OK)
cla-signaturesalready exists withsignatures/cla.json={"signedContributors":[]}(commit 7e8d148).CLAa required check once it has run on a PR.Existing contributors are asked to sign on their next PR; merged contributions are unaffected. Right after the merge, each open PR from an outside author gets one comment asking its author to sign (the sign comment is recorded at once, since the workflow also runs on comments).
Validation
bun run check fast: passed (workflow syntax incl. actionlint, generated types and themes, typecheck, build, unit tests).bun test scripts/ci-setup.test.ts: passed (action pinned to a full SHA with a# vX.Y.Zcomment, no checkout).bash -eo pipefailagainst the live API: passes for this PR, feat(sidebar): count in both heads, tighten PC rows and mark the filter with a glass #2999 (outside author only), feat(sidebar): resize and fold PCs and Agents #2944 (outside author plus maintainer commits). With a stubbedgh: fails for a PR whose commits all claimdevswhabut were opened by someone else, for 101 commits, for an unlinked commit, and when either API call fails; passes for the maintainer and a[bot]opener.actionlint1.7.12: no findings.bun run check full(no server, client or shared code changed). The workflow itself only runs frommain, so it is first exercised on the PR after merge.Fixes #2817