Skip to content

TE-13434: accept tags in smartui.json and surface tag warnings - #561

Open
shrinishLT wants to merge 5 commits into
LambdaTest:stagefrom
shrinishLT:TE-13434
Open

TE-13434: accept tags in smartui.json and surface tag warnings#561
shrinishLT wants to merge 5 commits into
LambdaTest:stagefrom
shrinishLT:TE-13434

Conversation

@shrinishLT

@shrinishLT shrinishLT commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

CLI half of TE-13434 — RFC: LambdatestIncPrivate/internal-docs#2952. Needs LambdatestIncPrivate/smartui-rendering-service#1263 and LambdatestIncPrivate/dotlapse-event-service#2912 deployed first; until then the field is ignored downstream.

Before: "tags": ["a"] in smartui.json[smartui] Error: must NOT have additional properties.

After: tags is accepted at the root of the config as an array of up to 50 unique, non-empty strings of at most 50 characters. Those are the SmartUI dashboard's own limits, so the schema refuses what the UI would refuse, with a message naming the rule, before any request is sent. Anything that still reaches DES invalid is refused there with a 400, which already fails the build. Nothing else about the schema changes.

Wiring:

  • ctx.config.tags is populated, so the existing config payload in createBuild carries it to the rendering service with no wire change.
  • upload-pdf appends tags as a comma-separated form field.

Base is stage, matching how features land here. Compiles with tsup.

🤖 Generated with Claude Code

https://claude.ai/code/session_01JFAN4x1TwwoT9mHnqqn6Eh

shrinishLT and others added 5 commits September 7, 2026 16:19
…uild creation

tags is an array of up to 10 unique non-empty strings of at most 50
characters, the dashboard's own limits, so the config fails loudly at the
edge instead of DES dropping names silently. It rides the existing config
payload to the rendering service, and upload-pdf sends it as a form
field. Warnings returned by build creation are printed.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JFAN4x1TwwoT9mHnqqn6Eh
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JFAN4x1TwwoT9mHnqqn6Eh
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JFAN4x1TwwoT9mHnqqn6Eh
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JFAN4x1TwwoT9mHnqqn6Eh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant