Skip to content

build(deps): bump amannn/action-semantic-pull-request from 5 to 6#4

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/github_actions/amannn/action-semantic-pull-request-6
Open

build(deps): bump amannn/action-semantic-pull-request from 5 to 6#4
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/github_actions/amannn/action-semantic-pull-request-6

Conversation

@dependabot
Copy link
Copy Markdown

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

Bumps amannn/action-semantic-pull-request from 5 to 6.

Release notes

Sourced from amannn/action-semantic-pull-request's releases.

v6.0.0

6.0.0 (2025-08-13)

⚠ BREAKING CHANGES

  • Upgrade action to use Node.js 24 and ESM (#287)

Features

  • Upgrade action to use Node.js 24 and ESM (#287) (bc0c9a7)

v5.5.3

5.5.3 (2024-06-28)

Bug Fixes

v5.5.2

5.5.2 (2024-04-24)

Bug Fixes

v5.5.1

5.5.1 (2024-04-24)

Bug Fixes

v5.5.0

5.5.0 (2024-04-23)

Features

v5.4.0

5.4.0 (2023-11-03)

... (truncated)

Changelog

Sourced from amannn/action-semantic-pull-request's changelog.

5.3.0 (2023-09-25)

Features

5.2.0 (2023-03-16)

Features

5.1.0 (2023-02-10)

Features

  • Add regex support to scope and disallowScopes configuration (#226) (403a6f8)

5.0.2 (2022-10-17)

Bug Fixes

  • Upgrade @actions/core to avoid deprecation warnings (#208) (91f4126)

5.0.1 (2022-10-14)

Bug Fixes

  • Upgrade GitHub Action to use Node v16 (#207) (6282ee3)

5.0.0 (2022-10-11)

⚠ BREAKING CHANGES

  • Enum options need to be newline delimited (to allow whitespace within them) (#205)

Features

  • Enum options need to be newline delimited (to allow whitespace within them) (#205) (c906fe1)

4.6.0 (2022-09-26)

Features

... (truncated)

Commits
  • 48f2562 chore: Release 6.1.1 [skip ci]
  • 800da4c fix: Parse headerPatternCorrespondence properly (#295)
  • 677b895 test: Fix broken test
  • 24e6f01 ci: Fix permissions for tagger
  • 7f33ba7 chore: Release 6.1.0 [skip ci]
  • afa4edb fix: Remove trailing whitespace from "unknown release type" error message (#291)
  • a30288b feat: Support providing regexps for types (#292)
  • a46a7c8 build: Move Vitest to devDependencies (#290)
  • fdd4d3d chore: Release 6.0.1 [skip ci]
  • 58e4ab4 fix: Actually execute action (#289)
  • Additional commits viewable in compare view

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 [amannn/action-semantic-pull-request](https://github.com/amannn/action-semantic-pull-request) from 5 to 6.
- [Release notes](https://github.com/amannn/action-semantic-pull-request/releases)
- [Changelog](https://github.com/amannn/action-semantic-pull-request/blob/main/CHANGELOG.md)
- [Commits](amannn/action-semantic-pull-request@v5...v6)

---
updated-dependencies:
- dependency-name: amannn/action-semantic-pull-request
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github
Copy link
Copy Markdown
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