Skip to content

Update TCL and Railway - #498

Merged
twitchyliquid64 merged 2 commits into
mainfrom
tom/railway
Jul 21, 2026
Merged

Update TCL and Railway#498
twitchyliquid64 merged 2 commits into
mainfrom
tom/railway

Conversation

@twitchyliquid64

@twitchyliquid64 twitchyliquid64 commented Jul 21, 2026

Copy link
Copy Markdown
Member

Did locally, check passed

Summary by CodeRabbit

  • Chores
    • Updated the Railway CLI to version 5.27.2 and refreshed the associated download verification checksum.
    • Updated Tcl source to 8.6.18.
    • Improved the build process to extract Tcl using the computed version and automatically align bundled component configuration updates with the versions present in the source.

@coderabbitai

coderabbitai Bot commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

The Railway package updates its CLI release and checksum. The Tcl package updates to version 8.6.18, passes the version into its build script, parameterizes source extraction, and derives bundled tdbc and itcl versions for configuration rewrites.

Changes

Package build updates

Layer / File(s) Summary
Update Railway CLI release
packages/railway/build.ncl
The build now downloads Railway CLI version 5.27.2 with its corresponding SHA-256 checksum.
Wire the Tcl release version
packages/tcl/build.ncl, packages/tcl/build.sh
The Tcl build uses version 8.6.18, passes that version to the script, and parameterizes source archive extraction.
Generalize bundled package configuration
packages/tcl/build.sh
The build derives bundled tdbc and itcl versions before updating their configuration paths.

Estimated code review effort: 2 (Simple) | ~10 minutes

Suggested reviewers: bryan-minimal

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title correctly identifies the two updated packages, Tcl and Railway, and matches the main change set.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch tom/railway

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@packages/railway/build.ncl`:
- Line 9: Update the build configuration around the declared version in
build.ncl by adding build_args that includes version, ensuring build.sh receives
the same value instead of a separately hardcoded version.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 900645d7-7f2e-44af-a52b-a6eb605289d7

📥 Commits

Reviewing files that changed from the base of the PR and between a6966fd and 4620234.

📒 Files selected for processing (1)
  • packages/railway/build.ncl

let glibc = import "../glibc/build.ncl" in

let version = "4.30.2" in
let version = "5.27.2" in

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📐 Maintainability & Code Quality | 🟠 Major | ⚡ Quick win

Forward version to build.sh.

Add build_args = { include version } so the build script receives the same version declared here instead of requiring a separately hardcoded value.

Proposed change
 let version = "5.27.2" in
 {
   name = "railway",
+  build_args = { include version },

As per coding guidelines, declared versions must be forwarded through build_args.

📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
let version = "5.27.2" in
let version = "5.27.2" in
{
name = "railway",
build_args = { include version },
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@packages/railway/build.ncl` at line 9, Update the build configuration around
the declared version in build.ncl by adding build_args that includes version,
ensuring build.sh receives the same value instead of a separately hardcoded
version.

Source: Coding guidelines

@twitchyliquid64 twitchyliquid64 changed the title feat(railway): update to 5.27.2 Update TCL and Railway Jul 21, 2026

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@packages/tcl/build.sh`:
- Around line 4-5: Update the Tcl build configuration in build.ncl to add the
tar package to build_deps, and change the archive extraction command in the
build script from tar -xof to tar -xf. Keep the existing archive and directory
targets unchanged.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: bd48dd67-ebe5-4768-b4d8-c7b617db697e

📥 Commits

Reviewing files that changed from the base of the PR and between 4620234 and a4b520f.

📒 Files selected for processing (2)
  • packages/tcl/build.ncl
  • packages/tcl/build.sh

Comment thread packages/tcl/build.sh
Comment on lines +4 to +5
tar -xof tcl$MINIMAL_ARG_VERSION-src.tar.gz
cd tcl$MINIMAL_ARG_VERSION

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🩺 Stability & Availability | 🟠 Major | ⚡ Quick win

Declare tar as an explicit build dependency.

This script invokes tar, but packages/tcl/build.ncl does not list a tar package in build_deps. Add that dependency and use tar -xf here to keep the build self-contained.

As per coding guidelines, manually extracted tarballs must declare tar in build_deps and use tar -xf.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@packages/tcl/build.sh` around lines 4 - 5, Update the Tcl build configuration
in build.ncl to add the tar package to build_deps, and change the archive
extraction command in the build script from tar -xof to tar -xf. Keep the
existing archive and directory targets unchanged.

Source: Coding guidelines

@bryan-minimal bryan-minimal left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@twitchyliquid64
twitchyliquid64 added this pull request to the merge queue Jul 21, 2026
Merged via the queue into main with commit c5d4858 Jul 21, 2026
10 checks passed
@twitchyliquid64
twitchyliquid64 deleted the tom/railway branch July 21, 2026 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants