Skip to content

[ML] Flip TERMINATE_ON_DEGRADED_SECCOMP_FAILURE once ES always sends routing tokens #3213

Description

@valeriy42

Summary

bin/pytorch_inference/Main.cc keeps TERMINATE_ON_DEGRADED_SECCOMP_FAILURE at false so legacy-route launches still run when in-process seccomp BPF cannot be installed.

Hard termination becomes safe only once every production launch carries an explicit --disableSandbox or --requireSandbox token (Elasticsearch already does on Linux via PyTorchBuilder).

Acceptance

  • Flip the constant (or wire it to a controller guarantee) once the no-token legacy default is no longer reachable for production callers.
  • Verify degraded launches fail closed when seccomp cannot install.

Related: #3188

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions