Skip to content

more CI tests#370

Merged
0pcom merged 9 commits intoskycoin:developfrom
0pcom:feat/next
Apr 4, 2026
Merged

more CI tests#370
0pcom merged 9 commits intoskycoin:developfrom
0pcom:feat/next

Conversation

@0pcom
Copy link
Copy Markdown
Collaborator

@0pcom 0pcom commented Apr 4, 2026

No description provided.

0pcom added 9 commits April 4, 2026 10:20
- Default --with-kill to true (force exit after 3 interrupts)
- Unhide the flag so users can disable with --with-kill=false
- Fix isFatalHTTPErr: treat context.Canceled as fatal (was only
  checking DeadlineExceeded, so Ctrl+C signal was ignored)
- Fix retry sleep to respect context cancellation
- Add context check at top of outer retry loop
…P over dmsg

- Test dmsg curl with -B (direct client, no discovery)
- Test dmsg curl with -S (specific server)
- Test HTTP server endpoints (/, /health, /echo) served over dmsg
- Test discovery health and server registration
- Wait for server registration before running tests
- Replace sleep-based waits with polling for discovery readiness
The dmsg-server Dockerfile had a PK that didn't match its SK, so every
PostEntry to the discovery was rejected with "invalid signature". The
server could never register, causing all E2E tests to time out waiting
for it.

Generate a valid keypair and use discovery IP directly to avoid DNS.
Usage:
  dmsg conf gen-keys           - generate a new PK/SK pair
  dmsg conf verify-keys <sk>   - derive PK from SK to verify config files
When a debug dmsg client runs on a dmsg server (using the same PK),
the discovery entry lookup returns the server's entry which has
Client: nil. Accessing entry.Client.DelegatedServers panicked.

Now handles nil Client by creating a fresh client entry.
@0pcom 0pcom merged commit 2c86ee5 into skycoin:develop Apr 4, 2026
3 checks passed
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.

1 participant