feat(sync): add branch & tag listing support and improve sync mirroring and sync log routing

This commit is contained in:
2026-03-02 10:37:07 +00:00
parent 75d35405dc
commit 56403224c0
16 changed files with 411 additions and 57 deletions

View File

@@ -22,7 +22,7 @@ export class SyncHandler {
try {
const typedsocket = this.opsServerRef.server?.typedserver?.typedsocket;
if (!typedsocket) return;
typedsocket.findAllTargetConnectionsByTag('allClients').then((connections) => {
typedsocket.findAllTargetConnectionsByTag('syncLogClient').then((connections) => {
for (const conn of connections) {
typedsocket
.createTypedRequest<interfaces.requests.IReq_PushSyncLog>('pushSyncLog', conn)

View File

@@ -31,7 +31,7 @@ export class WebhookHandler {
try {
const typedsocket = this.opsServerRef.server.typedserver.typedsocket;
if (typedsocket) {
const connections = await typedsocket.findAllTargetConnectionsByTag('allClients');
const connections = await typedsocket.findAllTargetConnectionsByTag('syncLogClient');
for (const conn of connections) {
const req = typedsocket.createTypedRequest<interfaces.requests.IReq_WebhookNotification>(
'webhookNotification',