mirror of
https://github.com/theodore-song/polymarket-analyst.git
synced 2026-08-24 04:58:08 +00:00
Expand executable protected opportunity search
This commit is contained in:
@@ -35,7 +35,7 @@ jobs:
|
||||
- run: node scripts/run-autonomous-cycle.mjs
|
||||
env:
|
||||
ARENA_URL: https://polymarket-site-eta.vercel.app
|
||||
EXPECTED_BUILD: "126"
|
||||
EXPECTED_BUILD: "127"
|
||||
RUNTIME_BRANCH: runtime-state
|
||||
RUNTIME_STATE_PATH: runtime/state.json
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
name: Release duration-aware protected returns after Vercel quota reset
|
||||
name: Release expanded executable search after Vercel quota reset
|
||||
|
||||
on:
|
||||
schedule:
|
||||
@@ -26,23 +26,23 @@ jobs:
|
||||
env:
|
||||
ARENA_URL: https://polymarket-site-eta.vercel.app
|
||||
run: |
|
||||
if curl --fail --silent --show-error "${ARENA_URL}/?duration_preflight=${GITHUB_RUN_ID}" | grep -q 'bundleMinimumDailyReturn'; then
|
||||
echo "Duration-aware protected returns are already live."
|
||||
if curl --fail --silent --show-error "${ARENA_URL}/?search_preflight=${GITHUB_RUN_ID}" | grep -q 'BUNDLE_DEPTH_CANDIDATE_LIMIT=200'; then
|
||||
echo "Expanded executable search is already live."
|
||||
exit 0
|
||||
fi
|
||||
printf 'Duration-aware protected return deployment retry from run %s at %s\n' "$GITHUB_RUN_ID" "$(date -u +%FT%TZ)" > .duration-aware-release-trigger
|
||||
printf 'Expanded executable search deployment retry from run %s at %s\n' "$GITHUB_RUN_ID" "$(date -u +%FT%TZ)" > .expanded-search-release-trigger
|
||||
git config user.name "github-actions[bot]"
|
||||
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||
git add .duration-aware-release-trigger
|
||||
git commit -m "Retry duration-aware protected returns deployment"
|
||||
git add .expanded-search-release-trigger
|
||||
git commit -m "Retry expanded executable search deployment"
|
||||
git push origin HEAD:main
|
||||
- name: Verify the exact sizing revision in production
|
||||
- name: Verify the expanded search revision in production
|
||||
env:
|
||||
ARENA_URL: https://polymarket-site-eta.vercel.app
|
||||
run: |
|
||||
for attempt in $(seq 1 40); do
|
||||
if curl --fail --silent --show-error "${ARENA_URL}/?duration_wait=${GITHUB_RUN_ID}-${attempt}" | grep -q 'bundleMinimumDailyReturn'; then
|
||||
echo "Duration-aware protected returns are live."
|
||||
if curl --fail --silent --show-error "${ARENA_URL}/?search_wait=${GITHUB_RUN_ID}-${attempt}" | grep -q 'BUNDLE_DEPTH_CANDIDATE_LIMIT=200'; then
|
||||
echo "Expanded executable search is live."
|
||||
exit 0
|
||||
fi
|
||||
sleep 30
|
||||
|
||||
Reference in New Issue
Block a user