Skip to content

Fix dependency security alerts in Black and architecture tooling - #852

Merged
yuecideng merged 1 commit into
mainfrom
codex/fix-dependabot-alerts
Oct 24, 2026
Merged

yuecideng merged 1 commit into
mainfrom
codex/fix-dependabot-alerts

Conversation

@yuecideng

Copy link
Copy Markdown
Contributor

Description

Dependabot reports vulnerable Black 26.3.1 and @vitest/mocker 5.0.1. Upgrade Black to 26.10.1 and Vitest to 5.0.3, including its matching mocker and spy packages. This addresses alerts 25, 24, and 23.

Keep the Black version consistent across package metadata, CI, and contributor/agent instructions. Refresh the architecture frontend lockfile and update its transitive fast-uri dependency from 3.1.8 to 3.1.9 to resolve the additional vulnerabilities found by npm audit.

Type of change

  • Bug fix (non-breaking dependency security updates)

Validation

  • Black 26.10.1: black . and black --check --diff --color ./; all 1,532 Python files unchanged.
  • python docs/scripts/check_api_docs.py: 3,042/3,042 exports documented.
  • actionlint .github/workflows/main.yml: passed.
  • Architecture frontend: npm ci, npm test (17 tests), npm run build, and npm run format:check passed.
  • npm audit: 0 vulnerabilities. Targeted pip-audit --no-deps --disable-pip for Black 26.10.1: no known vulnerabilities.
  • Black's Python >=3.10 requirement preserves the project's minimum Python version. A clean install with the existing npm 10 succeeded using the updated lockfile.
  • Reused existing frontend coverage; no new tests were needed for dependency declarations. The simulator suite was not run because runtime simulation behavior is unchanged.
  • Agent-context impact check reports no affected topics; dependency pins and formatting guidance do not change routed runtime contracts.

Checklist

  • I have run the black . command to format the code base.
  • I reviewed affected documentation and agent context, updated it where needed, or explained why no update was needed.
  • Public API changes are reflected in the API docs (python docs/scripts/check_api_docs.py), if applicable.
  • I verified appropriate behavioral coverage, reviewed the necessity of added or extended tests, and explained when no new tests were needed.
  • Dependencies have been updated, if applicable.

@yuecideng yuecideng added bug Incorrect existing behavior or a fix restoring the intended behavior. dependencies Dependency versions, upgrades and compatibility. ci Continuous integration, build automation and release automation. labels Oct 24, 2026
@yuecideng
yuecideng marked this pull request as ready for review October 24, 2026 07:16
@greptile-apps

greptile-apps Bot commented Oct 24, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge; no actionable issues were found.

Summary

Updates Black to 26.10.1 and Vitest to 5.0.3 to address reported dependency alerts.

  • The Python project and its style-check workflow use Black 26.10.1.
  • The architecture web project uses updated Vitest and supporting packages.

Reviews (1) · Last reviewed commit: "fix(deps): patch Black and architecture ..." · Reviewed by Greptile

@yuecideng
yuecideng merged commit d419fab into main Oct 24, 2026
17 checks passed
@yuecideng
yuecideng deleted the codex/fix-dependabot-alerts branch October 24, 2026 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Incorrect existing behavior or a fix restoring the intended behavior. ci Continuous integration, build automation and release automation. dependencies Dependency versions, upgrades and compatibility.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant