Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
fix: preserve long DataDog names (#4922)
[._.]/ Adam Eivya404d9d80f89
diff --git a/server/lib/validation.js b/server/lib/validation.jsindex ec99a8dfe7..ca4c4e178e 100644--- a/server/lib/validation.js+++ b/server/lib/validation.js@@ -100,7 +100,9 @@ export const datadogInstanceRequestSchema = z.object({// outside the current preferred length/whitespace convention, and changing// the lookup key here would make those instances impossible to edit.id: z.string().min(1),- name: z.string().trim().min(1).max(120),+ // Existing installs may have stored names longer than the current preferred+ // display length, and updates should not make those records uneditable.+ name: z.string().trim().min(1),site: z.string().trim().min(1).max(253),apiKey: z.string().max(512).optional(),appKey: z.string().max(512).optional(),diff --git a/server/lib/validation.test.js b/server/lib/validation.test.jsindex 1c54be8e24..908bff9c74 100644--- a/server/lib/validation.test.js+++ b/server/lib/validation.test.js@@ -89,7 +89,7 @@ describe('validation.js', () => {}).success).toBe(true);expect(datadogInstanceRequestSchema.safeParse({id: ` ${'legacy-id-'.repeat(20)} `,- name: 'Legacy DataDog',+ name: ` ${'Legacy DataDog '.repeat(20)} `,site: 'api.datadoghq.com',}).data.id).toBe(` ${'legacy-id-'.repeat(20)} `);expect(datadogSearchErrorsRequestSchema.safeParse({