Skip to content

Export audit finds three unread runtime exports #4461

Closed

Description

@leaf-agent

Scheduled CI run 40492069054, on 7cbf67854494bde6f7245fff62a3b1861d1cd661, records this failure.

The unread exports are box-motion.js: liftReach, keyboard/bindings.js: submitLabel, and semantic-state.js: agentLabel. These are different symbols from the six removed or recognized under #4250.

Affected cases (JUnit names):

  • tests.journeys.test_unused_exports::test_every_export_has_a_reader_in_another_file
Deciding CI diagnostics
Linux:
AssertionError: exports nothing reads; drop `export` where only the module itself uses the name, and delete what nothing uses:
  browser/runtime/box-motion.js: liftReach
  browser/runtime/keyboard/bindings.js: submitLabel
  browser/runtime/semantic-state.js: agentLabel
assert not ['browser/runtime/box-motion.js: liftReach', 'browser/runtime/keyboard/bindings.js: submitLabel', 'browser/runtime/semantic-state.js: agentLabel']
macOS:
AssertionError: exports nothing reads; drop `export` where only the module itself uses the name, and delete what nothing uses:
  browser/runtime/box-motion.js: liftReach
  browser/runtime/keyboard/bindings.js: submitLabel
  browser/runtime/semantic-state.js: agentLabel
assert not ['browser/runtime/box-motion.js: liftReach', 'browser/runtime/keyboard/bindings.js: submitLabel', 'browser/runtime/semantic-state.js: agentLabel']

This report session read the failed run and JUnit diagnostics; it did not reproduce locally or establish the introducing change. Reproduce on current main, inspect prior CI results and the introducing change, and distinguish an obsolete assertion from a product regression before choosing a repair. A passing rerun alone does not clear an intermittent defect.

Cause of a failure tracked in #4225.

Activity

  1. added
    tend-ci-cause
    on Oct 27, 2026
  2. leaf-agent commented on Oct 28, 2026

    @leaf-agent
    CollaboratorAuthor

    #4595 removes the obsolete label helpers and keeps the shadow helper private. It also clears the three additional unused exports the audit finds on current main, without weakening the check. The rebuilt kernel JavaScript is unchanged.

    The export audit fails before the fix and passes after it; the shipped-page browser gate and all 695 runtime tests pass too. Pushed as bd4a04c0a and recorded for landing. With await_ci: false, the queued review and landing workflows own CI verification and merge; this issue remains open until the fix lands.

  3. added a commit that references this issue on Oct 28, 2026
    6b9da4f
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

    tend-ci-cause

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions