Skip to content

release: promote develop → staging#3174

Merged
drewstone merged 1215 commits intostagingfrom
release/develop-to-staging
May 6, 2026
Merged

release: promote develop → staging#3174
drewstone merged 1215 commits intostagingfrom
release/develop-to-staging

Conversation

@drewstone
Copy link
Copy Markdown
Contributor

Promotes develop to staging for deployment.

Conflicts resolved in favour of develop (develop is canonical). Staging-only legacy files (bridge-dapp utils, old webb-provider utils) removed.

Recent highlights on develop

  • #3172 tnt-core v0.11.3 — getSlashConfig(), disputeSlash bond value forwarding
  • #3170 tnt-core v0.11.2 — expireServiceRequest, unified approveService(ApprovalParams)
  • #3169 Tangle Cloud approval form unified to securityCommitments[]
  • #3168 Tangle Cloud adopts unified approveService(ApprovalParams)
  • #3164 Tangle Cloud cross-page redesign + brand adoption

AtelyPham and others added 30 commits October 28, 2024 20:26
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
drewstone and others added 25 commits April 23, 2026 14:43
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Pulls in surface changes that landed in tnt-core PR #118 (slashing
correctness) and PR #122 (interface declaration of expireServiceRequest):

- disputeSlash is now payable. The contract requires `msg.value ==
  disputeBond` (zero for SLASH_ADMIN, else the configured bond). Today's
  protocol config has bond=0 so existing call sites still work; flagging
  for follow-up if/when admin sets a non-zero bond.
- expireServiceRequest(uint64) added — permissionless cleanup path that
  refunds escrow on stale unapproved requests after the grace period.
- ServiceRequest gains `bool activated` (post-activation refund guard).
- SlashProposal gains disputer/disputeBond/disputeDeadline fields.

No UI changes here. Generated by `yarn sync:tnt-core-assets` against
tnt-core@abd065c (post-#121); follow-up PR to surface
expireServiceRequest in operator/owner UIs once a flow is designed.
- ABI: adds getSlashConfig() view
- useSlashConfig: new hook reads disputeBond from active SlashConfig
- useDisputeSlashTx: forwards disputeBond as msg.value; zero-bond
  path unchanged (value: undefined), so existing behaviour is preserved

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
chore(abi): sync tnt-core v0.11.3 + wire disputeSlash bond value
Comment on lines +9 to +57
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Enable corepack
run: |
corepack enable

- name: Set up Node.js environment
uses: actions/setup-node@v6.4.0
with:
node-version: '>=18.18.x'

- name: Install dependencies
run: yarn install

- name: Extract PR title
id: extract_pr_title
run: echo "title=$(jq -r '.pull_request.title' $GITHUB_EVENT_PATH)" >> $GITHUB_OUTPUT

- name: Fetch commit messages
id: fetch_commits
run: |
commits=$(jq -r '.pull_request.commits_url' $GITHUB_EVENT_PATH)
curl -s $commits | jq -r '.[].commit.message' > commit_messages.txt
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Check for release commit
id: check_commit
# Check if any commit message starts with [RELEASE]
run: |
if grep -qE '^\[RELEASE\]' commit_messages.txt; then
echo "contains_release=true" >> $GITHUB_ENV
else
echo "contains_release=false" >> $GITHUB_ENV
fi

- name: Validate PR title
id: check_pr_title
run: |
if [[ "${{ env.contains_release }}" == "true" && ! "${{ steps.extract_pr_title.outputs.title }}" =~ ^\[RELEASE\] ]]; then
echo "PR title must start with [RELEASE] if any commit starts with [RELEASE]."
exit 1
else
echo "${{ steps.extract_pr_title.outputs.title }}" | yarn commitlint --verbose
fi
Comment on lines +15 to +25
runs-on: ubuntu-latest
timeout-minutes: 1
steps:
- name: 'Block Concurrent Executions'
uses: softprops/turnstyle@v1
with:
poll-interval-seconds: 10
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

build-publish:
Comment on lines +26 to +96
name: Build and Publish
needs: pre-ci
runs-on: ubuntu-latest

if: ( !startsWith(github.event.head_commit.message, '[SKIP CI]') &&
startsWith(github.event.head_commit.message, '[RELEASE]') &&
github.repository == 'tangle-network/dapp' )

steps:
#Check out
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Enable corepack
run: |
corepack enable

- name: Setup Node.js environment
uses: actions/setup-node@v6.4.0
with:
node-version: '>=18.18.x'
cache: yarn

#Identify changes
- uses: marceloprado/has-changed-path@v1
id: changed-leaderboard
with:
paths: apps/leaderboard/CHANGELOG.md

- uses: marceloprado/has-changed-path@v1
id: changed-tangle-dapp
with:
paths: apps/tangle-dapp/CHANGELOG.md

- uses: marceloprado/has-changed-path@v1
id: changed-tangle-cloud
with:
paths: apps/tangle-cloud/CHANGELOG.md

- name: Install deps
run: yarn install

- name: build
# Fix: JavaScript heap out of memory
# https://github.com/actions/runner-images/issues/70#issuecomment-1191708172
env:
NODE_OPTIONS: '--max_old_space_size=4096'
run: yarn run build

# Create github release
- name: Release Leaderboard
if: steps.changed-leaderboard.outputs.changed == 'true'
uses: ./.github/actions/create-dapp-release
with:
package-path: apps/leaderboard
repo-token: ${{ secrets.REPO_TOKEN }}

- name: Release Tangle dApp
if: steps.changed-tangle-dapp.outputs.changed == 'true'
uses: ./.github/actions/create-dapp-release
with:
package-path: apps/tangle-dapp
repo-token: ${{ secrets.REPO_TOKEN }}

- name: Release Tangle Cloud
if: steps.changed-tangle-cloud.outputs.changed == 'true'
uses: ./.github/actions/create-dapp-release
with:
package-path: apps/tangle-cloud
repo-token: ${{ secrets.REPO_TOKEN }}
Comment on lines +15 to +25
runs-on: ubuntu-latest
timeout-minutes: 1
steps:
- name: 'Block Concurrent Executions'
uses: softprops/turnstyle@v1
with:
poll-interval-seconds: 10
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

build-publish:
Comment on lines +14 to +46
name: run
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['>=18.18.x']

steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.13.1
with:
access_token: ${{ secrets.GITHUB_TOKEN }}

- uses: actions/checkout@v4

- name: Enable corepack
run: |
corepack enable

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v6.4.0
with:
node-version: ${{ matrix.node-version }}
cache: yarn

- name: Install deps
run: yarn install

- name: Run tests
run: yarn test
# Fix: JavaScript heap out of memory
# https://github.com/actions/runner-images/issues/70#issuecomment-1191708172
env:
NODE_OPTIONS: '--max_old_space_size=4096'
.replace(/>/g, '&gt;');
const initial = name.slice(0, 1).toUpperCase();

return `<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="630" viewBox="0 0 1200 630" role="img" aria-label="${name}">
@drewstone drewstone merged commit 8ee4341 into staging May 6, 2026
6 of 8 checks passed
@drewstone drewstone deleted the release/develop-to-staging branch May 6, 2026 12:45
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.

6 participants