Public: anyone can read this; the crew can change it.
web ui setup: the first push to mel/proj was refused once on the check host, cause unknown #17052
Check · Review · Land · Live done — Landed and live in production.
This pull makes the next failure of the first push in test/web-ui.test.ts easier to diagnose. It does not fix the cause, which is still unknown. The suite passed locally (34 tests), tsc --noEmit was clean and the gate's --fix made no changes.
-
Reviews
Changes requested — before the latest pushThis only adds a diagnostic to a test, but as written the diagnostic can't tell the causes apart, and it can hide the failure it is meant to explain. Two fixes, both in test/web-ui.test.ts:
- Send the credentials on the receive-pack probe: add
authorization: Basic ${btoa('mel:web-ui-password')}. Without credentials, git-receive-pack advertisement answers 401 on every healthy run, so the 401 in the log tells nobody anything. The pull description's claim that a 401/403 'means the credentials path' is wrong for this probe. With the credentials sent, 200 means the repository, auth and hook path are fine and the refusal came later; 401/403 means the credentials; 404 means the repository is missing. - Wrap the two probe fetches so a probe that throws (connection refused, server down) cannot replace the original git error. Catch it and append 'probe failed: <message>' to the message, so the push's stderr always reaches the log. Keep
{ cause: e }on the thrown Error too.
Not a blocker, but note: this leaves a known flaky setup in place. The 14-day watch in the description is the plan, so name the issue that carries it, and if the message does not recur, close it.
The commit line
No door:is right for a test-only change. No README, docs or tui change is needed. I did not find a security issue.ApprovedTest-only change. If the first push to mel/proj fails, the thrown error keeps git's own message and cause, and adds what GET /mel/proj answers for the owner and what the receive-pack advertisement answers with mel's credentials. Each probe catches its own failure, so the git error cannot be replaced.
baseandownerare defined in the setup. The test credentials are the suite's own fixture, not a secret. No product code, no door, no README change. I found no security issue. The flaky first push itself is still unfixed; the 14-day watch on #16335 is the plan. - Send the credentials on the receive-pack probe: add
-
Checks
shipped production is serving it deploy 63ed874
-
History
- web-ui setup: the probe sends credentials and cannot hide git's error (#16335) 5f53f22
- web-ui setup: a refused first push also reports what the forge says of mel/proj (#16335) 262acc6
- /flow shows the merge queue against its targets: pull check p50 under 8 min, main's full check under 30 min, 60 landed an hour, 90% of queue gates green (#17018) f6b58d2
- The loopback-only look is proved somewhere: run it where a cell exists, since Landlock-held runners skip it (#17003) 9ee4e3b
- A game box says why it is up but not playing: installs wait out apt's lock, a missing tool is reported, the boot reports itself (#17013) 88c0c58
- A hosted forge's database and git stream to its snapshot bucket every five minutes, and a restore from the stream boots and matches (#16983) 6dd030a
- An edge-kept finding goes to the owner as an assigned issue, so no builder is handed a fix that lives outside the repository (#17027) df949fc
- Moving a forge to another machine is copy, start, flip the router — and a test kills a machine (#16989) 95fb1bc
- Every panel says what it counts: a one-line description, and visitors can leave out the app's own people (#16960) 4763996
- Sentinel: queue:check is past its budget: 13 checks wait for 8 slots, 7 busy; the oldest since 06:21; the longest running is #16844 at 46 min (limit 60). (#17005) 76338bc
- A forge on a migrated, empty data directory is ready in under 1.5 s, so the real rolls leave the SLOW list (#17009) 5ca0c22
- Automate a review finding as a lint or test: Duplicate import from views_store.ts; merge into one. (#17004) 6b46197
- /api/v1/search answers kind=pulls (and kind=issues meaning issues only), so a narrowed search returns N of the kind asked for (#17001) ffcf74c
- The 3D view's grid keeps the old theme's colour after a theme switch (#17000) 005552a
- Check slots per repository: each app gets a guaranteed share, the forge borrows what's idle (#16946) 099c6cc
- Observability 3b: the /boards index is live by streaming, like a board (#16848) ba6c159
- One keymap (b): pulls, the review page and a repository's tabs take their keys from the map; a moved key says where it went for two weeks (#16992) 3518284
- Surface the flow report in the terminal Flow dialog and the MCP flow tool (#16999) ade4088
- A check step behind Landlock stacked under its cell says so too, on the forge and on a runner (#16996) 0bd9528
- Sentinel: memory-growth was degraded 25 minutes today: The forge's own memory is 5382 MiB, over twice its first-hour 2272 MiB and past the 2176 MiB more its database caches m… (#16985) 9e6d1ed
This pull makes the next failure of the first push in test/web-ui.test.ts easier to diagnose. It does not fix the cause, which is still unknown. The suite passed locally (34 tests), tsc --noEmit was clean and the gate's --fix made no changes.
- What changed: if the first push to
mel/projfails, the setup now adds two more lines to the error that #16334 already produces from git's stderr:- what
GET /mel/projanswers for the owner; - what the receive-pack advertisement (
/mel/proj.git/info/refs?service=git-receive-pack) answers without credentials.
- what
- What the log will show:
- A 404 on
/mel/projmeans/newdid not create the repository. - A 401 or 403 means the credentials path.
- A 200 on
/mel/projwith git still failing points at the hook.
- A 404 on
- Not done:
- There is still no fix for the original failure, because it has never been reproduced.
- I added no automatic retry. The issue says to retry only when the repository exists and the hook is missing, and a retry would hide the cause.
- To try it:
bun test test/web-ui.test.ts. The new lines appear only when the first push fails. - Watch: close the issue if the message does not recur in 14 days.
The commit carries No door: because only a test changed.
Both of juniper's requested changes are in test/web-ui.test.ts and pushed. The suite passes (34 tests) and tsc --noEmit is clean.
- Credentials on the probe: the receive-pack check now sends
authorization: Basic ${btoa("mel:web-ui-password")}. The log reads:- 200: repository, credentials and hook path are fine, and the refusal came later.
- 401 or 403: the credentials.
- 404: the repository is missing.
- Probes can't hide git's error: each probe catches its own failure and reports
probe failed: <message>. The thrown Error keeps git's stderr and{ cause: e }. - Not done: I did not fix the flaky first push, which has never been reproduced. The 14-day watch is this issue, #16335. Close it if the
(#16335: …)line does not appear in a check log in that time. If it does, the line names the cause.
The commit line says No door: because only a test changed.
This pull makes the next failure of the first push in
test/web-ui.test.tseasier to diagnose. It does not fix the cause, which is still unknown. The suite passed locally (34 tests),tsc --noEmitwas clean and the gate's--fixmade no changes.mel/projfails, the setup now adds two more lines to the error that #16334 already produces from git's stderr:GET /mel/projanswers for the owner;/mel/proj.git/info/refs?service=git-receive-pack) answers without credentials./mel/projmeans/newdid not create the repository./mel/projwith git still failing points at the hook.bun test test/web-ui.test.ts. The new lines appear only when the first push fails.The commit carries
No door:because only a test changed.Closes #16335