Fix Mise generator and add `generate-force` target #3315
Codecov Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 58.97%. Comparing base (
628a9df) to head (04b15e0).:exclamation: There is a different number of reports uploaded between BASE (628a9df) and HEAD (04b15e0). Click for more details.
> <details><summary>HEAD has 69 uploads less than BASE</summary>
>| Flag | BASE (628a9df) | HEAD (04b15e0) |
>|------|------|------|
>|integration-test-arm|4|0|
>|oats-test|9|0|
>|k8s-integration-test|20|0|
>|beyla-integration-test|1|0|
>|integration-test-vm-5.15-lts|4|0|
>|integration-test-vm-6.18-lts|4|0|
>|integration-test-vm-7.2|4|0|
>|integration-test|23|0|
></details>
<details><summary>Additional details and impacted files</summary>
@@ Coverage Diff @@
## main #3315 +/- ##
===========================================
- Coverage 70.26% 58.97% -11.30%
===========================================
Files 98 98
Lines 5832 5818 -14
===========================================
- Hits 4098 3431 -667
- Misses 1734 2387 +653
| Flag | Coverage Δ | |
|---|---|---|
| beyla-integration-test | ? | |
| integration-test | ? | |
| integration-test-arm | ? | |
| integration-test-vm-5.15-lts | ? | |
| integration-test-vm-6.18-lts | ? | |
| integration-test-vm-7.2 | ? | |
| k8s-integration-test | ? | |
| oats-test | ? | |
| unittests | 58.97% <ø> (ø) | |
Flags with carried forward coverage won't be shown. Click here to find out more.
</details>
:umbrella: View full report in Codecov by Harness.
:loudspeaker: Have feedback on the report? Share it here.
<details><summary> :rocket: New features to boost your workflow: </summary>
</details>
task that would force regeneration of eBPF modules even when the scripts detect that there were no changes.
why would you want to generate if there are no changes?
> task that would force regeneration of eBPF modules even when the scripts detect that there were no changes.
> why would you want to generate if there are no changes?
I've seen this before, the tooling for recompilation sometimes detects that there are no changes, and I have to do cleanup-ebpf-generated-files and then make generate. So it would be nice to have a shorthand to force generate.
@zeitlinger is what @grcevski says.
LGTM!
grcevski
mariomac
For some reason my local installation was not detecting changes in the obi submodule and
mise generatewas not working.This PR fixes it and adds a
make generate-forcetask that would force regeneration of eBPF modules even when the scripts detect that there were no changes.