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
3 changes: 2 additions & 1 deletion .github/workflows/snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ jobs:
python3 ci/snapshot/check_node.py wait-head --api 127.0.0.1:9090 --timeout-min 90

# the monitor is a third party: when it does not answer (exit 3) the snapshot is published
# without this check, and the release notes say so; a mismatch fails
# without this check, and the release notes say so; a mismatch fails. check_node.py names its
# client in the User-Agent: the monitor refuses urllib's default one
- name: Check against the monitor
id: monitor
if: env.SKIP != '1'
Expand Down
4 changes: 3 additions & 1 deletion ci/snapshot/check_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ def amount(a):


def monitor(path):
req = urllib.request.Request(f"{MONITOR}/{path}", headers={"Accept": "application/json"})
# the monitor answers 403 to urllib's default User-Agent (since 2026-11-18): name the client
req = urllib.request.Request(f"{MONITOR}/{path}",
headers={"Accept": "application/json", "User-Agent": "credits-community-ci/1.0"})
return json.load(urllib.request.urlopen(req, timeout=60))


Expand Down
1 change: 1 addition & 0 deletions docs/CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ lines under the new release.

| PR | Change |
|---|---|
| #190 | ci: the snapshot workflow's monitor check sends its own User-Agent; the monitor answers 403 to urllib's default one, which failed the snapshot runs |
| #187 | docs: `AGENTS.md` and `CLAUDE.md` for coding agents: build, tests, CI, conventions and the mainnet constraints (documentation only) |
| #186 | ci: the comments of `ci/testnet/contracts.py` say why contract-to-contract calls fail: executor 1518 fails every `invokeExternalContract`; the node does not refuse `@UsingContract` methods (comments only) |

Expand Down
Loading