Skip to content

Conversation

@shayne-fletcher
Copy link
Contributor

Differential Revision: D87062902

Summary:

this diff sets the following defaults for hyperactor-mesh global configuration values:
- `MESH_ENABLE_LOG_FORWARDING=false`
- `MESH_ENABLE_FILE_CAPTURE=false`
- `MESH_TAIL_LOG_LINES=0`

the effect of this is to disable log forwarding, prevent allocating resources for log forwarding, no file capture at the hyperactor mesh level (including no "exit tail" capture), in fact, under these defaults there is no interception of child process stdio at all.

a [workplace post is planned to announce this change](https://fb.workplace.com/groups/1399849971389924/permalink/1602002844507968/) in default configuration.

this diff is built on: D85783397 provide config for enabling/disabling hyperactor-mesh logging interception features, D85919326 for avoiding spinning up `LogForwardActor` meshes when log forwarding is enabled and D85969320 for some detailed testing.

Reviewed By: zdevito, vidhyav

Differential Revision: D86994420
Summary:

`fbinit()` causes the installation of a glog signal handler that prints a stack trace handling `SIGTERM`. calls to `pm.stop()` result in these traces being written to stderr.

this diff restores the default signal disposition after the call to `fbinit()` in `bootstrap_main` and the behavior is extinguished.

Differential Revision: D87037324
Differential Revision: D87062902
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Nov 14, 2025
@meta-codesync
Copy link

meta-codesync bot commented Nov 14, 2025

@shayne-fletcher has exported this pull request. If you are a Meta employee, you can view the originating Diff in D87062902.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot. fb-exported meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant