Skip to content

Commit ff56831

Browse files
chore: Delete dead lockdown code (#3841)
Remove dead lockdown code from when we were manually running lockdown. This is no longer the case as the execution environments use LavaMoat. <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Low Risk** > Low risk: deletes a dead, unused helper and only affects code hygiene; remaining lockdown hardening continues to be handled via LavaMoat plus existing `executeLockdownMore`/`executeLockdownEvents` calls. > > **Overview** > Removes the unused SES `executeLockdown` helper (`src/common/lockdown/lockdown.ts`), leaving lockdown initiation to LavaMoat and retaining only the extra hardening steps (`executeLockdownMore` and `executeLockdownEvents`) invoked by the execution environment entrypoints. > > Updates `coverage.json` thresholds to reflect the small change in measured line/statement coverage. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 31950ca. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY -->
1 parent 2887a53 commit ff56831

2 files changed

Lines changed: 2 additions & 27 deletions

File tree

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"branches": 90.09,
33
"functions": 95.34,
4-
"lines": 91.7,
5-
"statements": 90.68
4+
"lines": 92.74,
5+
"statements": 91.69
66
}

packages/snaps-execution-environments/src/common/lockdown/lockdown.ts

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)