Skip to content

6512 documentation on GitHub gating#4634

Merged
dkrupp merged 3 commits intoEricsson:masterfrom
gulyasgergely902:6512-documentation-on-github-gating
Sep 16, 2025
Merged

6512 documentation on GitHub gating#4634
dkrupp merged 3 commits intoEricsson:masterfrom
gulyasgergely902:6512-documentation-on-github-gating

Conversation

@gulyasgergely902
Copy link
Copy Markdown
Collaborator

Add documentation on GitHub PR gating with CodeChecker into CONTRIBUTING.md

Copy link
Copy Markdown
Member

@dkrupp dkrupp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please add instructions as how to run the gating script locally

Comment thread CONTRIBUTING.md Outdated
### Code quality

Any change in the Pull Request against the codechecker repository will be checked
with CodeChecker itself for potential issues. If any issue found, the Pull Request
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If any new issue is found

Comment thread CONTRIBUTING.md
# ... your code here
```

### Code quality
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would be good to write down in this section which script should be run locally and from where to check the gating criteria ...

Copy link
Copy Markdown
Collaborator Author

@gulyasgergely902 gulyasgergely902 Jul 17, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd make a different user for this to avoid "demo" users find the production checks. Make codechecker product invisible to "demo" user.

@gulyasgergely902 gulyasgergely902 force-pushed the 6512-documentation-on-github-gating branch 2 times, most recently from 66e49b6 to 3b55b48 Compare July 21, 2025 12:25
@gulyasgergely902 gulyasgergely902 requested a review from dkrupp July 21, 2025 12:27
Comment thread CONTRIBUTING.md Outdated

* Run `ci/github_analysis/codechecker_gate_pr.sh` to analyze the code.

__Important:__ Make sure you are running CodeChecker 6.25.1 when running the script!
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this version is hardcoded elsewhere, it needs to be referenced in the developer docs, as it needs changing on a new release.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The version 6.25.1 is required since the server which the gating is using, runs CodeChecker 6.25.1 and the version matching is required. If the server will be updated to a new version, then can this version be updated as well.

Copy link
Copy Markdown
Member

@dkrupp dkrupp Sep 15, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess the requirement is that the client needs to be newer than the 6.25.1 (the server version), isn't it?

So I think we should write here that the client used must be always on a lower version than the server at https://codechecker-demo.eastus.cloudapp.azure.com

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The requirement is the client must be on the same or lower version than the server so in this case it should be 6.25.1 or lower. I'll modify it so it reflects this.

@gulyasgergely902 gulyasgergely902 force-pushed the 6512-documentation-on-github-gating branch from b6ccd7e to 66acdda Compare September 16, 2025 07:05
Copy link
Copy Markdown
Member

@dkrupp dkrupp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dkrupp dkrupp merged commit 5f8f359 into Ericsson:master Sep 16, 2025
14 of 17 checks passed
@gulyasgergely902 gulyasgergely902 deleted the 6512-documentation-on-github-gating branch September 16, 2025 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants