The storage-switch target check no longer counts the EF model build against its 15-second limit #369
No reviewers
Labels
No labels
agent
api-regen
agent
architect
agent
coder
agent
console-coder
agent
docs-writer
agent
mechanic
agent
protocol-coder
agent
storage-coder
area/api
area/ci
area/console
area/dhcp
area/dns
area/docs
area/packaging
area/process
area/storage
area/windows
kind
bug
kind
chore
kind
docs
kind
epic
kind
feature
kind
performance
kind
security
kind
test
priority
high
priority
low
priority
medium
resolution
duplicate
resolution
not-a-bug
resolution
wontfix
status
blocked
status
in-progress
status
needs-decision
status
needs-design
status
ready
theme
ad-samba-dns
theme
alternatives-benchmark
theme
console-toolchain
theme
later
theme
parity-devices
theme
parity-query
theme
post-release-fixes
theme
tracker-setup
theme
valkey
theme
windows-installer
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
lantea-one/ninlil!369
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/351-storage-switch-timeout"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The storage-switch target check no longer counts the EF model build against its 15-second limit. This fixes a test that timed out on a loaded CI runner.
StorageEngineSwitchService.CheckTargetAsyncthe 15 s timer started before theNinlilDnsContextwas created. The cold EF model build is CPU work that touches no database, and it used up part of the limit._ = context.Model;) and the timer starts after it. The limit now covers only what the target database does: one connect and the migrations-history query. No new option; the default stays at 15 s.ScheduleSwitch_WithNoClusterSetting_IsSavedfails before the fix and passes after it. The coder and the verifier each showed this.Verified:
StorageSwitchReplicaTestspassed 10/10 in the CI container, in the coder's run and in the verifier's.Ninlil.Web.Testspassed 82/82.Closes #351
🤖 Generated with Claude Code
https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK