Skip to content

Feat/pr 5084 ci validation - #5097

Closed
turip wants to merge 4 commits into
openmeterio:mainfrom
turip:feat/pr-5084-ci-validation
Closed

turip wants to merge 4 commits into
openmeterio:mainfrom
turip:feat/pr-5084-ci-validation

Conversation

@turip

@turip turip commented Sep 7, 2026 •

Copy link
Copy Markdown
Member

Overview

Fixes #(issue)

Notes for reviewer

Greptile Summary

This PR corrects LLM price resolution so namespace-specific overrides take precedence over global prices and adjusts CI cache validation to support fork pull requests.

  • Orders null namespaces after namespace-specific prices and adds a PostgreSQL-backed regression test.
  • Skips Depot Go cache verification for fork pull requests while retaining it for trusted runs.
  • Keeps runner-tool verification unconditional before OpenAPI generation.

Confidence Score: 5/5

The PR appears safe to merge, with no actionable correctness, security, or repository-rule violations identified.

Namespace override ordering is corrected and regression-tested, while the latest CI changes consistently skip unavailable Depot cache validation only for fork pull requests and preserve required runner-tool checks.

Important Files Changed

Filename Overview
.github/workflows/ci.yaml Gates Depot cache checks for fork pull requests and separates unconditional runner-tool validation.
openmeter/llmcost/adapter/price.go Uses NULLS LAST ordering so namespace overrides are selected before global prices.
openmeter/llmcost/adapter/price_test.go Adds integration coverage for namespace override precedence and global fallback.

Reviews (2): Last reviewed commit: "fix(ci): allow local Go cache for fork p..." | Re-trigger Greptile

@coderabbitai

coderabbitai Bot commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true

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.

@turip turip added the kind/bug Something isn't working label Sep 7, 2026
@turip turip closed this Sep 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants