Skip to content

Bring back #857, #862 and #825#871

Merged
Soph merged 6 commits intomainfrom
soph/pr-fix-remaining
Apr 8, 2026
Merged

Bring back #857, #862 and #825#871
Soph merged 6 commits intomainfrom
soph/pr-fix-remaining

Conversation

@Soph
Copy link
Copy Markdown
Collaborator

@Soph Soph commented Apr 8, 2026

Due to #869 we have to remerge PRs #857, #862 and #825


Note

Medium Risk
Touches release automation (GitHub Actions/GoReleaser) and adds new parsing/version-check paths for nightly/Copilot transcripts, which could impact publishing and runtime behavior if misconfigured. Core logic changes are scoped and covered by new tests/fixtures but still affect user-facing release/update flows.

Overview
Introduces an automated nightly release pipeline: a new nightly.yml scheduled workflow creates/pushes nightly tags via scripts/create-nightly-tag.sh, and mise-tasks/release can generate/push stable + nightly tags locally.

Updates the release process to treat *-nightly.* tags as prereleases: release.yml now detects prerelease vs stable, generates nightly release notes from git log, and .goreleaser.yaml enables prerelease: auto, adds a Homebrew entire@nightly cask (with conflicts/conditional uploads) and disables Discord announcements for prereleases.

Improves CLI runtime behavior: versioncheck now fetches the latest nightly when running a nightly build, the lifecycle session-start banner is formatted differently for codex, and transcript compaction adds GitHub Copilot JSONL format support with fixtures/tests.

Reviewed by Cursor Bugbot for commit 16442b4. Configure here.

@Soph Soph requested a review from a team as a code owner April 8, 2026 14:50
Copilot AI review requested due to automatic review settings April 8, 2026 14:50
Soph and others added 5 commits April 8, 2026 16:54
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR reintroduces previously merged work (#857, #862, #825) after a main-branch force-push, restoring: nightly release automation, Copilot CLI transcript compaction support, and Codex session-start banner formatting.

Changes:

  • Add nightly tagging + release automation (new nightly workflow, tag script, GoReleaser config updates, and a mise run release helper).
  • Extend version checking to use a separate “nightly” update channel.
  • Add Copilot CLI events.jsonl → normalized transcript.jsonl compaction, plus fixtures/tests; adjust Codex session-start banner formatting for single-line rendering.

Reviewed changes

Copilot reviewed 16 out of 16 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
scripts/create-nightly-tag.sh Generates nightly tag names based on latest stable tag and HEAD.
mise-tasks/release Helper task to create/push stable and (optionally) nightly tags.
cmd/entire/cli/versioncheck/versioncheck.go Adds nightly-channel detection and latest-nightly fetching logic.
cmd/entire/cli/versioncheck/types.go Adds githubReleasesURL for nightly release listing.
cmd/entire/cli/versioncheck/versioncheck_test.go Adds tests for nightly detection + nightly fetch logic.
cmd/entire/cli/transcript/compact/copilot.go Implements Copilot CLI transcript compaction + format detection.
cmd/entire/cli/transcript/compact/compact.go Routes Copilot-format transcripts to the new compactor.
cmd/entire/cli/transcript/compact/codex.go Renames codexTypeMessage constant used for detection.
cmd/entire/cli/transcript/compact/copilot_test.go Fixture-based test for Copilot transcript compaction.
cmd/entire/cli/transcript/compact/testdata/* Copilot input/output fixtures for compaction.
cmd/entire/cli/lifecycle.go Adds agent-specific session-start banner formatting (Codex single-line).
cmd/entire/cli/lifecycle_test.go Tests for Codex single-line banner and default multiline banner.
.goreleaser.yaml Enables auto prereleases + nightly Homebrew cask routing and announcement rules.
.github/workflows/release.yml Adds prerelease detection and nightly release-notes generation.
.github/workflows/nightly.yml Adds scheduled workflow to create/push nightly tags.

Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit 16442b4. Configure here.

@Soph Soph force-pushed the soph/pr-fix-remaining branch 2 times, most recently from 54c1b1e to ce6ff88 Compare April 8, 2026 15:08
@Soph Soph force-pushed the soph/pr-fix-remaining branch from ce6ff88 to 9513a8e Compare April 8, 2026 15:10
@Soph Soph enabled auto-merge April 8, 2026 15:14
@Soph Soph merged commit 1c81d24 into main Apr 8, 2026
3 checks passed
@Soph Soph deleted the soph/pr-fix-remaining branch April 8, 2026 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

5 participants