fix(aspire): emit withBrowserLogs for endpoint-bearing generated app resources - #1607
Conversation
|
[PHASE: IMPL] Landed endpoint-gated browser-log emission and reconciled the stale endpoint-bearing app test in Scope
API proofAn exact restore using Gate outputThe package-task failures are unrelated missing-path/missing-script E2E fixtures under the mandated
All changed generator tests and the browser integration pin test passed in that run. The serialized |
|
[PHASE: IMPL] resync + slice review Resynced onto current Those three are now filed as #1604 — On the two things I asked you to be careful about: You confirmed the API before emitting — And you reconciled the stale assertion rather than flipping it. Converting Worth stating plainly for the record: before this change NetScript shipped the On the remaining Definition-of-Done box bundling evaluation with a live runtime smoke: this changes Aspire helper generation, which is on the list that warrants a runtime pass. That is covered by the required
|
|
@openhands-agent model=openrouter/deepseek/deepseek-v4-flash-0731 output=pr-comment iterations=800 phase=impl head=966bed5dd7b6c94c55a03c56a5f0f26e2cf7feaa Trusted base SHA: 6619603 use harness SKILL
Act as the formal IMPL-EVAL session for this pull request. Do not edit files, create commits, push, Return concise, severity-ranked findings with exact evidence and required action. End with exactly |
OpenHands Agent — CompletedOPENHANDS_VERDICT: PASS Model: OPENHANDS_VERDICT: PASS IMPL-EVAL — PR #1607 · fix(aspire): emit withBrowserLogs for endpoint-bearing generated app resourcesEvaluated head: SummaryThe PR restores the documented default browser-log child for generated Aspire apps. Changes
Validation (independent)
Process / plan conformance
Findings (severity ranked)
Responses to review commentsNone outstanding. The owner's resync + slice review (5270237107) confirmed both requested cautions (API awaitability Remaining risks
OPENHANDS_VERDICT: PASS Run: https://github.com/rickylabs/netscript/actions/runs/31623332508 |
|
OPENHANDS_VERDICT: PASS IMPL-EVAL — PR #1607 · fix(aspire): emit withBrowserLogs for endpoint-bearing generated app resourcesEvaluated head Findings (severity-ranked)
What was verified
No unresolved review threads. Remaining risk is purely the orchestrator-owned runtime smoke above. This comment was created by an AI agent (OpenHands) on behalf of rickylabs. |
|
[PHASE: IMPL] orchestrator-owned runtime gate — evidence attached Ran the serialized Suite verdictThe three gates this issue turns on all passed:
The single failure is infrastructure, recorded as such rather than as a product result. The
|
Summary
Restore the documented default browser-log child for generated frontend app resources. Generated
register-apps.mtsnow awaitswithBrowserLogs()after endpoint binding while endpoint-lesstask/desktop executables remain unchanged.
Scope
packages/cliAspire helper generationSlices
8797596bbAPI confirmation
Restored a TypeScript AppHost against the exact pinned
Aspire.Hosting.Browsers@13.4.6-preview.1.26319.6package and inspected the generated.aspire/modules/aspire.mtssurface. It declares:The generated implementation returns
ExecutableResourcePromiseImplaround aPromise<ExecutableResource>, soawait <app>.withBrowserLogs()is supported on the exact pinnedexecutable type.
Stale-test rationale
The contradicted test generated this current setup:
and its immediately preceding case asserted
.withHttpEndpoint({ port: 8000, env: 'PORT' }). It therefore covered an endpoint-bearing frontendapp, not a background or endpoint-less resource. Its negative
withBrowserLogsassertion encodedthe removed #781 API limitation and is now a positive assertion with endpoint-before-browser-log
ordering. The endpoint-less
fixtures.UNPINNED_TASK_APPcase remains negative and now explicitlyforbids
withBrowserLogs.Validation
deno task --cwd packages/cli test— exit 1:799 passed (531 steps) | 3 failed; all changedgenerator/config tests pass, while three unrelated E2E harness tests fail on missing repo-relative
docs/script paths under the mandated package cwd
deno task quality:gate— exit 0; quality scan clean, doctrineFAIL=0with existing warningsdeno.lockSHA-256 unchanged:73be92b116b9065372505157da4f6729176e975aa118e9944746317887e9a4c4e2e:cli— not run; explicitly reserved for the orchestratorHarness
.llm/runs/fix-1577-aspire-browser-logs--impl/Drift / Debt
failures are recorded in
worklog.mdand the IMPL phase comment.skills/help.mdalready describes the restored behavior accurately; nosource or generated asset change was needed.
Definition of Done
withBrowserLogs()after endpoint binding.966bed5dd(run 31623332508); serializedscaffold.runtimesmokepassed=79 failed=1withruntime.aspire-restore,generated.deno-check, andruntime.aspire-describeall PASS, the single failure being an unrelated WSL headless-browser vsock transport timeout inbehavior.app-reference; liveaspire describe --include-hiddenreturned the...-web-browser-logschild withresourceType: BrowserLogsandsource: ...-web. Evidence in the runtime-gate comment.