Skip to content

fix(ci): ignore archived past years missing from FINRA TAF page - #559

Merged
Pigbibi merged 1 commit into
mainfrom
fix/fee-schedule-check-archived-years
Nov 28, 2026
Merged

Pigbibi merged 1 commit into
mainfrom
fix/fee-schedule-check-archived-years

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

AI

  • Assisted by Antigravity (owner-directed CI remediation).

Summary

  • Add optional allow_missing_before_year to compare_taf_years in scripts/check_fee_schedule.py and pass date.today().year for the historical SR-FINRA-2024-019 table check in run_check.
  • Keeps checking any past-year columns still present on the page as well as all current/future years (2026+) strictly, while avoiding false-positive failures when FINRA archives past calendar years (2024/2025) from the webpage.
  • Add unit tests in tests/test_check_fee_schedule.py. Relates to Recurring: review and bump Firstrade fee schedule verified_through #497.

Verification

  • uv run --extra test pytest tests/test_check_fee_schedule.py -q

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 28, 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-28T13:30:16.223513Z 22c825f PR opened
🔒 Security Review ✅ Completed 2026-11-28T13:32:03.757457Z 22c825f PR opened
ℹ️ About Codex in GitHub

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

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

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

@Pigbibi Pigbibi added the owner-approved Owner approval for high-risk PRs. AI agents must never apply this label. label Nov 28, 2026
@Pigbibi
Pigbibi merged commit b70ea77 into main Nov 28, 2026
17 of 19 checks passed
@Pigbibi
Pigbibi deleted the fix/fee-schedule-check-archived-years branch November 28, 2026 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

owner-approved Owner approval for high-risk PRs. AI agents must never apply this label.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant