Skip to content

Fix codespell failure on main in DateRangeFilter test - #74430

Merged
potiuk merged 1 commit into
apache:mainfrom
aaron-y-chen:fix-codespell-daterangefilter
Oct 7, 2026
Merged

potiuk merged 1 commit into
apache:mainfrom
aaron-y-chen:fix-codespell-daterangefilter

Conversation

@aaron-y-chen

@aaron-y-chen aaron-y-chen commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

related: #74011

Summary

Commit d38e9ceb749 (#74011) introduced a helper function named pressEnter in DateRangeFilter.test.tsx.

codespell flags pressenter as a misspelling of press enter or presenter, causing the CI image checks / Static checks job to fail across all runs on main and all open PRs:

airflow-core/src/airflow/ui/src/components/FilterBar/filters/DateRangeFilter.test.tsx:135: pressEnter ==> press enter, presenter
airflow-core/src/airflow/ui/src/components/FilterBar/filters/DateRangeFilter.test.tsx:210: pressEnter ==> press enter, presenter

https://github.com/apache/airflow/actions/runs/37688169608/job/113042768599?pr=74427

Rename pressEnter to triggerEnterKey in DateRangeFilter.test.tsx to resolve the codespell failure without polluting docs/spelling_wordlist.txt.


Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)

Generated-by: [Claude Opus-5.5] following the guidelines


  • Read the Pull Request Guidelines for more information. Note: commit author/co-author name and email in commits become permanently public when merged.
  • For fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
  • When adding dependency, check compliance with the ASF 3rd Party License Policy.
  • For significant user-facing changes create newsfragment: {pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.

@boring-cyborg boring-cyborg Bot added the area:UI Related to UI/UX. For Frontend Developers. label Oct 7, 2026
@aaron-y-chen
aaron-y-chen marked this pull request as ready for review October 7, 2026 22:57
@potiuk
potiuk merged commit 37dad4c into apache:main Oct 7, 2026
90 of 96 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:UI Related to UI/UX. For Frontend Developers.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants