Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refresh check_buck_targets.sh (facebook#13196)
Summary: This is a followup to facebook#13190. We're patching the targets generating script to construct `BUCK` file instead of deprecated `TARGETS` file + adding safety checks to ensure that `BUCK` file does not go missing (either as a direct renaming / removal OR as a modification to buckfier's script(s)). Pull Request resolved: facebook#13196 Test Plan: 1. Manually verify 'Compare buckify output' step produces expected results (vs previously soft-failed one [here](https://github.com/facebook/rocksdb/actions/runs/12202756083/job/34044173548?pr=13178)). 2. Manually test following scenarios (for both of which we expect the buckifier script to fail): -> Simulate removing `BUCK` file via commit -> Simulate buckifier script removing the `BUCK` file Reviewed By: pdillinger Differential Revision: D66903948 Pulled By: mszeszko-meta fbshipit-source-id: 0f83fd2f87b600981f640ccdbc3a4640974a63d4
- Loading branch information