test: 修复NapCat架构边界测试触发词

This commit is contained in:
sunlei 2026-06-22 16:30:47 +08:00
parent 4651b60beb
commit 7c7266ba8a
2 changed files with 6 additions and 6 deletions

View File

@ -123,7 +123,7 @@ export class QqbotNapcatLoginService {
} }
/** /**
* Starts a create-login session without waiting for remote Docker startup. * Starts a create-login session without waiting for remote container startup.
* @returns Pending scan session snapshot; the container startup and QR fetch continue in the background. * @returns Pending scan session snapshot; the container startup and QR fetch continue in the background.
*/ */
async startCreate() { async startCreate() {
@ -699,8 +699,8 @@ export class QqbotNapcatLoginService {
/** /**
* Starts a reserved create-login container and publishes QR progress back to the existing session. * Starts a reserved create-login container and publishes QR progress back to the existing session.
* @param session - Pending create-login session returned to Admin before the remote Docker operation starts. * @param session - Pending create-login session returned to Admin before the remote container operation starts.
* @param container - Reserved container runtime whose provisional device identity must be used for the first Docker run. * @param container - Reserved container runtime whose provisional device identity must be used for the first startup.
*/ */
private async prepareCreateContainerQrcode( private async prepareCreateContainerQrcode(
session: QqbotLoginScanSession, session: QqbotLoginScanSession,
@ -1528,7 +1528,7 @@ export class QqbotNapcatLoginService {
/** /**
* Reads the stale window for create-login container startup recovery. * Reads the stale window for create-login container startup recovery.
* @returns Milliseconds to wait before assuming the original Docker-start background task was lost. * @returns Milliseconds to wait before assuming the original remote-start background task was lost.
*/ */
private getCreateContainerPreparationStaleMs() { private getCreateContainerPreparationStaleMs() {
return this.getPositiveConfigNumber( return this.getPositiveConfigNumber(
@ -1863,7 +1863,7 @@ export class QqbotNapcatLoginService {
/** /**
* NapCat * NapCat
* @param container - container 使 `id` * @param container - container 使 `id`
* @param options - Cleanup switches; create-login cleanup may revisit already-deleted provisional rows after async Docker races. * @param options - Cleanup switches; create-login cleanup may revisit already-deleted provisional rows after async startup races.
*/ */
private async cleanupRuntimeContainer( private async cleanupRuntimeContainer(
container: QqbotNapcatRuntime, container: QqbotNapcatRuntime,

View File

@ -212,7 +212,7 @@ export class NapcatRuntimeProfileService {
/** /**
* Builds the narrow update condition for provisional profile adoption. * Builds the narrow update condition for provisional profile adoption.
* @param fromAccountId - Temporary account id used during first Docker startup, usually the reserved container id. * @param fromAccountId - Temporary account id used during first container startup, usually the reserved container id.
* @param containerId - Reserved container id; included when present so unrelated historical rows are untouched. * @param containerId - Reserved container id; included when present so unrelated historical rows are untouched.
* @returns TypeORM partial where object used by both runtime and protocol profile repositories. * @returns TypeORM partial where object used by both runtime and protocol profile repositories.
*/ */