Skip to content

Remove remaining shaft-engine deprecated API calls #4930

Description

@MohabMohie

Problem Statement

The full shaft-engine PR-gate job emits repeated removal warnings for Selenium HasBiDi#getBiDi / maybeGetBiDi, TerminalActions#isDockerizedTerminal, and Timeouts#dockerCommandTimeout from production and test callers.

Proposed Solution

Migrate each live caller to its supported replacement, then remove or advance the internal deprecated-call migration without changing public behavior.

Alternatives Considered

Leaving the warnings until the dependency removes the APIs avoids immediate edits, but makes the eventual upgrade abrupt and keeps every unrelated PR noisy.

Use Case & Impact

Keeps shaft-engine compatible with upcoming Selenium and internal API removals and restores warning signal quality.

Acceptance Criteria

  • The named deprecated API warnings no longer appear in the shaft-engine compile/test job.
  • Existing browser emulation and terminal/file behavior remains covered and green.
  • Public API compatibility is preserved or follows deprecate-before-removal policy.

Proof Plan

  • Run focused tests for browser emulation and terminal/file actions.
  • Run the full shaft-engine unit-test job and inspect annotations.

Evidence: PR #4928 exact head a61ee5b068459e879eb21b0eab5d796e3a61c60d.
Duplicate searches on 2026-08-14 for maybeGetBiDi getBiDi deprecated and isDockerizedTerminal dockerCommandTimeout deprecated found no open issue.

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