Skip to content

Managed startup runtime digest test fails after #11317 #11331

Closed

Description

@rsliter

Investigation Summary

Description

The integration test rejects the committed managed-startup-image-runtime.bundle because its expected digest is stale.
Expected behavior: the reviewed artifact and its independent expected SHA-256 agree, so the artifact-pin test passes.

The change is traceable to #11317, merged as cad49353438e5ec6fd853eb51a1f6aded84090ff.
That PR regenerated the bundle while removing redundant Node.js type-stripping flags, but left the test's digest unchanged.
This is a regression in an existing test contract, not a request for a new supported surface.

Relevant source at the verified main revision:

Reproduction Steps

In a prepared checkout at the verified main revision, run:

npx --no-install vitest run --project integration \
  test/mcp/mcp-tool-discovery-image-contract.test.ts \
  -t 'pins the reviewed image runtime artifacts exactly'

The failure was reproduced on 6b75bf3439cbd12621d9db9b38a96b37d3ba365e with the same test and bundle as main.
GitHub and the local checkout report identical Git blob IDs for both files:

test:   14b9136a3c4a33ef033b107cf23fcc4c1e839e88
bundle: af207af0178bfedb7248c6fad433150d7e1c39bb

Environment

  • macOS 26.5.2, arm64
  • Node.js 22.23.2; npm 10.9.8; Vitest 4.1.9
  • Verified main revision: 7d687ff7ea490c307b2a9ad2dcf5401967da609b
  • The failing assertion compares committed file bytes. It requires no sandbox, inference service, or live E2E run.

Debug Output

FAIL test/mcp/mcp-tool-discovery-image-contract.test.ts
MCP tool discovery image contract > pins the reviewed image runtime artifacts exactly

Expected: c267456af3ef655f344eea46caa0f23f93b33c88df8b5c290d7fad174346f04c
Received: 17ac7309b4f830947e0fcf88999c2e7b7e95cd67f880c3f6fccfac0aca2aeb6b

test/mcp/mcp-tool-discovery-image-contract.test.ts:242:38
Tests: 1 failed | 3 passed | 15 skipped (19)
Exit code: 1

A sandbox debug bundle does not apply to this static artifact-pin failure.

Acceptance Criteria

Related Work

#11173, #11163, and #11251 update the same artifact and expected digest for their own changes.
They are overlapping work, not dedicated repairs for this regression. Recheck their latest revisions before implementing a standalone fix.
#11327 repairs a different main failure involving a gateway teardown mock.

Checklist

  • I confirmed this bug is reproducible.
  • I searched existing issues and PRs; no dedicated duplicate was found when filing.

Activity

  1. added theissue type on Sep 9, 2026
  2. added
    area: ci
    area: e2e
    area: packaging
    on Sep 9, 2026
  3. VishnuR23 commented on Sep 20, 2026

    @VishnuR23
    Contributor

    This looks resolved on current main. The pin was refreshed by #12056 (395818244 test(mcp): refresh managed runtime digest pin).

    Reproduced the issue's own command against main at 3f98fc78:

    npx --no-install vitest run --project integration \
      test/mcp/mcp-tool-discovery-image-contract.test.ts \
      -t 'pins the reviewed image runtime artifacts exactly'
    
    Test Files  1 passed (1)
         Tests  4 passed | 15 skipped (19)
    

    That matches the shape you recorded — four cases selected, fifteen excluded by the filter — with the one failure now passing.

    The bundle has since moved again under #11906, #12018, and #11105, and the pin was updated alongside in #12015 and #11105, so the digest and artifact are agreeing through those changes rather than only at the #12056 refresh.

  4. hunglp6d commented on Oct 28, 2026

    @hunglp6d
    Collaborator

    Closing this issue due to the integration test's expected digest falling behind its reviewed startup-bundle update.
    The follow-up reports the pin refresh and the same focused command passing on later main; this report does not establish a NemoClaw v0 runtime failure.
    Please re-open if an ordinary build or release has an unexplained mismatch between the reviewed artifact and its independent expected digest, with the exact revision.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: ciarea: e2earea: packaging

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions