qfix: Rework span creation (#9613)

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev
2025-07-29 23:32:16 +07:00
committed by GitHub
parent 5d991da341
commit 88351f639f
38 changed files with 386 additions and 298 deletions
@@ -271,7 +271,7 @@ export abstract class IssueSyncManagerBase {
): Promise<DocumentUpdate<DocSyncInfo>> {
let needUpdate = false
if (!this.client.getHierarchy().hasMixin(existing, github.mixin.GithubIssue)) {
await this.ctx.withLog(
await this.ctx.with(
'create mixin issue: GithubIssue',
{},
async () => {
@@ -288,7 +288,8 @@ export abstract class IssueSyncManagerBase {
)
await this.notifyConnected(container, info, existing, issueExternal)
},
{ identifier: existing.identifier, url: issueExternal.url }
{ identifier: existing.identifier, url: issueExternal.url },
{ log: true }
)
// Re iterate to have existing value with mixin inside.
needUpdate = true