Skip to content

20261014 - cMeta v0.37.1: a cserver runs a changed task with its changed helper modules - #61

Merged
gfursin merged 1 commit into
mainfrom
dev
Oct 14, 2026
Merged

gfursin merged 1 commit into
mainfrom
dev

Conversation

@gfursin

@gfursin gfursin commented Oct 14, 2026

Copy link
Copy Markdown
Member

cMeta v0.37.1 (see CHANGELOG.md, section 0.37.1):

  • A process that lives on (a cserver) runs a changed task with its changed helpers: utils.sys.load_module re-reads the helper modules of a module it loads again, and a changed helper (also one imported inside a function) loads the module again, checked at most once a second per module (HELPER_CHECK_SECONDS). Before, a cserver ran the new module with the old helpers and failed with "module ... has no attribute ..." until it was restarted.
  • Tests: tests/core_tests/test_utils_sys_load_module.py; tests/benchmarks/benchmark_engine.py has a section on loaded modules.

🤖 Generated with Claude Code

A process that lives on (a cserver) runs a changed task with its changed helpers: utils.sys.load_module, which
loads a module again when its file changes, first forgets the helper modules of the module's package, so that its
"from . import <helper>" reads them again (before, a cserver ran the new module with the old helpers and failed
with "module ... has no attribute ..."); a changed helper, also one imported inside a function, loads the module
again, checked at most once a second per module (HELPER_CHECK_SECONDS). Tests: test_utils_sys_load_module.py; the
benchmark has a module section.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Grigori Fursin <gfursin@gmail.com>
@gfursin
gfursin merged commit 18525ab into main Oct 14, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant