Skip to content

Commit b16ff90

Browse files
committed
ack PR comments, fixed worklfow block color
1 parent a0283f8 commit b16ff90

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

apps/sim/app/workspace/[workspaceId]/logs/components/log-details/components/trace-spans/trace-spans.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ function getBlockIconAndColor(
164164
return { icon: ParallelTool.icon, bgColor: ParallelTool.bgColor }
165165
}
166166
if (lowerType === 'workflow') {
167-
return { icon: WorkflowIcon, bgColor: '#705335' }
167+
return { icon: WorkflowIcon, bgColor: '#6366F1' }
168168
}
169169

170170
// Look up from block registry (model maps to agent)

apps/sim/blocks/blocks/workflow.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export const WorkflowBlock: BlockConfig = {
3232
description:
3333
'This is a core workflow block. Execute another workflow as a block in your workflow. Enter the input variable to pass to the child workflow.',
3434
category: 'blocks',
35-
bgColor: '#705335',
35+
bgColor: '#6366F1',
3636
icon: WorkflowIcon,
3737
subBlocks: [
3838
{

apps/sim/lib/core/config/redis.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,7 @@ export async function acquireLock(
8989
): Promise<boolean> {
9090
const redis = getRedisClient()
9191
if (!redis) {
92-
logger.warn(
93-
'Redis not available - distributed locking disabled. For multi-replica deployments, configure REDIS_URL.',
94-
{ lockKey }
95-
)
96-
return true // Allow operation to proceed; idempotency layer handles duplicates
92+
return true // No-op when Redis unavailable; idempotency layer handles duplicates
9793
}
9894

9995
const result = await redis.set(lockKey, value, 'EX', expirySeconds, 'NX')

0 commit comments

Comments
 (0)