Skip to content

[mdatagen] Delete old generated files #12346

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

Closed
atoulme opened this issue Feb 11, 2025 · 0 comments · Fixed by #12348
Closed

[mdatagen] Delete old generated files #12346

atoulme opened this issue Feb 11, 2025 · 0 comments · Fixed by #12348

Comments

@atoulme
Copy link
Contributor

atoulme commented Feb 11, 2025

Component(s)

No response

Describe the issue you're reporting

See #12343

In the event that mdatagen stops generating a file, it should delete old files as part of the update, so they don't linger behind. See generated_status.go for example.

github-merge-queue bot pushed a commit that referenced this issue Mar 13, 2025
)

<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
Delete generated_status.go if the component type doesn't require it.

<!-- Issue number if applicable -->
#### Link to tracking issue
Fixes #12346
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant