Skip to content

Report complete snapshot host-resource requirements #340

Description

@simongdavies

Blocked by: hyperlight-dev/hyperlight#1870

Problem

Snapshot::requirements() currently exposes Hyperlight-JS callback requirements, but reports module-loader status as Unknown because Hyperlight does not expose its persisted host-function manifest.

Proposed change

When Hyperlight #1870 lands:

  • Inspect the underlying snapshot requirements.
  • Report module_loader as Required or NotRequired.
  • Mirror the result through Node snapshot.requirements.moduleLoader.
  • Preserve Unknown only for snapshots or Hyperlight versions where requirements cannot be inspected.
  • Update documentation and tests.

Activity

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions