Skip to content

Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure

TypeScript

revert(control-ui): drop the Request URL warning, it was not true

Jose Ramirezb40473a84444
diff --git a/control-ui/app/communication-channels/new/page.tsx b/control-ui/app/communication-channels/new/page.tsx
index 67c21413a..1ee4cce6c 100644
--- a/control-ui/app/communication-channels/new/page.tsx
+++ b/control-ui/app/communication-channels/new/page.tsx
@@ -682,14 +682,6 @@ export default function CreateCommunicationChannelPage() {
The Request URLs point at <code>{normalizedChannelName}</code>, so this
channel has to be created under that name.
</span>
- <span className="cu-field__hint">
- Slack checks the URL the moment you save the manifest and will report{' '}
- <strong>&ldquo;Your URL didn&rsquo;t respond&rdquo;</strong>. That is
- expected here: the URL names a channel that does not exist yet, so there
- are no credentials to verify the request against. Finish creating this
- channel, then press <strong>Retry</strong> on Slack&rsquo;s Event
- Subscriptions page and it turns green.
- </span>
</div>
) : null}
<ChannelCredentialsPanel
diff --git a/control-ui/components/__tests__/CreateCommunicationChannelPage.test.tsx b/control-ui/components/__tests__/CreateCommunicationChannelPage.test.tsx
index b816949aa..531f91b6a 100644
--- a/control-ui/components/__tests__/CreateCommunicationChannelPage.test.tsx
+++ b/control-ui/components/__tests__/CreateCommunicationChannelPage.test.tsx
@@ -545,33 +545,6 @@ describe('CreateCommunicationChannelPage — Slack app manifest', () => {
expect(link.getAttribute('rel') ?? '').toMatch(/noreferrer|noopener/)
})
- it('warns that Slack will report the Request URL as unreachable until the channel exists', async () => {
- // Inherent to handing the manifest over first: the reader authorises a Slack
- // request by resolving the target channel's signing secret BEFORE answering
- // the url_verification challenge, so a URL naming a channel that does not
- // exist yet cannot verify. Slack shows "Your URL didn't respond" in orange the
- // moment the manifest is saved, which reads as a broken setup unless the page
- // says otherwise, and the fix is a Retry once the channel is created.
- vi.stubEnv('NEXT_PUBLIC_WORKFLOW_APPROVAL_READER_BASE_URL', 'https://webhook.example.com')
- render(
- <ToastProvider>
- <CreateCommunicationChannelPage />
- </ToastProvider>
- )
- await goToSlackProviderStep('support-bot')
- fireEvent.change(document.getElementById('slack-bot-handle')!, {
- target: { value: 'Evenfire' },
- })
- await screen.findByText(/display_information:/)
-
- const panel = document.querySelector('.cu-channel-provider-panel')
- const copy = panel?.textContent ?? ''
- // Either apostrophe: the copy uses a typographic one, and which glyph it is
- // has nothing to do with whether the warning is present.
- expect(copy).toMatch(/did(?:n['’]t| not) respond|unreachable/i)
- expect(copy).toMatch(/Retry/i)
- })
-
it('offers no manifest until the Slack App Name is set', async () => {
// The app name is the manifest's display_information.name. Emitting one with a
// placeholder would install an app under a name the operator never chose.
diff --git a/control-ui/package-lock.json b/control-ui/package-lock.json
index 44cac0312..619afc85c 100644
--- a/control-ui/package-lock.json
+++ b/control-ui/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "clerum-control-ui",
- "version": "0.1.410",
+ "version": "0.1.411",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "clerum-control-ui",
- "version": "0.1.410",
+ "version": "0.1.411",
"dependencies": {
"@clerum/llm-providers": "file:../packages/llm-providers",
"@clerum/workflow-recipe-capability-policy": "file:../packages/workflow-recipe-capability-policy",
diff --git a/control-ui/package.json b/control-ui/package.json
index 4acb5bc1a..f0af4d4bc 100644
--- a/control-ui/package.json
+++ b/control-ui/package.json
@@ -1,6 +1,6 @@
{
"name": "clerum-control-ui",
- "version": "0.1.410",
+ "version": "0.1.411",
"private": true,
"scripts": {
"dev": "NEXT_IGNORE_INCORRECT_LOCKFILE=1 next dev",