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/30 06:08:00 UTC

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

    [ https://issues.apache.org/jira/browse/YUNIKORN-1298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17597560#comment-17597560 ] 

Wilfred Spiegelenburg commented on YUNIKORN-1298:
-------------------------------------------------

change that use git to see if make build updated any files, if so fail the build.

> 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
>            Priority: Critical
>              Labels: pull-request-available
>
> 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