Skip to content

Conversation

@shayne-fletcher
Copy link
Contributor

Summary:
D86994420 changed defaults:

  • HYPERACTOR_MESH_ENABLE_LOG_FORWARDING=false
  • HYPERACTOR_MESH_ENABLE_FILE_CAPTURE=false
  • HYPERACTOR_MESH_TAIL_LOG_LINES=0

these defaults do not play well with interactive notebooks so this diff selective overrides them when the execution environment is determined to be interactive.

Differential Revision: D87098535

@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 D87098535.

shayne-fletcher added a commit to shayne-fletcher/monarch-1 that referenced this pull request Nov 17, 2025
Summary:

D86994420 changed defaults:
- `HYPERACTOR_MESH_ENABLE_LOG_FORWARDING=false`
- `HYPERACTOR_MESH_ENABLE_FILE_CAPTURE=false`
- `HYPERACTOR_MESH_TAIL_LOG_LINES=0`

these defaults do not play well with interactive notebooks so this diff selectively overrides them when the execution environment is interactive (ipython, jupyter, bento).

incidentally this diff adds a new test module `test_actor_logging.py`. today it has a new smoke test, in time i mean to break out the logging tests from `test_python_actor.py`, fix those that need it, and move them here.

Differential Revision: D87098535
shayne-fletcher added a commit to shayne-fletcher/monarch-1 that referenced this pull request Nov 17, 2025
Summary:

D86994420 changed defaults:
- `HYPERACTOR_MESH_ENABLE_LOG_FORWARDING=false`
- `HYPERACTOR_MESH_ENABLE_FILE_CAPTURE=false`
- `HYPERACTOR_MESH_TAIL_LOG_LINES=0`

these defaults do not play well with interactive notebooks so this diff selectively overrides them when the execution environment is interactive (ipython, jupyter, bento).

incidentally this diff adds a new test module `test_actor_logging.py`. today it has a new smoke test, in time i mean to break out the logging tests from `test_python_actor.py`, fix those that need it, and move them here.

Differential Revision: D87098535
shayne-fletcher added a commit to shayne-fletcher/monarch-1 that referenced this pull request Nov 17, 2025
Summary:

D86994420 changed defaults:
- `HYPERACTOR_MESH_ENABLE_LOG_FORWARDING=false`
- `HYPERACTOR_MESH_ENABLE_FILE_CAPTURE=false`
- `HYPERACTOR_MESH_TAIL_LOG_LINES=0`

these defaults do not play well with interactive notebooks so this diff selectively overrides them when the execution environment is interactive (ipython, jupyter, bento).

incidentally this diff adds a new test module `test_actor_logging.py`. today it has a new smoke test, in time i mean to break out the logging tests from `test_python_actor.py`, fix those that need it, and move them here.

Differential Revision: D87098535
shayne-fletcher added a commit to shayne-fletcher/monarch-1 that referenced this pull request Nov 17, 2025
Summary:

D86994420 changed defaults:
- `HYPERACTOR_MESH_ENABLE_LOG_FORWARDING=false`
- `HYPERACTOR_MESH_ENABLE_FILE_CAPTURE=false`
- `HYPERACTOR_MESH_TAIL_LOG_LINES=0`

these defaults do not play well with interactive notebooks so this diff selectively overrides them when the execution environment is interactive (ipython, jupyter, bento).

incidentally this diff adds a new test module `test_actor_logging.py`. today it has a new smoke test, in time i mean to break out the logging tests from `test_python_actor.py`, fix those that need it, and move them here.

Differential Revision: D87098535
shayne-fletcher added a commit to shayne-fletcher/monarch-1 that referenced this pull request Nov 17, 2025
Summary:

D86994420 changed defaults:
- `HYPERACTOR_MESH_ENABLE_LOG_FORWARDING=false`
- `HYPERACTOR_MESH_ENABLE_FILE_CAPTURE=false`
- `HYPERACTOR_MESH_TAIL_LOG_LINES=0`

these defaults do not play well with interactive notebooks so this diff selectively overrides them when the execution environment is interactive (ipython, jupyter, bento).

incidentally this diff adds a new test module `test_actor_logging.py`. today it has a new smoke test, in time i mean to break out the logging tests from `test_python_actor.py`, fix those that need it, and move them here.

Reviewed By: mariusae

Differential Revision: D87098535
shayne-fletcher added a commit to shayne-fletcher/monarch-1 that referenced this pull request Nov 17, 2025
Summary:

D86994420 changed defaults:
- `HYPERACTOR_MESH_ENABLE_LOG_FORWARDING=false`
- `HYPERACTOR_MESH_ENABLE_FILE_CAPTURE=false`
- `HYPERACTOR_MESH_TAIL_LOG_LINES=0`

these defaults do not play well with interactive notebooks so this diff selectively overrides them when the execution environment is interactive (ipython, jupyter, bento).

incidentally this diff adds a new test module `test_actor_logging.py`. today it has a new smoke test, in time i mean to break out the logging tests from `test_python_actor.py`, fix those that need it, and move them here.

Reviewed By: mariusae

Differential Revision: D87098535
@shayne-fletcher shayne-fletcher force-pushed the export-D87098535 branch 2 times, most recently from fae9447 to bb63757 Compare November 18, 2025 22:02
shayne-fletcher added a commit to shayne-fletcher/monarch-1 that referenced this pull request Nov 18, 2025
Summary:

D86994420 changed defaults:
- `HYPERACTOR_MESH_ENABLE_LOG_FORWARDING=false`
- `HYPERACTOR_MESH_ENABLE_FILE_CAPTURE=false`
- `HYPERACTOR_MESH_TAIL_LOG_LINES=0`

these defaults do not play well with interactive notebooks so this diff selectively overrides them when the execution environment is interactive (ipython, jupyter, bento).

incidentally this diff adds a new test module `test_actor_logging.py`. today it has a new smoke test, in time i mean to break out the logging tests from `test_python_actor.py`, fix those that need it, and move them here.

Reviewed By: mariusae

Differential Revision: D87098535
shayne-fletcher added a commit to shayne-fletcher/monarch-1 that referenced this pull request Nov 18, 2025
Summary:

D86994420 changed defaults:
- `HYPERACTOR_MESH_ENABLE_LOG_FORWARDING=false`
- `HYPERACTOR_MESH_ENABLE_FILE_CAPTURE=false`
- `HYPERACTOR_MESH_TAIL_LOG_LINES=0`

these defaults do not play well with interactive notebooks so this diff selectively overrides them when the execution environment is interactive (ipython, jupyter, bento).

incidentally this diff adds a new test module `test_actor_logging.py`. today it has a new smoke test, in time i mean to break out the logging tests from `test_python_actor.py`, fix those that need it, and move them here.

Reviewed By: mariusae

Differential Revision: D87098535
Summary:

this diff fixes incorrect overwrite semantics in the python configuration path. previously, each kwarg passed to `configure()` called `global::set(Source::Runtime, …)`, which replaces the entire `Runtime` layer. as a result, setting multiple keys in separate calls-or even within a single call-would drop previously set `Runtime` values.

the fix introduces `Attrs::merge` and `global::create_or_merge`, which perform an in‑place update of an existing layer while preserving keys not mentioned in the update. the python bridge now uses `create_or_merge` instead of `set`, giving `Runtime` the incremental semantics expected by the python API. a shared `make_layer` helper removes duplicated construction logic.

python‑exposed config keys for log forwarding and capture are enabled, and new tests in rust and python exercise single and multi-key configuration.

Reviewed By: mariusae

Differential Revision: D87339094
Summary:

D86994420 changed defaults:
- `HYPERACTOR_MESH_ENABLE_LOG_FORWARDING=false`
- `HYPERACTOR_MESH_ENABLE_FILE_CAPTURE=false`
- `HYPERACTOR_MESH_TAIL_LOG_LINES=0`

these defaults do not play well with interactive notebooks so this diff selectively overrides them when the execution environment is interactive (ipython, jupyter, bento).

incidentally this diff adds a new test module `test_actor_logging.py`. today it has a new smoke test, in time i mean to break out the logging tests from `test_python_actor.py`, fix those that need it, and move them here.

Reviewed By: mariusae

Differential Revision: D87098535
shayne-fletcher added a commit to shayne-fletcher/monarch-1 that referenced this pull request Nov 19, 2025
Summary:

D86994420 changed defaults:
- `HYPERACTOR_MESH_ENABLE_LOG_FORWARDING=false`
- `HYPERACTOR_MESH_ENABLE_FILE_CAPTURE=false`
- `HYPERACTOR_MESH_TAIL_LOG_LINES=0`

these defaults do not play well with interactive notebooks so this diff selectively overrides them when the execution environment is interactive (ipython, jupyter, bento).

incidentally this diff adds a new test module `test_actor_logging.py`. today it has a new smoke test, in time i mean to break out the logging tests from `test_python_actor.py`, fix those that need it, and move them here.

Reviewed By: mariusae

Differential Revision: D87098535
shayne-fletcher added a commit to shayne-fletcher/monarch-1 that referenced this pull request Nov 19, 2025
Summary:

D86994420 changed defaults:
- `HYPERACTOR_MESH_ENABLE_LOG_FORWARDING=false`
- `HYPERACTOR_MESH_ENABLE_FILE_CAPTURE=false`
- `HYPERACTOR_MESH_TAIL_LOG_LINES=0`

these defaults do not play well with interactive notebooks so this diff selectively overrides them when the execution environment is interactive (ipython, jupyter, bento).

incidentally this diff adds a new test module `test_actor_logging.py`. today it has a new smoke test, in time i mean to break out the logging tests from `test_python_actor.py`, fix those that need it, and move them here.

Reviewed By: mariusae

Differential Revision: D87098535
@meta-codesync meta-codesync bot closed this in ed514e4 Nov 19, 2025
@meta-codesync
Copy link

meta-codesync bot commented Nov 19, 2025

This pull request has been merged in ed514e4.

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 Merged meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants