Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure
TypeScript
ci(profile-ui): gate profile UI checks
Josué7b871ea4a285
diff --git a/.github/workflows/ci-public.yml b/.github/workflows/ci-public.ymlindex b6ec5fe99..3e522d544 100644--- a/.github/workflows/ci-public.yml+++ b/.github/workflows/ci-public.yml@@ -61,6 +61,7 @@ jobs:- stdio-bridge- external-rest-api- desktop-app+ - profile-ui- mcp-servers- packages/workflow-runtime-core- packages/workflow-sdkdiff --git a/Makefile b/Makefileindex 664e38ecc..50cd06a8e 100644--- a/Makefile+++ b/Makefile@@ -42,6 +42,7 @@ SERVICES := \webhook-gateway \stdio-bridge \desktop-app \+ profile-ui \mcp-servers \packages/workflow-runtime-core \packages/workflow-sdk@@ -941,4 +942,3 @@ run-platform-security-gates: ## Execute the revised platform security gate runnehelp: ## Show this help@grep -E '^[a-zA-Z0-9_-]+:.*?## .*$$' $(MAKEFILE_LIST) | \awk 'BEGIN {FS = ":.*?## "}; {printf " \033[36m%-24s\033[0m %s\n", $$1, $$2}'-diff --git a/profile-ui/app/components/__tests__/ProfileAppFrame.invite.test.tsx b/profile-ui/app/components/__tests__/ProfileAppFrame.invite.test.tsxindex 0571e7743..a5e119bdb 100644--- a/profile-ui/app/components/__tests__/ProfileAppFrame.invite.test.tsx+++ b/profile-ui/app/components/__tests__/ProfileAppFrame.invite.test.tsx@@ -2,6 +2,7 @@ import React from 'react'import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest'import '@testing-library/jest-dom/vitest'import { cleanup, render, screen, waitFor } from '@testing-library/react'+import type { AuthState } from '@components/AuthContext/types'import { ProfileAppFrame } from '@components/ProfileAppFrame'import Page from '../../page'@@ -11,19 +12,31 @@ const navigationState = vi.hoisted(() => ({replace: vi.fn(),}))-const authState = vi.hoisted(() => ({- isLoggedIn: true,- isLoading: false,- me: {- id: 'user-1',- email: '[email protected]',- name: 'Ada Admin',- role: 'admin',- profile: {- displayName: 'Ada Admin',+const authState = vi.hoisted(+ (): AuthState => ({+ isLoggedIn: true,+ isLoading: false,+ me: {+ id: 'user-1',+ email: '[email protected]',+ name: 'Ada Admin',+ role: 'admin',+ teamId: 'team-1',+ teamName: 'Core Team',+ profile: {+ displayName: 'Ada Admin',+ channels: {+ emails: [],+ telegramHandles: [],+ slackUserNames: [],+ telegramIds: [],+ discordUserNames: [],+ whatsappNumbers: [],+ },+ },},- },-}))+ })+)vi.mock('next/navigation', () => ({usePathname: () => navigationState.pathname,@@ -82,8 +95,18 @@ beforeEach(() => {email: '[email protected]',name: 'Ada Admin',role: 'admin',+ teamId: 'team-1',+ teamName: 'Core Team',profile: {displayName: 'Ada Admin',+ channels: {+ emails: [],+ telegramHandles: [],+ slackUserNames: [],+ telegramIds: [],+ discordUserNames: [],+ whatsappNumbers: [],+ },},}})diff --git a/profile-ui/package-lock.json b/profile-ui/package-lock.jsonindex 52a971e8c..ad789d543 100644--- a/profile-ui/package-lock.json+++ b/profile-ui/package-lock.json@@ -1,12 +1,12 @@{"name": "clerum-profile-ui",- "version": "0.1.111",+ "version": "0.1.112","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "clerum-profile-ui",- "version": "0.1.111",+ "version": "0.1.112","dependencies": {"next": "16.2.11","react": "^18.3.1",diff --git a/profile-ui/package.json b/profile-ui/package.jsonindex 13dab3402..268971420 100644--- a/profile-ui/package.json+++ b/profile-ui/package.json@@ -1,6 +1,6 @@{"name": "clerum-profile-ui",- "version": "0.1.111",+ "version": "0.1.112","private": true,"scripts": {"dev": "next dev",