Skip to content

Conversation

@gitauto-ai
Copy link
Contributor

@gitauto-ai gitauto-ai bot commented Sep 12, 2025

Resolves #285

Summary

Introduce the DOTNET_AICOMMITMESSAGE_IGNORE_API_ERRORS environment variable to allow graceful fallback when AI API calls fail.

Changes

  • Added a new environment variable check for DOTNET_AICOMMITMESSAGE_IGNORE_API_ERRORS.
  • Updated API error handling to catch exceptions and log a warning when the variable is active.
  • Implemented a fallback to continue processing and return the original or partially transformed message without interrupting the workflow.
git fetch origin
git checkout gitauto/issue-285-20250912-171517-Z3jS
git pull origin gitauto/issue-285-20250912-171517-Z3jS

@korbit-ai
Copy link

korbit-ai bot commented Sep 12, 2025

By default, I don't review pull requests opened by bots. If you would like me to review this pull request anyway, you can request a review via the /korbit-review command in a comment.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Sep 12, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

@korbit-ai
Copy link

korbit-ai bot commented Sep 12, 2025

I was unable to write a description for this pull request. This could be because I only found files I can't scan.

@github-actions github-actions bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Sep 12, 2025
@gstraccini gstraccini bot added Documentation enhancement New feature or request gitauto GitAuto label to trigger the app in a issue. good first issue Good for newcomers hacktoberfest Participation in the Hacktoberfest event help wanted Extra attention is needed ✨ feature New feature requests or implementations 👷🏼 infrastructure Infrastructure-related tasks or issues 📝 documentation Tasks related to writing or updating documentation 🕓 medium effort A task that can be completed in a few hours 🚀 performance Performance optimizations or regressions 🚨 security Security-related issues or improvements 🧪 tests Tasks related to testing labels Sep 12, 2025
@deepsource-io
Copy link

deepsource-io bot commented Sep 12, 2025

Here's the code health analysis summary for commits 99d1743..d940493. View details on DeepSource ↗.

Analysis Summary

AnalyzerStatusSummaryLink
DeepSource Test coverage LogoTest coverage❌ Failure
❗ 2 occurences introduced
View Check ↗
DeepSource Secrets LogoSecrets✅ SuccessView Check ↗
DeepSource Docker LogoDocker✅ SuccessView Check ↗
DeepSource C# LogoC#❌ Failure
❗ 1 occurence introduced
View Check ↗

Code Coverage Report

MetricAggregateC#
Branch Coverage42.9% (down 3.3% from main)42.9% (down 3.3% from main)
Condition Coverage42.9% (down 3.3% from main)42.9% (down 3.3% from main)
Composite Coverage45.3% (down 1.5% from main)45.3% (down 1.5% from main)
Line Coverage46.1% (down 0.9% from main)46.1% (down 0.9% from main)
New Branch Coverage0%0%
New Condition Coverage0%0%
New Composite Coverage7.7%7.7%
New Line Coverage14.3%14.3%

💡 If you’re a repository administrator, you can configure the quality gates from the settings.

@gstraccini gstraccini bot added 🚦 awaiting triage Items that are awaiting triage or categorization 🤖 bot Automated processes or integrations labels Sep 12, 2025
@github-actions github-actions bot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Sep 12, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Sep 12, 2025

🔥 Formatting issues detected

File Line

⚡ Please run dotnet csharpier . locally to fix the formatting issues.

@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
7.7% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

@guibranco guibranco removed the 🚦 awaiting triage Items that are awaiting triage or categorization label Nov 21, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Dec 4, 2025

Infisical secrets check: ✅ No secrets leaked!

💻 Scan logs
2025-12-04T17:12:55Z INF scanning for exposed secrets...
5:12PM INF 249 commits scanned.
2025-12-04T17:12:55Z INF scan completed in 79.1ms
2025-12-04T17:12:55Z INF no leaks found

@sonarqubecloud
Copy link

sonarqubecloud bot commented Dec 4, 2025

Quality Gate Failed Quality Gate failed

Failed conditions
7.7% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🤖 bot Automated processes or integrations 📝 documentation Tasks related to writing or updating documentation Documentation enhancement New feature or request ✨ feature New feature requests or implementations gitauto GitAuto label to trigger the app in a issue. good first issue Good for newcomers hacktoberfest Participation in the Hacktoberfest event help wanted Extra attention is needed 👷🏼 infrastructure Infrastructure-related tasks or issues 🕓 medium effort A task that can be completed in a few hours 🚀 performance Performance optimizations or regressions 🚨 security Security-related issues or improvements size/L Denotes a PR that changes 100-499 lines, ignoring generated files. 🧪 tests Tasks related to testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] Add DOTNET_AICOMMITMESSAGE_IGNORE_API_ERRORS environment variable to bypass AI API failures gracefully

2 participants