Repository navigation
feat(release): bump v1.2.0 with version sync and engine docker auto-triggers #695
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,10 +8,15 @@ run-name: >- | |
| by @${{ github.actor }} | ||
|
|
||
| on: | ||
| push: | ||
| branches: [main] | ||
| paths: | ||
| - bindings/python/pyproject.toml | ||
| workflow_dispatch: | ||
| inputs: | ||
| base_image_ref: | ||
| description: 'Base image (e.g. nvcr.io/nvidia/tensorrt-llm/release:1.3.0rc6). Empty = build from source.' | ||
| default: 'nvcr.io/nvidia/tensorrt-llm/release:1.3.0rc6' | ||
| required: false | ||
|
Comment on lines
18
to
20
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🌐 Web query:
💡 Result: Yes. In GitHub Actions expressions, an empty string ( To preserve an intentionally empty manual input, but still default for non-manual runs (e.g., base_image_ref: ${{ case(github.event_name == 'workflow_dispatch', inputs.base_image_ref, 'fallback') }}
Keep the "build from source" path reachable on manual runs. An empty Suggested fix- base_image_ref: ${{ inputs.base_image_ref || 'nvcr.io/nvidia/tensorrt-llm/release:1.3.0rc6' }}
+ base_image_ref: ${{ case(github.event_name == 'workflow_dispatch', inputs.base_image_ref, 'nvcr.io/nvidia/tensorrt-llm/release:1.3.0rc6') }}Also applies to: 51-52 🤖 Prompt for AI Agents |
||
| type: string | ||
| trtllm_repo: | ||
|
|
@@ -31,10 +36,10 @@ on: | |
| smg_commit: | ||
| description: 'SMG commit/ref ("latest" for HEAD)' | ||
| required: false | ||
| default: 'v1.1.0' | ||
| default: 'v1.2.0' | ||
| type: string | ||
| tag: | ||
| description: 'Override image tag (e.g. v1.1.0-trtllm-1.3.0)' | ||
| description: 'Override image tag (e.g. v1.2.0-trtllm-1.3.0)' | ||
| required: false | ||
| type: string | ||
|
|
||
|
|
@@ -43,12 +48,12 @@ jobs: | |
| uses: ./.github/workflows/_build-engine-image.yml | ||
| with: | ||
| engine: trtllm | ||
| base_image_ref: ${{ inputs.base_image_ref }} | ||
| base_image_ref: ${{ inputs.base_image_ref || 'nvcr.io/nvidia/tensorrt-llm/release:1.3.0rc6' }} | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Using Useful? React with 👍 / 👎. |
||
| engine_repo: ${{ inputs.trtllm_repo }} | ||
| engine_commit: ${{ inputs.trtllm_commit }} | ||
| smg_repo: ${{ inputs.smg_repo }} | ||
| smg_commit: ${{ inputs.smg_commit }} | ||
| engine_commit: ${{ inputs.trtllm_commit || 'latest' }} | ||
| smg_repo: ${{ inputs.smg_repo || 'https://github.com/lightseekorg/smg' }} | ||
| smg_commit: ${{ inputs.smg_commit || 'v1.2.0' }} | ||
| tag: ${{ inputs.tag }} | ||
| source_build_repo: ${{ inputs.trtllm_repo }} | ||
| source_build_ref: ${{ inputs.trtllm_commit }} | ||
| source_build_ref: ${{ inputs.trtllm_commit || 'latest' }} | ||
| secrets: inherit | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| [package] | ||
| name = "smg-golang" | ||
| version = "1.1.0" | ||
| version = "1.2.0" | ||
| edition = "2021" | ||
|
|
||
| [lib] | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| [package] | ||
| name = "smg-python" | ||
| version = "1.1.0" | ||
| version = "1.2.0" | ||
| edition = "2021" | ||
|
|
||
| [lib] | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: lightseekorg/smg
Length of output: 278
🏁 Script executed:
Repository: lightseekorg/smg
Length of output: 12024
🏁 Script executed:
Repository: lightseekorg/smg
Length of output: 378
🏁 Script executed:
Repository: lightseekorg/smg
Length of output: 2588
Don't pin
smg_commitdefault to a release tag when auto-triggered onpushtomain.Line 35 defaults to
v1.2.0, and the caller workflows (release-vllm-docker.yml, release-trtllm-docker.yml, release-sglang-docker.yml) that invoke this reusable workflow also default tov1.2.0. When these workflows auto-trigger onpushtomain, the tag may not exist yet, causingdocker/engine.Dockerfileto fail atgit checkout v1.2.0. Uselatestas the default to allow the Dockerfile to clone HEAD instead, and let release-tag callers pass the tag explicitly.Suggested fix
Note: The same timing risk exists in the caller workflows themselves (release-vllm-docker.yml, release-trtllm-docker.yml, release-sglang-docker.yml), which also default
smg_committov1.2.0.📝 Committable suggestion
🤖 Prompt for AI Agents