Staging Rankings Diagnostic / Staging rankings year diagnostic (push) Successful in 1s
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
29 lines
901 B
YAML
29 lines
901 B
YAML
# TEMPORARY diagnostic workflow — delete after the rankings year= bug is closed.
|
|
name: Staging Rankings Diagnostic
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- diag/staging-rankings-year
|
|
|
|
jobs:
|
|
staging-api-diagnostic:
|
|
name: Staging rankings year diagnostic
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Probe staging rankings year handling
|
|
env:
|
|
BASE: ${{ secrets.STAGING_BASE_URL }}
|
|
run: |
|
|
probe() {
|
|
echo "== $1 =="
|
|
curl -s --max-time 15 -D /tmp/h.txt -o /tmp/b.txt "$BASE$1"
|
|
echo "--- headers:"; cat /tmp/h.txt
|
|
echo "--- body (first 400 bytes):"; head -c 400 /tmp/b.txt; echo
|
|
}
|
|
probe "/api/data-info"
|
|
probe "/api/filters"
|
|
probe "/api/rankings?metric=rwm_expected_pct&limit=3"
|
|
probe "/api/rankings?metric=rwm_expected_pct&limit=3&year=202425"
|
|
probe "/"
|