Skip to content

Update locked dependencies to their security fix releases - #6692

Merged
Koudai Aono (koxudaxi) merged 5 commits into
octet-patternfrom
lock-security-updates
Nov 10, 2026
Merged

Koudai Aono (koxudaxi) merged 5 commits into
octet-patternfrom
lock-security-updates

Conversation

@koxudaxi

@koxudaxi Koudai Aono (koxudaxi) commented Nov 10, 2026 •

Copy link
Copy Markdown
Member

Summary by CodeRabbit

  • Chores
    • Made minor internal typing and annotation adjustments. No user-facing behavior changed.

@coderabbitai

coderabbitai Bot commented Nov 10, 2026 •

Copy link
Copy Markdown

Explain Change →

Important

Review skipped

Auto incremental reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

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

Use the checkbox below for a quick retry:

  • Trigger review

No actionable comments were generated in the recent review.

Walkthrough

The changes add a Path cast to Black project-root handling and remove a type-ignore comment from a legacy GraphQL resolver assignment. The runtime values and assignment remain unchanged.

Changes: Type annotation adjustments

Layer / File(s) Summary
Update typing annotations
src/datamodel_code_generator/format.py, src/datamodel_code_generator/parser/graphql.py
black_find_project_root casts the project-root tuple value to Path. The GraphQL resolver assignment no longer includes a ty: ignore[unresolved-attribute] comment.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Other

Merge Risk: Minimal · previous review be62c

The dependency and typing updates present no identified merge-blocking risk.

Pre-merge checks: Passed 5

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly describes the stated objective: update locked dependencies to security-fix releases.
Docstring Coverage Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 1 functions across 2 files.

Finishing Touches

Generate docstrings

  • Commit to this branch
  • Create a new PR
Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between a6be31f and be62c52.

Files ignored due to path filters: 1

  • uv.lock is excluded by !**/*.lock, !**/*.lock and included by none
Files selected for processing: 2

  • src/datamodel_code_generator/format.py
  • src/datamodel_code_generator/parser/graphql.py

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 2 remain after this review.

@koxudaxi
Koudai Aono (koxudaxi) marked this pull request as ready for review November 10, 2026 17:17
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-10T17:18:52.500396Z be62c52 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

Copy link
Copy Markdown
Contributor

@codspeed

codspeed Bot commented Nov 10, 2026 •

Copy link
Copy Markdown

Merging this PR will degrade performance by 2.04%

1 warning

⚠️ Walltime results may be unreliable

Some benchmarks used the Walltime instrument outside CodSpeed Macro Runners, which can make the results inconsistent.

Learn more about Macro Runners

See affected benchmarks

⚡ 1 improved benchmark
❌ 1 regressed benchmark
✅ 51 untouched benchmarks
⏩ 98 skipped benchmarks1

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Benchmark BASE HEAD Efficiency
❌ test_perf_load_yaml_openapi_large 26.6 ms 30.5 ms -12.89%
⚡ test_perf_extreme_large_schema 12.9 s 11.8 s +10.17%

Tip

Investigate this regression by commenting @codspeedbot fix this regression on this PR, or directly use the CodSpeed MCP with your agent.


Comparing lock-security-updates (039b99e) with octet-pattern (4db82b2)

Open in CodSpeed

Footnotes

  1. 98 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩

@codecov

codecov Bot commented Nov 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@koxudaxi
Koudai Aono (koxudaxi) enabled stacked auto-merge (squash) November 10, 2026 18:39
@koxudaxi
Koudai Aono (koxudaxi) merged commit f478c79 into main Nov 10, 2026
116 checks passed
@koxudaxi
Koudai Aono (koxudaxi) deleted the lock-security-updates branch November 10, 2026 18:53
@github-actions

Copy link
Copy Markdown
Contributor

Breaking Change Analysis

Result: No breaking changes detected

Reasoning: The PR changes only internal release tooling scripts (compare_release.py now also counts the CPython SystemError for an error returned without an exception set as an out-of-memory stop, and prepare_release_draft_artifacts.py validates preset names with a separate name pattern), adds a typing cast in format.py that is a runtime no-op, removes a type checker ignore comment in parser/graphql.py, updates test fixtures and tests, and bumps development dependency pins in uv.lock (black, graphql-core, pytest, requests, urllib3, setuptools, anyio, dnspython), which do not change the package dependency constraints users install against. Every behaviour diff cell is classed both-fail, with no accepted or violation cells, so default generated output is unchanged. No CLI options, Python API, templates, defaults, supported Python versions or error handling reachable by users were changed.


This analysis was produced by the release draft workflow

@github-actions

Copy link
Copy Markdown
Contributor

🎉 Released in 0.93.0

This PR is now available in the latest release. See the release notes for details.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant