MCPcopy Index your code
hub / github.com/getsentry/XcodeBuildMCP / runStartupLifecycleSweep

Function runStartupLifecycleSweep

src/daemon.ts:154–172  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

152 log('info', `[Daemon] Socket: ${socketPath}`);
153
154 const runStartupLifecycleSweep = async (): Promise<void> => {
155 try {
156 const lifecycle = await runWorkspaceFilesystemLifecycleSweep({
157 workspaceKey,
158 trigger: 'startup',
159 });
160 if (lifecycle.stopped > 0 || lifecycle.deleted > 0 || lifecycle.errors.length > 0) {
161 log(
162 lifecycle.errors.length > 0 ? 'warn' : 'info',
163 `[Daemon] Filesystem lifecycle: ${JSON.stringify(lifecycle)}`,
164 );
165 }
166 } catch (error) {
167 log(
168 'warn',
169 `[Daemon] Filesystem lifecycle failed: ${error instanceof Error ? error.message : String(error)}`,
170 );
171 }
172 };
173
174 if (logPath) {
175 log('info', `[Daemon] Logs: ${logPath}`);

Callers 1

mainFunction · 0.85

Calls 2

logFunction · 0.90

Tested by

no test coverage detected