Skip to content

fix: CI push-trigger conditions and changelog update#319

Merged
ElderEvil merged 3 commits into
masterfrom
fix/2.14.1-image-model-config
May 29, 2026
Merged

fix: CI push-trigger conditions and changelog update#319
ElderEvil merged 3 commits into
masterfrom
fix/2.14.1-image-model-config

Conversation

@ElderEvil
Copy link
Copy Markdown
Owner

Changes

  • CI: Push-triggered builds always skipped - Fixed contains() usage in GitHub Actions workflow conditions. contains() on arrays checks for exact element match, not substring. Wrapped arrays with join() so contains() performs substring matching as intended.

  • Changelog - Documented the image model fix and CI fix under [Unreleased]

ElderEvil added 3 commits May 29, 2026 17:37
…onse format

- Make image model configurable via AI_IMAGE_MODEL setting (default: gpt-image-1)
- Change quality parameter from 'standard' to 'auto' (new API requirement)
- Handle b64_json response from gpt-image-* models instead of relying on URL
- Decode base64 image data to bytes for return_bytes=True path
- Keep fallback for legacy URL-based model responses
GitHub Actions contains() on arrays checks for exact element match,
not substring. Using join() converts the array to a string first,
making contains() perform substring matching as intended.

This was causing all push-triggered build jobs to be skipped —
only manual workflow_dispatch would run.
@ElderEvil ElderEvil merged commit 0da013a into master May 29, 2026
0 of 2 checks passed
@ElderEvil ElderEvil deleted the fix/2.14.1-image-model-config branch May 29, 2026 15:05
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 29, 2026

Warning

Review limit reached

@ElderEvil, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 34 minutes and 11 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 22a7cc0d-2f5a-4c19-b03a-e916e456d819

📥 Commits

Reviewing files that changed from the base of the PR and between 569935f and 471646b.

📒 Files selected for processing (4)
  • .github/workflows/build.yml
  • CHANGELOG.md
  • backend/app/core/config.py
  • backend/app/services/open_ai.py
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/2.14.1-image-model-config

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

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

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant