feat: map-based LLM provider config with pricing dialog #10793
test.yml
on: pull_request
Build backend 🏗️
2m 56s
Build frontend 🏗️
2m 53s
Install E2E dependencies ⬇️
35s
Frontend static check 🪲
2m 28s
E2E Static Check 🪲
41s
Ktlint 🪲
1m 14s
Matrix: BT 🔎
Matrix: E2E testing 🔎
Everything passed 🎉
3s
Annotations
15 errors and 1 warning
|
Frontend static check 🪲
Process completed with exit code 1.
|
|
Frontend static check 🪲:
webapp/src/ee/llm/OrganizationLLMProviders/LlmProviderPricingDialog.tsx#L283
Replace `⏎··························INPUT_TOKENS_NO_CONTEXT,⏎··························OUTPUT_TOKENS⏎························` with `INPUT_TOKENS_NO_CONTEXT,·OUTPUT_TOKENS`
|
|
Frontend static check 🪲:
webapp/src/ee/llm/OrganizationLLMProviders/LlmProviderPricingDialog.tsx#L276
Replace `⏎························INPUT_TOKENS_NO_CONTEXT·+·OUTPUT_TOKENS⏎······················` with `INPUT_TOKENS_NO_CONTEXT·+·OUTPUT_TOKENS`
|
|
Frontend static check 🪲:
webapp/src/ee/llm/OrganizationLLMProviders/LlmProviderPricingDialog.tsx#L153
Replace `{formatCredits(outputPrice!)}` with `⏎······················{formatCredits(outputPrice!)}⏎····················`
|
|
Frontend static check 🪲:
webapp/src/ee/llm/OrganizationLLMProviders/LlmProviderPricingDialog.tsx#L144
Replace `{formatCredits(inputPrice!)}` with `⏎······················{formatCredits(inputPrice!)}⏎····················`
|
|
Frontend static check 🪲:
webapp/src/ee/llm/OrganizationLLMProviders/LlmProviderPricingDialog.tsx#L16
Replace `⏎··useMoneyFormatter,⏎··useNumberFormatter,⏎` with `·useMoneyFormatter,·useNumberFormatter·`
|
|
io.tolgee.ee.slack.SlackWithBatchOperationTest ► sends only 1 message per whole operation (when translations were updated before)():
backend/misc/src/main/kotlin/io/tolgee/fixtures/waitFor.kt#L13
Failed test found in:
ee/backend/tests/build/test-results/test/TEST-io.tolgee.ee.slack.SlackWithBatchOperationTest.xml
Error:
java.lang.AssertionError:
|
|
Failed Test: io.tolgee.ee.slack.SlackWithBatchOperationTest: sends only 1 message per whole operation (when translations were updated before)()
io.tolgee.ee.slack.SlackWithBatchOperationTest: sends only 1 message per whole operation (when translations were updated before)(): java.lang.AssertionError:
Expected size: 3 but was: 5 in:
[ChatPostMessageRequest(token=null, username=null, threadTs=null, channel=testChannel, text=null, parse=null, linkNames=false, metadata=null, metadataAsString=null, blocks=[SectionBlock(type=section, text=MarkdownTextObject(type=mrkdwn, text= *<@slackUserId>* has changed a Czech translation, verbatim=null), blockId=null, fields=null, accessory=null), SectionBlock(type=section, text=null, blockId=null, fields=[MarkdownTextObject(type=mrkdwn, text=*Key*
key1, verbatim=null)], accessory=null)], blocksAsString=null, attachments=[Attachment(msgSubtype=null, fallback=Updated, callbackId=null, color=#FFCE00, hideColor=null, pretext=null, serviceUrl=null, serviceName=null, serviceIcon=null, authorId=null, authorName=null, authorLink=null, authorIcon=null, fromUrl=null, originalUrl=null, authorSubname=null, channelId=null, channelName=null, channelTeam=null, id=null, appId=null, botId=null, indent=null, msgUnfurl=null, replyUnfurl=null, threadRootUnfurl=null, appUnfurl=null, appUnfurlUrl=null, title=null, titleLink=null, text=null, fields=null, imageUrl=null, imageWidth=null, imageHeight=null, imageBytes=null, thumbUrl=null, thumbWidth=null, thumbHeight=null, videoUrl=null, videoHtml=null, videoHtmlWidth=null, videoHtmlHeight=null, footer=null, footerIcon=null, ts=null, mrkdwnIn=null, actions=null, blocks=[SectionBlock(type=section, text=MarkdownTextObject(type=mrkdwn, text=null *English* (base), verbatim=null), blockId=null, fields=null, accessory=null), SectionBlock(type=section, text=MarkdownTextObject(type=mrkdwn, text=Updated, verbatim=null), blockId=null, fields=null, accessory=null)], messageBlocks=null, preview=null, files=null, filename=null, size=null, mimetype=null, url=null, metadata=null, fileAttachment=null), Attachment(msgSubtype=null, fallback=Translated with Google, callbackId=null, color=#FFCE00, hideColor=null, pretext=null, serviceUrl=null, serviceName=null, serviceIcon=null, authorId=null, authorName=null, authorLink=null, authorIcon=null, fromUrl=null, originalUrl=null, authorSubname=null, channelId=null, channelName=null, channelTeam=null, id=null, appId=null, botId=null, indent=null, msgUnfurl=null, replyUnfurl=null, threadRootUnfurl=null, appUnfurl=null, appUnfurlUrl=null, title=null, titleLink=null, text=null, fields=null, imageUrl=null, imageWidth=null, imageHeight=null, imageBytes=null, thumbUrl=null, thumbWidth=null, thumbHeight=null, videoUrl=null, videoHtml=null, videoHtmlWidth=null, videoHtmlHeight=null, footer=null, footerIcon=null, ts=null, mrkdwnIn=null, actions=null, blocks=[SectionBlock(type=section, text=MarkdownTextObject(type=mrkdwn, text=null *Czech* , verbatim=null), blockId=null, fields=null, accessory=null), SectionBlock(type=section, text=MarkdownTextObject(type=mrkdwn, text=Translated with Google, verbatim=null), blockId=null, fields=null, accessory=null), ContextBlock(type=context, elements=[MarkdownTextObject(type=mrkdwn, text=*<@slackUserId>* has changed the translation at <!date^1772024119^{time}|12:55>, verbatim=null)], blockId=null)], messageBlocks=null, preview=null, files=null, filename=null, size=null, mimetype=null, url=null, metadata=null, fileAttachment=null), Attachment(msgSubtype=null, fallback=null, callbackId=null, color=#00000000, hideColor=null, pretext=null, serviceUrl=null, serviceName=null, serviceIcon=null, authorId=null, authorName=null, authorLink=null, authorIcon=null, fromUrl=null, originalUrl=null, authorSubname=null, channelId=null, channelName=null, channelTeam=null, id=null, appId=null, botId=null, indent=null, msgUnfurl=null, replyUnfurl=null, threadRootUnfurl=null, appUnfurl=null, appUnfurlUrl=null, title=null, titleLink=null, text=null, fields=null, imageUrl=null, imageWidth=null, imageHeight=null, imageBytes=null, thumbUrl=null, thumbWidth=null, thumbHeight=null, videoUrl=null, videoHtml=null, videoHtmlWidth=null, videoHtmlHeight=null, footer=null, footerIcon=nul
|
|
BT 🔎 (ee-test:test)
Final attempt failed. Child_process exited with error code 1
|
|
io.tolgee.service.ActivityVIewByRevisionsProviderTest ► it includes default branch modified entities when branchId is null():
backend/app/src/test/kotlin/io/tolgee/service/ActivityVIewByRevisionsProviderTest.kt#L85
Failed test found in:
backend/app/build/test-results/runStandardTests/TEST-io.tolgee.service.ActivityVIewByRevisionsProviderTest.xml
Error:
java.lang.NullPointerException
|
|
io.tolgee.websocket.WebsocketAuthenticationTest ► unauthenticated with invalid PAK():
backend/misc/src/main/kotlin/io/tolgee/fixtures/waitFor.kt#L20
Failed test found in:
backend/app/build/test-results/runStandardTests/TEST-io.tolgee.websocket.WebsocketAuthenticationTest.xml
Error:
io.tolgee.fixtures.WaitNotSatisfiedException
|
|
Failed Test: io.tolgee.service.ActivityVIewByRevisionsProviderTest: it includes default branch modified entities when branchId is null()
io.tolgee.service.ActivityVIewByRevisionsProviderTest: it includes default branch modified entities when branchId is null(): java.lang.NullPointerException - java.lang.NullPointerException
at io.tolgee.service.ActivityVIewByRevisionsProviderTest.it includes default branch modified entities when branchId is null(ActivityVIewByRevisionsProviderTest.kt:85)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
|
|
Failed Test: io.tolgee.websocket.WebsocketAuthenticationTest: unauthenticated with invalid PAK()
io.tolgee.websocket.WebsocketAuthenticationTest: unauthenticated with invalid PAK(): io.tolgee.fixtures.WaitNotSatisfiedException - io.tolgee.fixtures.WaitNotSatisfiedException
at app//io.tolgee.fixtures.WaitForKt.waitFor(waitFor.kt:20)
at app//io.tolgee.fixtures.WaitForKt.waitFor$default(waitFor.kt:5)
at app//io.tolgee.websocket.WebsocketTestHelper.waitForAuthenticationStatus(WebsocketTestHelper.kt:195)
at app//io.tolgee.websocket.WebsocketTestHelper.waitForUnauthenticated(WebsocketTestHelper.kt:190)
at app//io.tolgee.websocket.WebsocketAuthenticationTest.testItIsUnauthenticatedWithAuth(WebsocketAuthenticationTest.kt:184)
at app//io.tolgee.websocket.WebsocketAuthenticationTest.unauthenticated with invalid PAK(WebsocketAuthenticationTest.kt:82)
at java.base@21.0.10/java.lang.reflect.Method.invoke(Method.java:580)
at java.base@21.0.10/java.util.ArrayList.forEach(ArrayList.java:1596)
at java.base@21.0.10/java.util.ArrayList.forEach(ArrayList.java:1596)
|
|
BT 🔎 (server-app:runStandardTests)
Final attempt failed. Child_process exited with error code 1
|
|
Everything passed 🎉
Process completed with exit code 1.
|
|
BT 🔎 (server-app:runStandardTests)
Test report summary exceeded limit of 65535 bytes and will be trimmed
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
backend
Expired
|
252 MB |
sha256:23cef01b9911e5aa6a88518515a44ba5375ef4966481bd05d8062da4105c46cb
|
|
|
backend_test_reports_data_test
Expired
|
154 KB |
sha256:27bf45d0e48ecd7870e4e3fd6f933cec11541e8b33019b4a32914d2e8a96f1bc
|
|
|
backend_test_reports_ee-test_test
Expired
|
2.98 MB |
sha256:c5154479ef9a5f45c4bd722e9bd25ddc6fbbeeee3ea167e2345dc0fbcc9d3dde
|
|
|
backend_test_reports_ktlint_test
Expired
|
8.01 KB |
sha256:8b93013d095fe49842c5c9a2adff6d60d4b19340bd9d3a679ccdc0453cbf2c35
|
|
|
backend_test_reports_security_test
Expired
|
27.3 KB |
sha256:1d1a3eff2ee4c7352b474c206770d27b30b69b97153f728a4562e419dceeb80d
|
|
|
backend_test_reports_server-app_runContextRecreatingTests
Expired
|
272 KB |
sha256:f45db99aeb47603184511254d095acfc78da69099914491eb124160978c73b6d
|
|
|
backend_test_reports_server-app_runStandardTests
Expired
|
816 KB |
sha256:8e1c6bc8352baf3fd1b63448d299ec00a63f26e1ea2ea272ef9e57a57e7029ad
|
|
|
backend_test_reports_server-app_runWebsocketTests
Expired
|
112 KB |
sha256:f5e7ad49d876773c3acb0913122cc7831a7a598d47c4224edc6028eba93d566c
|
|
|
backend_test_reports_server-app_runWithoutEeTests
Expired
|
72.9 KB |
sha256:f930dec0e82e7ca168fac4405ec0a6ee5b99a335e75d8164ad39c56b9d67d263
|
|
|
e2e_deps
Expired
|
181 MB |
sha256:e0964882310be9fd03e31ad28681771fa10cf20cae80ff026654167096cb7372
|
|
|
webapp
Expired
|
2.73 MB |
sha256:8769261523e45fc85cb86ee5c103309ea9b75aed9f9d35d00f3bcbf7f9ce6c38
|
|