Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

General Fixes + More Logging #338

Merged
merged 4 commits into from
Dec 11, 2024
Merged

General Fixes + More Logging #338

merged 4 commits into from
Dec 11, 2024

Conversation

GrantBirki
Copy link
Member

@GrantBirki GrantBirki commented Dec 11, 2024

This pull request touches up a few places of the code base to make it a bit cleaner and improves logging.

This PR also introduces a new VERSION constant into the project that will be displayed in logs, and used in the release process.

@GrantBirki GrantBirki added the enhancement New feature or request label Dec 11, 2024
@GrantBirki GrantBirki self-assigned this Dec 11, 2024
@GrantBirki GrantBirki marked this pull request as ready for review December 11, 2024 22:45
@Copilot Copilot bot review requested due to automatic review settings December 11, 2024 22:45
@GrantBirki GrantBirki merged commit 68f13cb into main Dec 11, 2024
4 checks passed
@GrantBirki GrantBirki deleted the general-improvements branch December 11, 2024 22:45

Choose a reason for hiding this comment

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

Copilot reviewed 7 out of 9 changed files in this pull request and generated no suggestions.

Files not reviewed (2)
  • script/release: Language not supported
  • tests/version.test.js: Evaluated as low risk
Comments skipped due to low confidence (1)

src/functions/prechecks.js:137

  • The 'reviews' field is being queried twice in the GraphQL query, which is redundant and could lead to unnecessary data fetching. The first occurrence should be removed.
reviews(states: APPROVED) {

Tip: If you use Visual Studio Code, you can request a review from Copilot before you push from the "Source Control" tab. Learn more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant