Skip to content

Conversation

@pzl
Copy link
Member

@pzl pzl commented Dec 5, 2025

Change Summary

PR #704 added some fields, and after review comments, Ext.script.content was edited to be match_only_text, but it was manually edited in the output file, package/endpoint/data_stream/process/fields/fields.yml and not the input field source field in custom_schemas/custom_process.yml.

So further runs of make would overwrite the field, going back to the source file which defined it as keyword still.

Details

This wasn't caught in the PR itself because of how the make prereqs are defined. At the point that the output file (fields.yml) was edited, wouldn't trigger make to run. It is not a prereq file for anything. Make would decide there is "nothing to do" since everything was up-to-date. Editing output files would escape being overwritten in that PR.

Only when a subsequent change gets made to the related input file (custom_process.yml) would that make recipe run, and overwrite the field.

Luckily, another PR did make a related change, the file was overwritten, and CI then caught the diff occurring.

Updates should be made in the future for make to run in more cases, e.g. if the output files were their own prereqs.

@pzl pzl requested a review from a team as a code owner December 5, 2025 18:07
Copy link
Contributor

@soolidsnake soolidsnake left a comment

Choose a reason for hiding this comment

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

Thanks you sir @pzl

@pzl pzl mentioned this pull request Dec 5, 2025
1 task
@soolidsnake soolidsnake merged commit 9ca18a9 into main Dec 8, 2025
4 checks passed
@soolidsnake soolidsnake deleted the fix-704 branch December 8, 2025 12:16
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 this pull request may close these issues.

4 participants