mirror of
https://github.com/Glitchy-Sheep/boosty-downloader.git
synced 2026-10-14 21:33:23 +00:00
[PR #210] [MERGED] ci: warn about new API fields in the weekly report, alarm only on breaking changes #208
Labels
No labels
api-drift
bug
ci
documentation
enhancement
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Glitchy-Sheep/boosty-downloader#208
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Glitchy-Sheep/boosty-downloader/pull/210
Author: @Glitchy-Sheep
Created: 9/23/2026
Status: ✅ Merged
Merged: 9/23/2026
Merged by: @Glitchy-Sheep
Base:
main← Head:ci/api-changes-warning📝 Commits (3)
3d25aa8feat(scripts): list what the live API added since the committed schemab6aaf61ci: open an issue only on breaking API changes, keep additions for the report75bd119ci: show new API fields in the weekly report📊 Changes
12 files changed (+380 additions, -45 deletions)
View changed files
📝
.github/workflows/canary.yaml(+16 -2)📝
.github/workflows/weekly-report.yaml(+3 -2)📝
.gitignore(+3 -0)📝
Taskfile.yml(+17 -3)📝
docs/api/README.md(+8 -0)📝
docs/development/02-testing.md(+1 -1)📝
docs/development/03-ci.md(+6 -3)📝
scripts/api_schema/__main__.py(+54 -8)➕
scripts/api_schema/schema_changes.py(+107 -0)📝
scripts/weekly_report.py(+60 -10)📝
test/canary/api_drift_test.py(+4 -16)➕
test/unit/api_schema/schema_changes_test.py(+101 -0)📄 Description
📝 Summary
The canary now tells two kinds of API changes apart. An issue opens only when the app breaks. What Boosty adds without breaking anything, like a new key or content type, comes as a warning in the weekly Telegram report.
🔧 What changes
task api:changes -- <blog>builds a schema from live answers and lists whatdocs/api/boosty-api.yamllacks: new content types, keys, types and vocabulary values. It writesapi-changes.jsonand never fails on a change. Keys missing from the answers are not listed: one page rarely holds every key.api-changesartifact.task api:schema -- <blog>and commit the schema. They stop showing up.🧪 Tests
glitchy_sheep: 4 changes found. New keysPost.hasAIContentandPost.forbiddenChangeHasAIContent, andPost.priceandPost.subscriptionLevel.pricenow come as fractional numbers. The canary probe passes: none of this breaks the app.task checkand 360 tests pass. The canary workflow passescheck-jsonschema.⏭️ Next
✅ Checklist
--helpand README if neededdocs/if the download flow or dev process changed## Unreleasedin CHANGELOG.md (or theci/skip-changeloglabel if not user-facing)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.