Investigate tutorial E2E registry connection resets during startup

Open
#454 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
54/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
docker, go, kubernetes
Domain
devops

Research direction

Start with the registry startup and readiness curl block in docs/local-kubernetes.md, then inspect how site/scripts/tutorial_check.py --run executes it. Reproduce the reset in the supported tutorial environment and determine whether it is transient before changing retries. Done means the documented tutorial completes when failures are transient and persistent registry errors still produce useful diagnostics without weakening cleanup.

Written by the indexing model from the issue text.

Description

Problem

Two local ARM64 tutorial qualification attempts in Docker Desktop using an isolated Docker-in-Docker daemon failed at the tutorial registry readiness step with curl: (56) Recv failure: Connection reset by peer; an earlier diagnostic request later succeeded. The tutorial starts the local registry and immediately runs the readiness curl in docs/local-kubernetes.md; site/scripts/tutorial_check.py --run executes those exact documented blocks. The tutorial exercises released Brewlet 0.13.1 rather than the candidate in #451.

A registry startup/network race is possible but not confirmed; the isolated nested Docker environment itself may be responsible. The readiness command already retries connection refusals, so do not assume the existing retry settings cover this reset.

Expected

Reproduce or otherwise determine the cause in the supported tutorial environment, and make the tutorial/check resilient to genuinely transient registry startup failures if warranted, without hiding persistent registry errors or weakening cleanup. Verify that the exact documented tutorial completes and produces useful diagnostics on an actual persistent failure.

Dominant language
Go
Stars
60
Forks
2
Avg merge
6h 41m
Merged PRs (30d)
67

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/brewlet

All issues in microsoft/brewlet

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.