You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updates the publish-node-image GitHub Actions workflow to treat the tag_latest input as a boolean instead of a string, affecting TAG_LATEST evaluation for workflow_dispatch. Also bumps Go module dependencies for github.com/trufnetwork/kwil-db and its core submodule to newer pseudo-versions.
Changes
Cohort / File(s)
Summary
CI workflow .github/workflows/publish-node-image.yaml
Adjusts TAG_LATEST expression: replaces inputs.tag_latest == 'true' with direct boolean inputs.tag_latest, preserving OR with github.event_name == 'release'.
Dependencies go.mod
Updates dependencies: github.com/trufnetwork/kwil-db to v0.10.3-0.20251007160956-022e6739f56d and github.com/trufnetwork/kwil-db/core to v0.4.3-0.20251007160956-022e6739f56d.
Sequence Diagram(s)
sequenceDiagram
autonumber
participant Dev as Developer
participant GH as GitHub Actions
participant WF as publish-node-image
participant Reg as Container Registry
Dev->>GH: Trigger workflow (workflow_dispatch with inputs.tag_latest) or Release event
GH->>WF: Start job
Note over WF: Compute TAG_LATEST = (inputs.tag_latest) OR (event_name == "release")
WF->>WF: Build image
alt TAG_LATEST true
WF->>Reg: Push image with "latest" tag
else TAG_LATEST false
WF->>Reg: Push image without "latest" tag
end
Hop hop hooray, a tag sets sail,
No quotes to fail the “latest” trail.
Gophers hum with modules new,
Pipelines churn a cleaner brew.
Carrots raised to builds that pass—
Latest lands, at last at last! 🥕🐇
Pre-merge checks and finishing touches
❌ Failed checks (1 warning)
Check name
Status
Explanation
Resolution
Out of Scope Changes Check
⚠️ Warning
In addition to the workflow fix, the PR includes updates to Go module versions in go.mod that are unrelated to the latest tagging issue.
Please remove or isolate the dependency version bumps in a separate PR so that this change set focuses solely on the workflow fix.
✅ Passed checks (4 passed)
Check name
Status
Explanation
Description Check
✅ Passed
Check skipped - CodeRabbit’s high-level summary is enabled.
Title Check
✅ Passed
The title succinctly and accurately describes the primary change—ensuring the node image is published with a latest tag—without extraneous detail or ambiguity.
Linked Issues Check
✅ Passed
The PR modifies the GitHub Actions workflow to treat the tag_latest input as a boolean, directly addressing the issue where images were not tagged as latest when requested (#1193).
Docstring Coverage
✅ Passed
No functions found in the changes. Docstring coverage check skipped.
✨ Finishing touches🧪 Generate unit tests (beta)
Create PR with unit tests
Post copyable unit tests in a comment
Commit unit tests in branch fixPublishNode
📜 Recent review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📥 Commits
Reviewing files that changed from the base of the PR and between a97049e and 4575155.
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
GitHub Check: Build and Push
GitHub Check: lint
GitHub Check: acceptance-test
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
resolves: #1193
Summary by CodeRabbit