Skip to content

ability in importBundle to take a live object #2719

@turadg

Description

@turadg

What is the Problem Being Solved?

Code coverage tools can't currently track coverage on files bundled by Endo. (see Agoric/agoric-sdk#1817)

Description of the Design

A pass-through style bundle that passes a live object. It should not be possible to obtain such a bundle from a JSON.parse or Endo fromCapData.

A new case in https://github.com/endojs/endo/blob/master/packages/import-bundle/src/index.js#L83-L110

Then downstream projects can make these pass-through bundles to get code coverage (e.g. Agoric/agoric-sdk#10558)

Security Considerations

Scaling Considerations

Test Plan

Compatibility Considerations

Upgrade Considerations

Metadata

Metadata

Assignees

Labels

devexdeveloper experienceenhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions