Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .github/workflows/sf-draft-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Draft release

on:
pull_request:
branches:
- "release/*"
paths:
- "CHANGELOG.sf.md"

permissions:
contents: write
pull-requests: write

concurrency:
group: draft-release-${{ github.event.pull_request.number }}
cancel-in-progress: true

jobs:
draft-release:
if: github.event.pull_request.head.repo.full_name == github.repository
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@v6
with:
ref: ${{ github.head_ref }}
fetch-depth: 0

- name: Detect release PR
id: detect
uses: streamingfast/actions/sfreleaser/detect@v1

- name: Prepare release
if: steps.detect.outputs.is_release_pr
uses: streamingfast/actions/sfreleaser/prepare@v1
with:
version: ${{ steps.detect.outputs.version }}
41 changes: 41 additions & 0 deletions .github/workflows/sf-publish-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Publish release

on:
pull_request:
types:
- closed
branches:
- "release/*"
paths:
- "CHANGELOG.sf.md"

permissions:
actions: write
contents: write

concurrency:
group: publish-release-${{ github.event.pull_request.number }}
cancel-in-progress: false

jobs:
publish:
if: github.event.pull_request.merged && github.event.pull_request.head.repo.full_name == github.repository
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@v6
with:
ref: ${{ github.event.pull_request.merge_commit_sha }}
fetch-depth: 0

- name: Detect release PR
id: detect
uses: streamingfast/actions/sfreleaser/detect@v1
with:
before: ${{ github.event.pull_request.merge_commit_sha }}^1

- name: Publish release
if: steps.detect.outputs.is_release_pr
uses: streamingfast/actions/sfreleaser/publish@v1
with:
version: ${{ steps.detect.outputs.version }}
194 changes: 0 additions & 194 deletions .github/workflows/sf-release.yml

This file was deleted.

1 change: 1 addition & 0 deletions .sfreleaser
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
global:
language: rust
kind: library
variant: chain
release:
changelog-path: CHANGELOG.sf.md
20 changes: 20 additions & 0 deletions CHANGELOG.sf.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,26 @@ The `sf-release.yml` workflow publishes the top-most version section here as the
GitHub release notes (via `sfreleaser changelog extract-section`), so keep the
most recent release at the top.

## world-chain-v2.8.1-fh3.1-2

Picks up the Firehose staged-sync finality fix from `streamingfast/reth` `world-chain-v2.8.1-fh3.1-2`.
The version matches the reth tag so both forks stay aligned.

### Changed

* Reth now comes from `streamingfast/reth` `world-chain-v2.8.1-fh3.1-2`, and `firehose-tracer` moves to `5.5.1`,
which that reth tag requires.
* Releases are now cut as library releases: merging a release PR that changes this file tags the
top-most version, through the `sf-draft-release.yml` and `sf-publish-release.yml` workflows.
* Remove the tag-triggered `sf-release.yml` Docker image build, which does not belong on this library branch.

### Fixed

* Fix blocks replayed by staged sync (the pipeline Execution stage) being advertised as final. They now carry
the node's finalized head as LIB, or the block itself when it is at or below the finalized block. On OP Stack
the pipeline backfills up to the unsafe head, so readers that had fallen behind used to report unsafe blocks
as final. See streamingfast/reth#113, which ports streamingfast/reth#110.

## world-chain-v2.8.1-fh3.1

Moves the world-chain line to upstream `op-reth/v2.8.1` (`72207294`), the optimism rev world-chain
Expand Down
Loading