Skip to content

fix: increase lazy-init e2e timing threshold for real-time events#547

Closed
FL4TLiN3 wants to merge 1 commit intomainfrom
fix/lazy-init-e2e-timing-threshold
Closed

fix: increase lazy-init e2e timing threshold for real-time events#547
FL4TLiN3 wants to merge 1 commit intomainfrom
fix/lazy-init-e2e-timing-threshold

Conversation

@FL4TLiN3
Copy link
Contributor

Summary

  • Increase timing threshold in lazy-init.test.ts from 50ms to 200ms to accommodate real-time lifecycle event emission introduced in fix: connect skill adapter lifecycle events to runtime event system #545
  • With real-time events, the gap between base's skillConnected and startRun now includes time for other adapter setup (stdio spawn, MCP handshake), which can exceed 50ms on CI runners

Test plan

  • E2E lazy-init.test.ts passes locally
  • No code changes, only test threshold adjustment

🤖 Generated with Claude Code

With real-time lifecycle event emission (from #545), the gap between
base's skillConnected and startRun now includes other adapter setup
time. Increase threshold from 50ms to 200ms to account for this.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
FL4TLiN3 added a commit that referenced this pull request Feb 17, 2026
The lazyInit field existed in schemas and types but no code read it to
control behavior. All hardcoded assignments set it to false, and
SkillManager.fromExpert() connects all skills synchronously regardless.
Remove the field, its E2E test (which tested batch event timing, not
lazy initialization), and all references across 25 files.

Supersedes #547.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@FL4TLiN3
Copy link
Contributor Author

Superseded by #548 — the lazy-init E2E test has been deleted along with the entire lazyInit feature.

@FL4TLiN3 FL4TLiN3 closed this Feb 17, 2026
FL4TLiN3 added a commit that referenced this pull request Feb 17, 2026
* refactor: remove dead lazyInit field from codebase

The lazyInit field existed in schemas and types but no code read it to
control behavior. All hardcoded assignments set it to false, and
SkillManager.fromExpert() connects all skills synchronously regardless.
Remove the field, its E2E test (which tested batch event timing, not
lazy initialization), and all references across 25 files.

Supersedes #547.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* refactor: delete lazy-init E2E test file

Missed in previous commit when switching branches.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
@FL4TLiN3 FL4TLiN3 deleted the fix/lazy-init-e2e-timing-threshold branch February 25, 2026 13:35
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