fix(cleanup): invalidate sandbox_dirs_cache after purge (#7527) #11010

Merged
HAL9000 merged 18 commits from fix-sandbox-cache-invalidation into master 2026-06-18 07:55:56 +00:00

18 Commits

Author SHA1 Message Date
controller-ci-rerun 85e36369bd chore: re-trigger CI [controller]
CI / load-versions (pull_request) Successful in 18s
CI / push-validation (pull_request) Successful in 26s
CI / build (pull_request) Successful in 40s
CI / lint (pull_request) Successful in 48s
CI / quality (pull_request) Successful in 52s
CI / typecheck (pull_request) Successful in 1m20s
CI / security (pull_request) Successful in 1m21s
CI / helm (pull_request) Successful in 47s
CI / unit_tests (pull_request) Successful in 5m59s
CI / docker (pull_request) Successful in 2m30s
CI / integration_tests (pull_request) Successful in 10m29s
CI / coverage (pull_request) Successful in 12m16s
CI / status-check (pull_request) Successful in 3s
2026-06-18 03:28:57 -04:00
controller-ci-rerun 0e807f8f5e chore: re-trigger CI [controller]
CI / load-versions (pull_request) Successful in 31s
CI / push-validation (pull_request) Successful in 36s
CI / build (pull_request) Successful in 54s
CI / integration_tests (pull_request) Failing after 56s
CI / quality (pull_request) Successful in 59s
CI / lint (pull_request) Successful in 1m4s
CI / typecheck (pull_request) Successful in 1m31s
CI / security (pull_request) Successful in 1m32s
CI / helm (pull_request) Successful in 1m23s
CI / unit_tests (pull_request) Successful in 6m23s
CI / docker (pull_request) Successful in 2m32s
CI / coverage (pull_request) Successful in 13m50s
CI / status-check (pull_request) Failing after 4s
2026-06-18 03:03:26 -04:00
HAL9000 ffa0a3b3bf fix(acms): defer settings strategy auto-load past _strategies/_logger init
The previous ACMSPipeline.__init__ invoked _load_strategies_from_settings
at line 831 before self._strategies (line 834) and self._logger (line 864)
were initialized.  When a Settings whose context dict contained a
'strategies' key was passed in, the method body raised AttributeError on
'self._strategies', and the except handler then raised a second
AttributeError on 'self._logger' that propagated out of __init__ and
crashed pipeline construction entirely.

Move the auto-load call to after both attributes are bound.  Convert the
pytest-shaped tests/strategies/test_strategy_registry.py (which the
behave-based unit_tests gate never ran) into a behave feature file +
step definitions under features/, matching the project's BDD convention
and bringing the strategy auto-loading paths under actual CI coverage.

ISSUES CLOSED: #7527
2026-06-18 03:03:26 -04:00
CleverAgents Bot 35ecfda7d4 ci: rerun sandbox cache invalidation gates 2026-06-18 03:03:26 -04:00
controller-ci-rerun e9fd57d401 chore: re-trigger CI [controller] 2026-06-18 03:03:26 -04:00
CleverAgents Bot 53803c5e73 fix(acms): align strategy registry types 2026-06-18 03:03:26 -04:00
cleveragents-auto c98c71467e fix(context): clean strategy registry lint after rebase 2026-06-18 03:03:26 -04:00
cleveragents-auto 7693ec2506 chore: re-trigger CI after no-status timeout 2026-06-18 03:03:26 -04:00
controller-ci-rerun 22aff4bb44 chore: re-trigger CI [controller] 2026-06-18 03:03:26 -04:00
controller-ci-rerun 27f460898e chore: re-trigger CI [controller] 2026-06-18 03:03:26 -04:00
controller-ci-rerun c023ccb5e3 chore: re-trigger CI [controller] 2026-06-18 03:03:26 -04:00
Rebase Agent dea5ea4c18 Put tsx on PATH instead of replacing npx call sites 2026-06-18 03:03:26 -04:00
Rebase Agent 8f631969ff Bypass npx by installing tsx locally and calling its binary directly 2026-06-18 03:03:26 -04:00
Rebase Agent 6f2c4de113 Guard all prompt_async paths against empty bodies 2026-06-18 03:03:26 -04:00
OpenCode AI cb6986c8f9 feat(context): implement ContextStrategy protocol and plugin registration system
Implement strategy registry integration as spec §47561 by adding:

- load_strategies_from_config() in context_strategies.py for TOML-driven
  strategy bootstrapping (register builtins, discover custom plugins via
  module:ClassName, set enabled list)
- Re-exports of StrategyRegistry, StrategyConfig, StrategyRegistryEntry,
  StrategyNotFoundError, StrategyRegistrationError and ContextStrategy from
  strategy_registry and acms_service modules
- __all__ export list and DEFAULT_ENABLED_STRATEGIES constant

Fix StrategyRegistry.validate_registry() to skip resource_types check for
v1 pipeline strategies (context_strategies.py, acms_service.py) whose
StrategyCapabilities dataclass lacks the domain-model resource_types field,
preventing false-positive warnings.  Adds _is_v1_pipeline_caps() helper.

Auto-load strategy configuration from Settings in ACMSPipeline.__init__()
when a Settings object is provided, reading context.strategies config and
registering/ enabling strategies via the plugin loader.
2026-06-18 03:03:26 -04:00
Rebase Agent fc7fed644d Skip worker launch when build_*_prompt returns empty content 2026-06-18 03:03:26 -04:00
Rebase Agent 0fb95af78b build fixed weird forgejo bug 2026-06-18 03:03:26 -04:00
Rebase Agent 9791460cca Add grooming worker type with task-groomer and estimator-grooming 2026-06-18 03:03:26 -04:00