You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Wilfred Spiegelenburg (Jira)" <ji...@apache.org> on 2022/08/26 02:12:00 UTC

[jira] [Created] (YUNIKORN-1298) fail PR build when generated code files are changed

Wilfred Spiegelenburg created YUNIKORN-1298:
-----------------------------------------------

             Summary: fail PR build when generated code files are changed
                 Key: YUNIKORN-1298
                 URL: https://issues.apache.org/jira/browse/YUNIKORN-1298
             Project: Apache YuniKorn
          Issue Type: Improvement
          Components: build, scheduler-interface
            Reporter: Wilfred Spiegelenburg
            Assignee: Wilfred Spiegelenburg


The md file is the source of truth for the constants and proto definition.
The build generates the files and the resulting build result, including the md file as the source of truth are committed as part of a PR.

The current build does not check that the two files are in sync. This can cause issues when a next change gets added or someone build everything from scratch. We need to make sure that the build fails if the generated files are not in sync with the source data.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org