Skip to content

ci: openshell-next branch and automation that tracks OpenShell releases #79

Closed

Description

@ilanh

Problem

The next OpenShell release (v0.1.8, prereleases v0.1.8-pre.1..pre.3 already tagged) can only be tried with scripts/upstream-compat.sh, which builds a throwaway copy. There is no branch where the newer pin is actually integrated and fixed before it ships stable, and nothing moves such a branch when upstream tags a new prerelease.

scripts/upstream-compat.sh also has two bugs:

Proposal

  • A long-lived openshell-next branch = main + the OpenShell pin moved to the newest upstream tag (prereleases included), tracked by a draft PR into main and an issue labelled openshell-next.
  • .github/workflows/openshell-next.yml (daily + manual): merge main into the branch, bump the pin when upstream has a newer tag, run fmt/clippy/tests/docs check, push, dispatch ci.yml on the pushed commit (GITHUB_TOKEN pushes trigger nothing), and comment on the tracking issue with release/compare links and the result. A stable upstream tag adds a promotion note. Only GITHUB_TOKEN, least-privilege, SHA-pinned actions, concurrency guard.
  • scripts/openshell-tags.sh (release-order tag listing/comparison) and scripts/openshell-next.sh (bump / update / sync), usable by hand.
  • Fix both upstream-compat.sh bugs; run upstream-compat.yml non-blocking on every push to main.
  • A proposed ruleset .github/rulesets/protect-openshell-next.json (no deletion, no force push). Not applied.
  • Docs: DEVELOPING (branch model + automation), RELEASING (promotion when OpenShell ships stable), CONTRIBUTING, AGENTS mapping table, CHANGELOG.

Activity

  1. added
    enhancement
    on Nov 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions