Skip to content

fix(script): normalize local build channels - #53461

Merged
rekram1-node merged 1 commit into
anomalyco:v2from
vegerot:pr53461
Oct 6, 2026
Merged

rekram1-node merged 1 commit into
anomalyco:v2from
vegerot:pr53461

Conversation

@vegerot

@vegerot vegerot commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Use a stable detached channel when Git has no current branch and replace
characters that cannot be used in TUI storage paths.

Closes #45493
Closes #53463

Test plan:

  • Create a temporary Git repository on branch fix/channel-test and verify Script.channel is fix-channel-test.
  • Detach HEAD in the temporary repository and verify Script.channel is detached.
  • Run bun run check.

Co-Authored-By: OpenCode (GPT-5.6-Sol) noreply@opencode.ai

@github-actions github-actions Bot added the needs:compliance This means the issue will auto-close after 2 hours. label Oct 6, 2026
@github-actions

github-actions Bot commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

This PR doesn't fully meet our contributing guidelines and PR template.

What needs to be fixed:

  • PR description is missing required template sections. Please use the PR template.

Please edit this PR description to address the above within 72 hours, or it will be automatically closed.

If you believe this was flagged incorrectly, please let a maintainer know.

@github-actions

github-actions Bot commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

The following comment was made by an LLM, it may be inaccurate:

@vegerot
vegerot changed the base branch from dev to v2 October 6, 2026 01:34
@vegerot
vegerot changed the base branch from v2 to dev October 6, 2026 01:36
@vegerot
vegerot changed the base branch from dev to v2 October 6, 2026 01:36
Use a stable detached channel when Git has no current branch and replace
characters that cannot be used in TUI storage paths.

Closes anomalyco#45493
Closes anomalyco#53463

Test plan:
- Create a temporary Git repository on branch fix/channel-test and verify Script.channel is fix-channel-test.
- Detach HEAD in the temporary repository and verify Script.channel is detached.
- Run bun run check.

Co-Authored-By: OpenCode (GPT-5.6-Sol) <noreply@opencode.ai>
@vegerot
vegerot changed the base branch from v2 to dev October 6, 2026 01:38
@vegerot
vegerot changed the base branch from dev to v2 October 6, 2026 01:38
@rekram1-node
rekram1-node merged commit 8f0f4be into anomalyco:v2 Oct 6, 2026
15 of 21 checks passed
cursor Bot pushed a commit to shuv1337/shuvcode that referenced this pull request Oct 8, 2026
Branch names with a slash become valid preview version identifiers, matching upstream anomalyco#53461, while explicit channels and detached-HEAD failure stay as they are.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs:compliance This means the issue will auto-close after 2 hours.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

script: detached HEAD builds produce an invalid empty channel tui: "Invalid storage segment" crash when branch/channel name contains "/"

2 participants