fix(runtime): dispatch custom autoscaler triggers - #1021
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Fixes custom autoscaler trigger-pack compilation and dispatch.
Changes:
- Constructs trigger objects during fold dispatch.
- Adds custom-trigger lifecycle coverage.
- Documents the fix in the changelog.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
include/elio/runtime/autoscaler.hpp |
Corrects custom-trigger dispatch. |
tests/unit/test_autoscaler.cpp |
Adds regression coverage. |
CHANGELOG.md |
Records the fix. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Coldwings
force-pushed
the
fix/autoscaler-custom-triggers
branch
from
August 12, 2026 14:02
a41d4fa to
928e13b
Compare
Owner
Author
|
@copilot please re-review only; do not make direct code modifications. |
Contributor
Re-reviewed the current head only. I don’t see any additional actionable issues in the autoscaler fix or the revised trigger-pack regression coverage. |
Coldwings
force-pushed
the
fix/autoscaler-custom-triggers
branch
from
August 12, 2026 14:12
13f985f to
928e13b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fix custom autoscaler trigger packs so the documented
autoscaler<Scheduler, Triggers...>form compiles and dispatches every configured trigger. The trigger fold now constructs each stateless trigger and passes it to the existing overload set instead of incorrectly treating the trigger type as an action template argument.Type of Change
Related Issues
Closes #1020
Related to #1019
Changes Made
Core Changes
on_overload,on_idle, oron_blockoverload.API Changes (if applicable)
None. This restores the existing documented API.
Migration Guide (if breaking change)
Not applicable.
Testing
Unit Tests
Integration Tests
Sanitizer Testing
Test Results
Checklist
Code Quality
Documentation
The existing wiki already documents the intended custom-trigger form; the changelog now records that it works.
Testing
Compatibility
Performance (if applicable)
The only added runtime work is constructing empty stateless trigger policy objects, which are optimized away.
Screenshots / Diagrams
Not applicable.
Additional Notes
The default no-trigger autoscaler path is unchanged. This fix was discovered while adding executable
on_blockcoverage for #1019 and is intentionally separated so the performance change can build on a working trigger contract.Reviewer Guidance
Areas requiring special attention:
Triggers{}selects the existing overload set for every trigger kind.Questions for reviewers: