fields.yml not being completely regenerated #251
Labels
bug
Something isn't working
question
Further information is requested
Team:Onboarding and Lifecycle Mgt
So an interesting conundrum occurred. I don't understand the nature of it, so this is just going to state the facts of what occurred, sense and acceptance criteria can come out of it:
As CI was being spun up, one of the steps is to run
make
, and then check for a dirty work-tree (any uncommitted difference between what wasmade
and what was already checked in).CI was coming up with failures, stating some differences.
Full log output
Running
make
locally did not produce this diff. Creating a fresh clone elsewhere on my machine and runningmake
did not produce the difference. I am runningpython3.10
and CI is runningpython3.8
, perhaps that was the difference? I spun up docker withdocker.io/ubuntu:20.04
, installedpython
which gave me python3.8, then the rest of the necessary build toolspython3-pip
,golang
,git
, etc.I cloned this repo in that docker, and ran
make
. No change.Now back on my local outer host machine, I deleted
package/endpoint/data_stream/process/fields/fields.yml
and ranmake
and the diff for that file appeared. So I deleted all thefields.yml
withand on the next
make
, the exact diff that CI saw, including to theREADME
appeared.I don't quite know what's happening here, but this can likely be sorted out in the Makefile. Perhaps something is not being copied over correctly, or perhaps modtime funny business. Deleting
fields.yml
as a normal step could work to keep them always fresh.The text was updated successfully, but these errors were encountered: