Skip to content

Commit 5410944

Browse files
committed
docs(kanban): record clone-cache e2e proof
1 parent 1fcfe56 commit 5410944

1 file changed

Lines changed: 13 additions & 25 deletions

File tree

.kanban/changes/ABC-2/verification.md

Lines changed: 13 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -15,38 +15,27 @@ bun run check
1515

1616
## Docker Runtime Verification
1717

18-
The stock e2e script was attempted:
18+
The stock clone-cache e2e script was run against the reachable docker-git
19+
controller in this remote-Docker environment:
1920

2021
```bash
21-
bun run e2e:clone-cache
22+
DOCKER_GIT_API_URL=http://172.18.0.3:3336 \
23+
DOCKER_GIT_API_CONTAINER_NAME=docker-git-api-cloudflared \
24+
DOCKER_GIT_E2E_CLONE_CACHE_TIMEOUT=900s \
25+
bash scripts/e2e/clone-cache.sh
2226
```
2327

24-
Environment finding:
28+
Result:
2529

26-
- With `DOCKER_HOST=tcp://host.docker.internal:2375`, host CLI requires `DOCKER_GIT_API_URL`.
27-
- With `DOCKER_HOST` unset, Docker is not accessible in this container.
28-
- With `DOCKER_GIT_API_URL=http://host.docker.internal:3334`, the stock harness reaches clone setup but its helper expects local project directories while the API controller stores projects in controller state.
29-
30-
Manual warm-cache verification was then run against the reachable controller:
31-
32-
```bash
33-
DOCKER_GIT_API_URL=http://host.docker.internal:3334 \
34-
bun packages/app/dist/src/docker-git/main.js clone \
35-
https://github.com/octocat/Hello-World/issues/1 \
36-
--force --gh-skip --no-ssh \
37-
--container-name <temporary-name> \
38-
--service-name <temporary-name> \
39-
--volume-name <temporary-name>-home
30+
```text
31+
e2e/clone-cache: cache reuse verified for https://github.com/octocat/Hello-World/issues/1
4032
```
4133

42-
Assertions passed:
34+
Environment notes:
4335

44-
- container log contained `[clone-cache] using mirror:`;
45-
- checkout branch was `issue-1`;
46-
- `git rev-parse HEAD` returned a commit;
47-
- container log did not contain `remote HEAD refers to nonexistent ref`.
48-
49-
Temporary verification containers were removed after the check.
36+
- `DOCKER_HOST=tcp://host.docker.internal:2375` requires an explicit `DOCKER_GIT_API_URL`.
37+
- The controller container is named `docker-git-api-cloudflared`; setting `DOCKER_GIT_API_CONTAINER_NAME` lets the e2e helper inspect the nested project Docker daemon.
38+
- A shorter `300s` first attempt expired while cold-pulling/building the base runtime image, before clone-cache assertions could run.
5039

5140
## Current Workspace State
5241

@@ -55,4 +44,3 @@ At archive time:
5544
- working tree was clean before creating this audit trail;
5645
- final code commits were present on branch `vk/2562-github-138`;
5746
- archive artifacts are stored under `.kanban/changes/ABC-2`.
58-

0 commit comments

Comments
 (0)