Skip to content

Simplify the user experience for build #362

Description

@chlins

Currently, when users want to build a model artifact, they must first execute modctl modelfile generate followed by modctl build. We should simplify this workflow. Here is an initial idea for optimization:

  1. Users will only need to execute modctl build. If no modelfile is found, it should be generated automatically.
  2. Provide an option to check whether the modelfile needs to be regenerated each time, as the modelfile may become outdated.

Activity

  1. added theissue type on Dec 17, 2025
  2. changed the issue type fromtoon Dec 17, 2025
  3. gmarav05 commented on Feb 9, 2026

    @gmarav05

    Hi @chlins ,

    I recently submitted a small CLI usability PR and was looking at this issue next.

    My understanding:

    1. modctl build should automatically generate a Modelfile if one is not present
    2. Optionally allow users to force regeneration when the Modelfile is outdated

    Can you please assign me this issue?

  4. chlins commented on Feb 10, 2026

    @chlins
    MemberAuthor

    @gmarav05 Thanks for picking this up! I've assigned to you.

  5. gmarav05 commented on Feb 11, 2026

    @gmarav05

    @gmarav05 Thanks for picking this up! I've assigned to you.

    Thank you for assigning me @chlins , I have submitted a PR for this issue. Please review this and let me know if you have any feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions