Skip to content

build(deps): bump actions/checkout from 4 to 5#6

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/github_actions/actions/checkout-5
Open

build(deps): bump actions/checkout from 4 to 5#6
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/github_actions/actions/checkout-5

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Nov 11, 2025

Bumps actions/checkout from 4 to 5.

Release notes

Sourced from actions/checkout's releases.

v5.0.0

What's Changed

⚠️ Minimum Compatible Runner Version

v2.327.1
Release Notes

Make sure your runner is updated to this version or newer to use this release.

Full Changelog: actions/checkout@v4...v5.0.0

v4.3.0

What's Changed

New Contributors

Full Changelog: actions/checkout@v4...v4.3.0

v4.2.2

What's Changed

Full Changelog: actions/checkout@v4.2.1...v4.2.2

v4.2.1

What's Changed

New Contributors

Full Changelog: actions/checkout@v4.2.0...v4.2.1

... (truncated)

Changelog

Sourced from actions/checkout's changelog.

Changelog

V5.0.0

V4.3.0

v4.2.2

v4.2.1

v4.2.0

v4.1.7

v4.1.6

v4.1.5

v4.1.4

v4.1.3

... (truncated)

Commits

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Nov 11, 2025

Labels

The following labels could not be found: dependencies, github-actions. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

zakariaf pushed a commit that referenced this pull request Nov 13, 2025
…rformance improvements

Fix all issues identified in PR review by gemini-code-assist bot.

HIGH PRIORITY FIXES:

1. EmbeddingVector validation (Issue #1)
   - Replace no-op field_validator with @model_validator
   - Move dimension matching validation from factory to model validator
   - Move NaN/Inf detection from factory to model validator
   - Now validates on direct instantiation, not just via create()

2. RateLimitInfo validation (Issue #2)
   - Replace no-op field_validator with @model_validator
   - Enforce requests_remaining <= limit constraint
   - Validation now happens on all instantiation paths

3. CacheStatistics validation (Issue #3)
   - Replace field_validator with @model_validator
   - Validate total_queries = cache_hits + cache_misses
   - Validate cache_hits = exact_hits + semantic_hits
   - Proper cross-field validation with model_validator

MEDIUM PRIORITY FIXES:

4. AuditLogSummary performance (Issue #4)
   - Consolidate 6 separate list iterations into single loop
   - Major performance improvement for large audit log datasets
   - Reduced from O(6n) to O(n) complexity

5. ProviderRegistry mutability (Issue #5)
   - Remove unconventional object.__setattr__() usage
   - Use direct mutation (Pydantic models are mutable)
   - Cleaner, more idiomatic code in register() and set_default()

6. Test consistency (Issue #6)
   - Replace try/except blocks with pytest.raises context manager
   - Updated 5 test methods in test_cache_entry.py
   - Consistent with other test files in the project

BENEFITS:
- Validates on all instantiation paths, not just factory methods
- Better performance with consolidated iterations
- More maintainable code without object.__setattr__
- Consistent testing patterns across all test files
- Proper Pydantic validation best practices

Files modified:
- app/models/embedding.py: model_validator for dimensions + NaN/Inf
- app/models/ratelimit.py: model_validator for requests_remaining
- app/models/statistics.py: model_validator for cross-field validation
- app/models/audit.py: single-loop optimization
- app/models/provider.py: removed object.__setattr__
- tests/unit/models/test_cache_entry.py: pytest.raises pattern
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.

0 participants