Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
c150763
Change timing of AH/RC pre and post snapshots
sigurpol Oct 10, 2025
88ffca3
Cleanup
sigurpol Oct 10, 2025
421d1cf
Cleanup
sigurpol Oct 10, 2025
b50c68c
More cleanup
sigurpol Oct 10, 2025
d9b126c
Fix AH pre-snapshot block detection
sigurpol Oct 10, 2025
e8e9cbf
Merge branch 'main' into sigurpol-change-snapshots-timing
sigurpol Oct 10, 2025
cb0e9d2
Update zombie-bite-scripts/helpers.ts
sigurpol Oct 15, 2025
af33e4a
Fix cool-off check
sigurpol Oct 15, 2025
1657b0d
Raise timeout for RC snapshot to 12h to accommoadate for Polkadot mig…
sigurpol Oct 15, 2025
2d11efa
Update runtime to point to runtime muharem-ahm-polkadot
sigurpol Oct 16, 2025
735213e
Suppress try-runtime verbose output to avoid child_process exec maxBu…
sigurpol Oct 16, 2025
08ec000
Take all 4 snapshots past AH and RC CoolOff
sigurpol Oct 17, 2025
a34356e
monitoring: poll via RPC instead of WS long-live connection
sigurpol Oct 17, 2025
8efa8e1
incorporate ci changes/debug
pepoviola Oct 17, 2025
30500b5
show output in ci
pepoviola Oct 17, 2025
e13d8bc
debug self hosted with ops
pepoviola Oct 17, 2025
01113e0
fix get block numbers
pepoviola Oct 18, 2025
191cb46
small nits for ci
pepoviola Oct 18, 2025
3317f06
fix path to check
pepoviola Oct 19, 2025
4466476
fix tmpl
pepoviola Oct 19, 2025
0ba229f
fix tmpl
pepoviola Oct 19, 2025
a8ad6d1
clean in ubuntu
pepoviola Oct 19, 2025
f52fc31
Fixes for use post-db as starting point (#251)
pepoviola Oct 22, 2025
80bdb05
Merge remote-tracking branch 'origin/main' into sigurpol-change-snaps…
muharem Oct 22, 2025
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
2 changes: 1 addition & 1 deletion .github/actions/download-artifact/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ runs:
echo "downloading artifacts from https://github.com/paritytech/ahm-dryrun/actions/runs/${RUN_ID}"

if [[ $NAME_PATTERN == "" ]]; then
gh run download $RUN_ID -p "${NAME_PATTERN}" -D $TMP_DIR
gh run download $RUN_ID -D $TMP_DIR
else
gh run download $RUN_ID -p "${NAME_PATTERN}" -D $TMP_DIR
fi;
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/download-doppelganger-binaries/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ runs:
VERSION_TO_DOWNLOAD=$(curl https://api.github.com/repos/paritytech/doppelganger-wrapper/releases/latest | jq -r .tag_name)
fi;
for bin in doppelganger doppelganger-parachain polkadot-execute-worker polkadot-prepare-worker; do
echo "downloading $bin";
echo "downloading $bin from https://github.com/paritytech/doppelganger-wrapper/releases/download/$VERSION_TO_DOWNLOAD/$bin";
curl -L -o $DESTINATION_PATH/$bin https://github.com/paritytech/doppelganger-wrapper/releases/download/$VERSION_TO_DOWNLOAD/$bin;
chmod 755 $DESTINATION_PATH/$bin;
done;
Expand Down
31 changes: 25 additions & 6 deletions .github/actions/download-post-migration-db/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,31 @@ runs:
run: |
set -euo pipefail
TMP_DIR="$(mktemp -d)"

curl -sSLf -H "Authorization: Bearer ${GITHUB_TOKEN}" -o "${TMP_DIR}/artifact.zip" "${ARTIFACT_URL}"


FILENAME=$(basename ${ARTIFACT_URL})

IS_GITHUB=$(echo ${ARTIFACT_URL}| grep -o github || true)
IS_ZIP=$(echo ${ARTIFACT_URL}| grep -o zip || true)
if [[ $IS_GITHUB == "github" ]];then
curl -sSLf -H "Authorization: Bearer ${GITHUB_TOKEN}" -o "${TMP_DIR}/${FILENAME}" "${ARTIFACT_URL}"
else
curl -sSLf -o "${TMP_DIR}/${FILENAME}" "${ARTIFACT_URL}"
fi;

rm -rf "${DESTINATION_PATH}"
mkdir -p "${DESTINATION_PATH}"
unzip -q "${TMP_DIR}/artifact.zip" -d "${DESTINATION_PATH}"

if [[ $IS_ZIP == "zip" ]];then
unzip -q "${TMP_DIR}/${FILENAME}" -d "${DESTINATION_PATH}"
else
tar -xvf "${TMP_DIR}/${FILENAME}" -C "${DESTINATION_PATH}"
fi;

rm -rf "${TMP_DIR}"

ls "${DESTINATION_PATH}"
echo "ls dst path"
ls "${DESTINATION_PATH}"
mv ${DESTINATION_PATH}/pahm/spawn ${DESTINATION_PATH}/
mv ${DESTINATION_PATH}/pahm/ready.json ${DESTINATION_PATH}/
mv ${DESTINATION_PATH}/pahm/ports.json ${DESTINATION_PATH}/
echo "ls dst path"
ls "${DESTINATION_PATH}"
2 changes: 1 addition & 1 deletion .github/actions/wait-zb-network-ready/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ runs:
shell: bash
run: |
echo "Waiting for 'network is up and running' message..."
timeout 300 bash -c '
timeout 900 bash -c '
while ! grep -q "network is up and running" $LOG_FILE 2>/dev/null; do
echo "Still waiting for network... last log line:"
tail -1 $LOG_FILE
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/migration-schedule-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ permissions: {}
jobs:
get-run-id:
runs-on: ubuntu-latest
if: ${{ (github.event_name == 'workflow_dispatch' && github.event.inputs.run-id == '') || 'true' }}
if: ${{ (github.event_name == 'workflow_dispatch' && github.event.inputs.run-id == '') }}
outputs:
RUN_ID: ${{ steps.get_run_id.outputs.RUN_ID }}
steps:
Expand Down
24 changes: 7 additions & 17 deletions .github/workflows/rust-tests-common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,38 +56,28 @@ jobs:
echo "downloading artifacts from https://github.com/paritytech/ahm-dryrun/actions/runs/${RUN_ID}"
gh run download $RUN_ID -p "${NETWORK}-try-runtime*" -D $SNAPS_PATH
ls -ltr $SNAPS_PATH
ARTIFACTS_DIR_PRE=$(ls -t $SNAPS_PATH|grep try-runtime-snaps-pre)
ARTIFACTS_DIR_POST=$(ls -t $SNAPS_PATH|grep try-runtime-snaps-post)
echo "ARTIFACTS_DIR_PRE=$SNAPS_PATH/$ARTIFACTS_DIR_PRE" >> $GITHUB_OUTPUT
echo "ARTIFACTS_DIR_POST=$SNAPS_PATH/$ARTIFACTS_DIR_POST" >> $GITHUB_OUTPUT
# Single artifact contains all 4 snapshots
ARTIFACTS_DIR=$(ls -t $SNAPS_PATH|grep try-runtime-snaps|grep -v pre|grep -v post|head -1)
echo "ARTIFACTS_DIR=$SNAPS_PATH/$ARTIFACTS_DIR" >> $GITHUB_OUTPUT

- name: verify_and_move_snaps
shell: bash
env:
NETWORK: ${{ inputs.network }}
run: |
for i in rc-pre.snap ah-pre.snap;do
if [ ! -f "${{ steps.download_artifacts.outputs.ARTIFACTS_DIR_PRE }}/${NETWORK}-${i}" ]; then
# All 4 snapshots are in a single artifact directory
for i in rc-pre.snap ah-pre.snap rc-post.snap ah-post.snap;do
if [ ! -f "${{ steps.download_artifacts.outputs.ARTIFACTS_DIR }}/${NETWORK}-${i}" ]; then
echo "ERROR: Could not find ${NETWORK}-${i}"
exit 1
else
mv "${{ steps.download_artifacts.outputs.ARTIFACTS_DIR_PRE }}/${NETWORK}-${i}" $SNAPS_PATH
fi
done;

for i in rc-post.snap ah-post.snap;do
if [ ! -f "${{ steps.download_artifacts.outputs.ARTIFACTS_DIR_POST }}/${NETWORK}-${i}" ]; then
echo "ERROR: Could not find ${NETWORK}-${i}"
exit 1
else
mv "${{ steps.download_artifacts.outputs.ARTIFACTS_DIR_POST }}/${NETWORK}-${i}" $SNAPS_PATH
mv "${{ steps.download_artifacts.outputs.ARTIFACTS_DIR }}/${NETWORK}-${i}" $SNAPS_PATH
fi
done;

echo "final files in ${SNAPS_PATH}"
ls -ltr $SNAPS_PATH


- name: run_rust_tests
shell: bash
env:
Expand Down
Loading