Skip to content

chore(dev): static api analysis #6159

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 68 commits into
base: main
Choose a base branch
from
Open

chore(dev): static api analysis #6159

wants to merge 68 commits into from

Conversation

ekjotmultani
Copy link
Member

@ekjotmultani ekjotmultani commented Jun 3, 2025

Issue #, if available:

Description of changes:

Introduced the aft generate api-report command to AFT. This command uses dart_apitool from @bmw-tech to create snapshots of our package's dart level API surfaces, and a change report for these. Developers must now always use this AFT command to generate these files for each package (just running the command as is once here works) on every Pull Request that is expected to merge into main.

This PR also includes a workflow for checking that these change reports are actually updated according to the changes on the PR branch, and a workflow for requiring additional approvals when an API change actually occurs (as shown by the lovely bot in this thread).

Overall this change to our development flow will enforce that developers are always aware of API changes to help us get the right eyes on it and to help with versioning.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Copy link

github-actions bot commented Jun 3, 2025

⚠️ This PR contains API changes and requires careful review. Please ensure these changes are intentional and backward compatible where possible.

Copy link

github-actions bot commented Jun 3, 2025

⚠️ This PR contains API changes and requires careful review. Please ensure these changes are intentional and backward compatible where possible.

Copy link

github-actions bot commented Jun 3, 2025

⚠️ This PR contains API changes and requires careful review. Please ensure these changes are intentional and backward compatible where possible.

Copy link

github-actions bot commented Jun 3, 2025

⚠️ This PR contains API changes and requires careful review. Please ensure these changes are intentional and backward compatible where possible.

Copy link

github-actions bot commented Jun 3, 2025

⚠️ This PR contains API changes and requires careful review. Please ensure these changes are intentional and backward compatible where possible.

Copy link

github-actions bot commented Jun 3, 2025

⚠️ This PR contains API changes and requires careful review. Please ensure these changes are intentional and backward compatible where possible.

Copy link

github-actions bot commented Jun 3, 2025

⚠️ This PR contains API changes and requires careful review. Please ensure these changes are intentional and backward compatible where possible.

Copy link

github-actions bot commented Jun 3, 2025

⚠️ This PR contains API changes and requires careful review. Please ensure these changes are intentional and backward compatible where possible.

Copy link

github-actions bot commented Jun 4, 2025

⚠️ This PR contains API changes and requires careful review. Please ensure these changes are intentional and backward compatible where possible.

Copy link

github-actions bot commented Jun 4, 2025

⚠️ This PR contains API changes and requires careful review. Please ensure these changes are intentional and backward compatible where possible.

Copy link

github-actions bot commented Jun 5, 2025

⚠️ This PR contains API changes and requires careful review. Please ensure these changes are intentional and backward compatible where possible.

…and look specifically for the text that tells us if anything changed
Copy link

github-actions bot commented Jun 5, 2025

⚠️ This PR contains API changes and requires careful review. Please ensure these changes are intentional and backward compatible where possible.

Copy link
Member

@tyllark tyllark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you update the AFT ReadMe to reference this new command.

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.

2 participants