Repository navigation
sync(upstream): 9 commits from upstream - #63
Conversation
…e for the Zhipu GLM channel by adding its endpoint URL and passing the request through instead of returning not-implemented Upstream-commit: cae3676
…ly issue and PR templates, and remove the PR Check CI workflow Upstream-commit: e468b73
…iders (e.g. LinuxDo) in the user-binding dialog by aligning the admin binding provider types, backed by new tests. Upstream-commit: 692e8d6
…ays evaluating to true, causing multipliers to apply all day instead of only within the configured time windows; adds validation, tests, and i18n strings for the corrected behavior. Upstream-commit: ac381ac
… submodule's go.mod to the build context so `go mod download` can resolve the module graph (relaykit is referenced via a replace directive). Upstream-commit: 7037ac1
…, gemini, hailuo, jimeng, kling, sora, suno, vertex, vidu) with a sandboxed JavaScript plugin system: a sobek-based JS engine and registry, a generic jsplugin relay adaptor, a plugin protocol/host API (v1 docs + schema), admin plugin management and marketplace UI, plus supporting channel constraints, task artifacts, and usage-based billing expressions. Upstream-commit: eb48396
…lay request parameter validation fails, instead of a generic error without an explicit status code Upstream-commit: 0f2a207
…heck so setup completion is re-validated against the current server instance on every page reload, while still skipping redundant checks within the same page session Upstream-commit: 98d50d5
…n: server generates/persists a keypair, exposes the public key via a new API route, the web client encrypts passwords before submission, and the login controller decrypts them server-side. Upstream-commit: b80d633
|
Important Review skippedIgnore keyword(s) in the title. ⛔ Ignored keywords (1)
Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Team Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Reconciles the fork-specific code the sync's automated conflict resolution dropped, restoring a clean build and passing test suite. - router: stop re-registering /v1/videos* in SetVideoRouter so the openai_video host protocol owns them (was a gin startup duplicate-route panic); keep TokenOrUserAuth on the content route to preserve dashboard session auth; update plugin route test for the new task-plugin admin routes - controller: restore upstream task-media proxy helpers (task_media_proxy.go) and the fork's Gemini/Vertex video proxy (video_proxy_gemini.go); upgrade writeVideoDataURL to upstream behavior (HEAD support, oversized-payload rejection, streaming, security headers) expected by the synced tests - constant: restore ChannelTypeTaskPlugin=62 (fork numbering shifted by the added AstraFlow=59) and TaskActionGenerate/TextGenerate; update the channel bind tests' hardcoded 61 to 62 - relay: migrate doubao/astraflow adaptors to ParseResponse and keep the fork's Go adaptors alongside the adopted JS plugin system - middleware: restore Kling/Jimeng request-convert middleware used by the fork's video router - web: narrow fetchImpl param type so test stubs satisfy the newer DOM lib Verified: go build ./..., go test ./... (45 packages, 0 failures), go vet, relaykit builds with GOWORK=off, web typecheck and rsbuild build.
The backend job's `make test` runs `go test -race -count=1` and was failing in two places: 1. Data race on the process-global Redis state. Quota/cache functions (DecreaseUserQuota, IncreaseUserQuota, token quota, ...) fire cache updates through gopool.Go workers that read common.RedisEnabled / common.RDB; tests toggle those globals and could race an in-flight worker read. Add a WaitGroup flush barrier in model: the one-shot quota/cache spawn sites now register through goQuotaCacheUpdate, and tests call WaitForQuotaCacheWorkers() before mutating the globals (model package, plus the new task-plugin e2e / task-generic controller tests). Perpetual background loops (InitBatchUpdater, notify-limit cleanup) are not registered, so the flush cannot hang. 2. Flaky TestTaskAdaptorReDecodesFinalCandidateAndRejectsModelDrift. The JS decoder used a module-level `let calls` counter, which is per-sobek-runtime and lost when the engine's runtime pool is recycled between calls, so the re-decode could return the pinned model instead of a drifted one. The decoder now derives the model from the request body and the test injects drift by mutating the body between the pinning decode and the re-decode, making the rejection deterministic.
|
Tick the box to add this pull request to the merge queue (same as
|
Fixes Dependabot alert #63 (GHSA-cg2g-xh64-v4q7, critical): DOMPurify SAFE_FOR_TEMPLATES bypass via split template expressions in attached shadow root content. Affected >=3.4.4, <=3.4.16. Bump both the direct dependency and the overrides pin so mermaid's transitive dompurify is upgraded as well. Co-authored-by: Wei Liu <[email protected]> Co-authored-by: Claude Code <[email protected]>
Upstream Sync: 9 Commits
Upstream Commits
cae3676ec6f4e468b73915e5692e8d6ee6a9ac381acf4bf47037ac15bd8ago mod downloadcan resolve the module graph (relaykit is referenced via a replace directive).eb48396d5fe90f2a2075ab0798d50d5383a3b80d633cf586Affected Surfaces
Adaptor.ConvertOpenAIResponsesRequestAdaptor.GetRequestURLMATCH_EQMATCH_GTEMATCH_RANGENew HTTP routes: plugin router, task-plugin protocol router, task plugin management endpointsNew dependency: github.com/grafana/sobek (MIT)New setting/config keys in setting/task_plugin.go and constant/env.goRelay HTTP error status code for invalid request parametersRemoved packages: relay/channel/task/{ali,doubao,gemini,hailuo,jimeng,kling,sora,suno,vertex,vidu}RequestConditionRequestRuleGroupTask artifact store/access service and typesTimeConditionTimeFuncUserBindingDialogZhipu GLM /api/v1/responses endpoint routingbillingexpr usage-based pricing surface (compile/types)buildRequestRuleExprcommon.ErrPasswordEncryptionInvalidcommon.GeneratePasswordEncryptionPrivateKeycommon.LoadPasswordEncryptionPrivateKeydocs/plugin-api/v1 plugin host API contract (v1.md, v1.d.ts, v1.schema.json)dto.PluginProtocol* / dto.TaskPlugin* (new wire types)localStorage key 'setup_status_checked' (removed)login request wire format (encrypted password field)model.ChannelConstraint (new DB entity)model.TaskPlugin (new DB entity)new HTTP endpoint for password-encryption public key (router/api-router.go)persisted password-encryption key in model layer (model/password_crypto.go)pkg/jsplugin.Engine (new exported JS sandbox engine)pkg/jsplugin.Registry (new exported plugin registry)relay/channel/task/jsplugin.Adaptor (new generic task adaptor)tryParseRequestRuleExprTransformations Applied
relay/channel/zhipu_4v/adaptor.go.agents/github/ISSUE.md.agents/github/PR.md.github/ISSUE_TEMPLATE/bug_report.yml.github/ISSUE_TEMPLATE/bug_report_en.yml.github/ISSUE_TEMPLATE/feature_request.yml.github/ISSUE_TEMPLATE/feature_request_en.yml.github/PULL_REQUEST_TEMPLATE/en.md.github/workflows/pr-check.ymlAGENTS.md.github/PULL_REQUEST_TEMPLATE.md.agents/github/PR.mdand.github/PULL_REQUEST_TEMPLATE/en.mdwhich are added by other files in the same upstream commit and are not part of this file's resolution.web/src/features/users/components/dialogs/__tests__/user-binding-dialog.test.tsxweb/src/features/users/components/dialogs/user-binding-dialog.tsxweb/src/features/pricing/lib/__tests__/time-rule-expr.test.tsweb/src/features/pricing/lib/billing-expr.tsweb/src/features/system-settings/models/tiered-pricing-editor.tsxweb/src/i18n/locales/en.jsonweb/src/i18n/locales/zh-TW.jsonweb/src/i18n/locales/zh.jsonDockerfile.devCLAUDE.mdTHIRD-PARTY-LICENSES.mdcommon/api_type.gocommon/api_type_task_plugin_test.gocommon/init.gocommon/trusted_proxies.goconstant/channel_test.goconstant/context_key.goconstant/env.goconstant/task.goconstant/task_test.gocontroller/billing_option_test.gocontroller/channel-billing.gocontroller/channel-test.gocontroller/channel.gocontroller/channel_pin_retry_test.gocontroller/channel_task_plugin_bind_test.gocontroller/channel_task_plugin_validation_test.gocontroller/channel_upstream_update.gocontroller/log.gocontroller/model.gocontroller/plugin_endpoint_test.gocontroller/plugin_native_e2e_test.gocontroller/plugin_protocol.gocontroller/plugin_protocol_limiter.gocontroller/plugin_protocol_limiter_test.gocontroller/plugin_protocol_sdk_test.gocontroller/plugin_protocol_test.gocontroller/relay.gocontroller/relay_task_plugin_test.gocontroller/task.gocontroller/task_generic_test.gocontroller/task_log_view_test.gocontroller/task_plugin.gocontroller/task_plugin_debug.gocontroller/task_plugin_debug_test.gocontroller/task_plugin_test.gocontroller/video_proxy_gemini.godocs/plugin-api/README.mddocs/plugin-api/v1.d.tsdocs/plugin-api/v1.mddocs/plugin-api/v1.schema.jsondto/channel_constraints.godto/channel_constraints_test.godto/plugin_protocol.godto/task.godto/task_plugin.goe2e/doc_parse_test.gologger/logger.gomain.gomiddleware/auth.gomiddleware/body_cleanup.gomiddleware/distributor.gomiddleware/distributor_test.gomiddleware/jimeng_adapter.gomiddleware/kling_adapter.gomiddleware/logger.gomiddleware/task_artifact_access.gomiddleware/task_artifact_access_test.gomiddleware/task_plugin.gomiddleware/task_plugin_origin_task_test.gomiddleware/task_plugin_test.gomiddleware/trusted_proxies.gomiddleware/utils.gomodel/ability.gomodel/channel.gomodel/channel_cache.gomodel/channel_constraint.gomodel/channel_constraint_test.gomodel/log.gomodel/log_format_test.gomodel/main.gomodel/option_task_plugin_test.gomodel/pricing.gomodel/pricing_usage_schema_test.gomodel/task.gomodel/task_cas_test.gomodel/task_openai_video_test.gomodel/task_plugin.gomodel/task_plugin_channel_select_test.gomodel/task_plugin_test.gopkg/billingexpr/compile.gopkg/billingexpr/compile_usage_test.gopkg/billingexpr/expr.mdpkg/billingexpr/run.gopkg/billingexpr/settle.gopkg/billingexpr/task_usage_test.gopkg/billingexpr/types.gopkg/jsplugin/cli.gopkg/jsplugin/cli_test.gopkg/jsplugin/engine.gopkg/jsplugin/engine_test.gopkg/jsplugin/fixture.gopkg/jsplugin/fixture_test.gopkg/jsplugin/protocol_supports_test.gopkg/jsplugin/registry.gopkg/jsplugin/registry_disabled_factory_test.gopkg/jsplugin/registry_master_enabled_test.gopkg/jsplugin/registry_test.gopkg/jsplugin/request.gopkg/jsplugin/routing.gopkg/jsplugin/routing_test.gopkg/jsplugin/utils.goplugins/.oxfmtrc.jsonplugins/.oxlintrc.jsonplugins/alibaba_responses_test.goplugins/builtin_plugins_test.goplugins/doubao_responses_test.goplugins/embed.goplugins/google_responses_test.goplugins/hailuo_responses_test.goplugins/jimeng_responses_test.goplugins/kling_responses_test.goplugins/sora_responses_test.goplugins/sunoapi_responses_test.goplugins/tasks/alibaba/plugin.jsplugins/tasks/doubao/plugin.jsplugins/tasks/google/plugin.jsplugins/tasks/hailuo/plugin.jsplugins/tasks/jimeng/plugin.jsplugins/tasks/kling/plugin.jsplugins/tasks/sora/plugin.jsplugins/tasks/sunoapi/plugin.jsplugins/tasks/vertex-ai/plugin.jsplugins/tasks/vidu/plugin.jsplugins/vertex_ai_responses_test.goplugins/video_responses_test_helpers_test.goplugins/vidu_responses_test.gorelay/channel/api_request.gorelay/channel/minimax/relay-minimax.gorelay/channel/replicate/adaptor.gorelay/channel/task/ali/adaptor.gorelay/channel/task/ali/adaptor_test.gorelay/channel/task/ali/constants.gorelay/channel/task/doubao/constants.gorelay/channel/task/gemini/adaptor.gorelay/channel/task/gemini/billing.gorelay/channel/task/gemini/dto.gorelay/channel/task/gemini/image.gorelay/channel/task/hailuo/adaptor.gorelay/channel/task/hailuo/constants.gorelay/channel/task/hailuo/models.gorelay/channel/task/jimeng/adaptor.gorelay/channel/task/jsplugin/adaptor.gorelay/channel/task/jsplugin/adaptor_test.gorelay/channel/task/jsplugin/auth.gorelay/channel/task/jsplugin/auth_test.gorelay/channel/task/kling/adaptor.gorelay/channel/task/sora/adaptor.gorelay/channel/task/sora/adaptor_test.gorelay/channel/task/sora/constants.gorelay/channel/task/suno/adaptor.gorelay/channel/task/suno/models.gorelay/channel/task/vertex/adaptor.gorelay/channel/task/vidu/adaptor.gorelay/channel/volcengine/adaptor.gorelay/channel/zhipu_4v/adaptor.gorelay/common/relay_info.gorelay/common/relay_utils.gorelay/common/relay_utils_test.gorelay/constant/relay_mode.gorelay/plugin_protocol.gorelay/plugin_protocol_test.gorelay/relay_adaptor_jsplugin_test.gorelay/relay_task.gorelay/relay_task_test.gorelay/task_platform_error_test.gorelay/task_platform_test.gorelaykit/dto/channel_settings.gorouter/api-router.gorouter/plugin-router.gorouter/plugin_router_test.gorouter/relay-router.gorouter/retired_frontend_routes_test.gorouter/task-plugin-protocol-router.gorouter/task-router.gorouter/task_plugin_options_router_test.gorouter/task_plugin_protocol_router_test.gorouter/task_router_test.gorouter/video_router_test.gorouter/web-router.goservice/authz/authz_test.goservice/authz/resources_task_plugin.goservice/channel_select.goservice/channel_select_test.goservice/codex_channel_models.goservice/task_artifact_access.goservice/task_artifact_access_test.goservice/task_artifact_store.goservice/task_artifact_store_test.goservice/task_billing.goservice/task_billing_test.goservice/task_plugin_audit.goservice/task_plugin_view.goservice/task_plugin_view_test.goservice/task_polling.goservice/task_polling_test.gosetting/billing_setting/tiered_billing.gosetting/billing_setting/tiered_billing_test.gosetting/system_setting/system_setting_old.gosetting/system_setting/task_artifact.gosetting/system_setting/task_artifact_store.gosetting/system_setting/task_artifact_store_test.gosetting/system_setting/task_artifact_test.gosetting/task_plugin.gosetting/task_plugin_test.gosetting/task_pricing_setting/config.gosetting/task_pricing_setting/config_test.gotypes/task_artifact.goweb/.gitignoreweb/bun.lockweb/package.jsonweb/scripts/sync-i18n.mjsweb/src/components/ai-elements/code-block.tsxweb/src/features/channels/api.tsweb/src/features/channels/components/drawers/channel-mutate-drawer.tsxweb/src/features/channels/lib/__tests__/channel-type-options.test.tsweb/src/features/channels/lib/channel-form.tsweb/src/features/pricing/__tests__/breakdown-tier-match.test.tsweb/src/features/pricing/__tests__/dynamic-price.test.tsweb/src/features/pricing/__tests__/task-expr.test.tsweb/src/features/pricing/__tests__/task-matrix-display.test.tsweb/src/features/pricing/__tests__/task-matrix.test.tsweb/src/features/pricing/components/dynamic-pricing-breakdown.tsxweb/src/features/pricing/components/model-billing-mode-badge.tsxweb/src/features/pricing/components/model-card.tsxweb/src/features/pricing/components/model-details.tsxweb/src/features/pricing/components/pricing-columns.tsxweb/src/features/pricing/components/pricing-sidebar.tsxweb/src/features/pricing/constants.tsweb/src/features/pricing/hooks/use-pricing-data.tsweb/src/features/pricing/lib/billing-expr.tsweb/src/features/pricing/lib/billing-mode.tsweb/src/features/pricing/lib/breakdown-tier-match.tsweb/src/features/pricing/lib/dynamic-price.tsweb/src/features/pricing/lib/filters.tsweb/src/features/pricing/lib/task-expr.tsweb/src/features/pricing/lib/task-matrix-display.tsweb/src/features/pricing/types.tsweb/src/features/system-settings/__tests__/task-public-address.test.tsweb/src/features/system-settings/general/system-info-section.tsxweb/src/features/system-settings/general/task-public-address.tsweb/src/features/system-settings/models/model-pricing-sheet.tsxweb/src/features/system-settings/models/model-ratio-table-columns.tsxweb/src/features/system-settings/models/model-ratio-visual-editor.tsxweb/src/features/system-settings/models/task-pricing-matrix.tsxweb/src/features/system-settings/models/task-usage-pricing-editor.tsxweb/src/features/system-settings/site/section-registry.tsxweb/src/features/task-plugins/__tests__/enabled-option.test.tsweb/src/features/task-plugins/__tests__/marketplace-panel.test.tsxweb/src/features/task-plugins/__tests__/marketplace.test.tsweb/src/features/task-plugins/__tests__/plugin-card.test.tsxweb/src/features/task-plugins/__tests__/plugin-detail-sheet.test.tsxweb/src/features/task-plugins/__tests__/plugin-icon.test.tsweb/src/features/task-plugins/__tests__/plugin-url.test.tsweb/src/features/task-plugins/__tests__/upload-dialog.test.tsxweb/src/features/task-plugins/__tests__/usage-schema-table.test.tsxweb/src/features/task-plugins/api.tsweb/src/features/task-plugins/components/javascript-viewer.tsxweb/src/features/task-plugins/components/marketplace-capabilities.tsxweb/src/features/task-plugins/components/marketplace-install-dialog.tsxweb/src/features/task-plugins/components/marketplace-panel.tsxweb/src/features/task-plugins/components/marketplace-plugin-card.tsxweb/src/features/task-plugins/components/marketplace-sources-dialog.tsxweb/src/features/task-plugins/components/plugin-card.tsxweb/src/features/task-plugins/components/plugin-detail-sheet.tsxweb/src/features/task-plugins/components/plugin-icon.tsxweb/src/features/task-plugins/components/plugin-metadata-card.tsxweb/src/features/task-plugins/components/plugin-sandbox.tsxweb/src/features/task-plugins/components/plugin-source-picker.tsxweb/src/features/task-plugins/components/plugin-url-import-field.tsxweb/src/features/task-plugins/components/plugins-table.tsxweb/src/features/task-plugins/components/source-diff.tsxweb/src/features/task-plugins/components/upload-dialog.tsxweb/src/features/task-plugins/components/usage-schema-table.tsxweb/src/features/task-plugins/index.tsxweb/src/features/task-plugins/lib/host-protocols.tsweb/src/features/task-plugins/lib/marketplace.tsweb/src/features/task-plugins/lib/plugin-icon.tsweb/src/features/task-plugins/lib/plugin-url.tsweb/src/features/task-plugins/types.tsweb/src/features/usage-logs/__tests__/access.test.tsweb/src/features/usage-logs/__tests__/artifacts.test.tsweb/src/features/usage-logs/__tests__/mobile-layout.test.tsweb/src/features/usage-logs/__tests__/task-details.test.tsweb/src/features/usage-logs/api.tsweb/src/features/usage-logs/components/__tests__/usage-facts.test.tsxweb/src/features/usage-logs/components/columns/common-logs-columns.tsxweb/src/features/usage-logs/components/columns/task-logs-columns.tsxweb/src/features/usage-logs/components/dialogs/details-dialog.tsxweb/src/features/usage-logs/components/dialogs/task-details-dialog.tsxweb/src/features/usage-logs/components/plugin-author-link.tsxweb/src/features/usage-logs/components/task-artifacts.tsxweb/src/features/usage-logs/components/timing-metrics-cell.tsxweb/src/features/usage-logs/components/usage-logs-mobile-card.tsxweb/src/features/usage-logs/components/usage-logs-provider.tsxweb/src/features/usage-logs/components/usage-logs-table.tsxweb/src/features/usage-logs/constants.tsweb/src/features/usage-logs/lib/columns.tsweb/src/features/usage-logs/lib/query-params.tsweb/src/features/usage-logs/lib/task-artifacts.tsweb/src/features/usage-logs/lib/task-details.tsweb/src/features/usage-logs/lib/task-mobile-layout.tsweb/src/features/usage-logs/lib/utils.tsweb/src/features/usage-logs/types.tsweb/src/i18n/static-keys.tsweb/src/lib/__tests__/localized-text.test.tsweb/src/lib/admin-permissions.tsweb/src/lib/localized-text.tsweb/src/routeTree.gen.tsweb/src/routes/_authenticated/task-plugins/index.tsxmodel/option.gorelay/channel/adapter.gorelay/channel/api_request_test.gorouter/main.goweb/rsbuild.config.tsweb/src/features/channels/constants.tsweb/src/features/system-settings/site/index.tsxweb/src/features/system-settings/types.tsTaskPublicAddress: stringtoSiteSettingsimmediately afterServerAddress. The hunk failed only because the context lines after the insertion point differ downstream (upstream hasHeaderNavModulesright after the legal keys; the fork hasgeneral_setting.docs_link/admin_docs_linkbeforeHeaderNavModules). The insertion point itself is unchanged, so the same field is added at the same position. Anchored onHomePageContent/ServerAddress/legal.user_agreementbecauseServerAddress: stringalone also appears inAuthSettings. (applied 1 targeted edits)web/src/hooks/use-sidebar-data.tsweb/src/i18n/locales/_reports/_sync-report.jsonbun run i18n:sync) and upstream removed it, the equivalent resolution is to empty the file's contents — the edit API cannot express a true file deletion, so this leaves a zero-byte file which the caller should treat as a deletion candidate. The fork-specific locale set (no fr/ru/ja/vi) is preserved implicitly since nothing is restored. (applied 1 targeted edits)controller/relay.goweb/src/routes/__root.tsxcommon/password_crypto.gocontroller/user.gomain.gomodel/main.gomodel/password_crypto.gorouter/api-router.goweb/src/features/auth/api.tsweb/src/features/auth/lib/password-encryption.tsweb/bun.lockweb/package.json
<title>504 Gateway Time-out</title>web/src/i18n/locales/fr.json(): Resolve call failed: Rate limited after 3 retries: Error code: 429 - {'error': {'code': 'rate_limit_exceeded', 'message': 'Concurrency limit exceeded for user, please retry later', 'type': 'rate_limit_error'}}web/src/i18n/locales/ja.json(): resolve returned neither edits nor contentweb/src/i18n/locales/ru.json(): resolve returned neither edits nor contentweb/src/i18n/locales/vi.json(): resolve returned neither edits nor contentconstant/channel.go(): Resolve call failed: Anthropic API error after 3 retries:504 Gateway Time-out
- **`controller/option.go`** (): Resolve call failed: Anthropic API error after 3 retries: <title>504 Gateway Time-out</title>504 Gateway Time-out
- **`controller/video_proxy.go`** (func VideoProxy (entire function, lines ~30-190)): A human must decide whether to adopt the upstream JS task-plugin system at all. If yes, this file must be rewritten together with the rest of commit eb48396 (new packages pkg/jsplugin, relay/channel/task/jsplugin, model.TaskPlugin, the task-artifact helpers such as proxyTaskMedia/getTaskForArtifactRequest/projectTaskArtifacts/initTaskArtifactAdaptor, and removal of the hard-coded task adaptors). If no (recommended per conventions, since cuberouter keeps its per-channel Gemini/Vertex/Sora proxy logic, GetByUpstreamTaskId fallback, and SSRF handling), skip the VideoProxy rewrite and keep only the applied Cache-Control header tweak. The upstream removal of the 'constant' import and per-channel auth (x-goog-api-key, Authorization Bearer) is incompatible with the downstream channel-type switch. - **`go.mod`** (): Resolve call failed: Rate limited after 3 retries: Error code: 429 - {'error': {'code': 'rate_limit_exceeded', 'message': 'Concurrency limit exceeded for user, please retry later', 'type': 'rate_limit_error'}} - **`go.sum`** (): Resolve call failed: Rate limited after 3 retries: Error code: 429 - {'error': {'code': 'rate_limit_exceeded', 'message': 'Concurrency limit exceeded for user, please retry later', 'type': 'rate_limit_error'}} - **`relay/channel/task/doubao/adaptor.go`** (): Resolve call failed: Anthropic API error after 3 retries: <title>504 Gateway Time-out</title>504 Gateway Time-out
- **`relay/relay_adaptor.go`** (): Resolve call failed: Anthropic API error after 3 retries: <title>504 Gateway Time-out</title>504 Gateway Time-out
- **`router/video-router.go`** (): Resolve call failed: Anthropic API error after 3 retries: <title>504 Gateway Time-out</title>504 Gateway Time-out
- **`web/src/i18n/locales/en.json`** (): LLM edits did not apply: edit 1: 'old' block not found in file: ' "{\\"original-model\\": \\"replacement-model\\"}": "{\\"original-model\\": \\"repla' - **`web/src/i18n/locales/fr.json`** (): resolve returned neither edits nor content - **`web/src/i18n/locales/ja.json`** (): resolve returned neither edits nor content - **`web/src/i18n/locales/ru.json`** (): resolve returned neither edits nor content - **`web/src/i18n/locales/vi.json`** (): resolve returned neither edits nor content - **`web/src/i18n/locales/zh-TW.json`** (): Resolve call failed: Anthropic API error after 3 retries: <title>504 Gateway Time-out</title>504 Gateway Time-out
- **`web/src/i18n/locales/zh.json`** (): Resolve call failed: Anthropic API error after 3 retries: <title>504 Gateway Time-out</title>504 Gateway Time-out
❌ Unresolved Build Failures
<title>504 Gateway Time-out</title>web/src/i18n/locales/fr.json: Resolve call failed: Rate limited after 3 retries: Error code: 429 - {'error': {'code': 'rate_limit_exceeded', 'message': 'Concurrency limit exceeded for user, please retry later', 'type': 'rate_limit_error'}} — Suggestion: Resolve manually — see the conflict summary in this PR.web/src/i18n/locales/ja.json: resolve returned neither edits nor content — Suggestion: Resolve manually — see the conflict summary in this PR.web/src/i18n/locales/ru.json: resolve returned neither edits nor content — Suggestion: Resolve manually — see the conflict summary in this PR.web/src/i18n/locales/vi.json: resolve returned neither edits nor content — Suggestion: Resolve manually — see the conflict summary in this PR.constant/channel.go: Resolve call failed: Anthropic API error after 3 retries:504 Gateway Time-out
— _Suggestion: Resolve manually — see the conflict summary in this PR._ - **`controller/option.go`**: Resolve call failed: Anthropic API error after 3 retries: <title>504 Gateway Time-out</title>504 Gateway Time-out
— _Suggestion: Resolve manually — see the conflict summary in this PR._ - **`controller/video_proxy.go`**: A human must decide whether to adopt the upstream JS task-plugin system at all. If yes, this file must be rewritten together with the rest of commit eb48396 (new packages pkg/jsplugin, relay/channel/task/jsplugin, model.TaskPlugin, the task-artifact helpers such as proxyTaskMedia/getTaskForArtifactRequest/projectTaskArtifacts/initTaskArtifactAdaptor, and removal of the hard-coded task adaptors). If no (recommended per conventions, since cuberouter keeps its per-channel Gemini/Vertex/Sora proxy logic, GetByUpstreamTaskId fallback, and SSRF handling), skip the VideoProxy rewrite and keep only the applied Cache-Control header tweak. The upstream removal of the 'constant' import and per-channel auth (x-goog-api-key, Authorization Bearer) is incompatible with the downstream channel-type switch. — _Suggestion: Resolve manually — see the conflict summary in this PR._ - **`go.mod`**: Resolve call failed: Rate limited after 3 retries: Error code: 429 - {'error': {'code': 'rate_limit_exceeded', 'message': 'Concurrency limit exceeded for user, please retry later', 'type': 'rate_limit_error'}} — _Suggestion: Resolve manually — see the conflict summary in this PR._ - **`go.sum`**: Resolve call failed: Rate limited after 3 retries: Error code: 429 - {'error': {'code': 'rate_limit_exceeded', 'message': 'Concurrency limit exceeded for user, please retry later', 'type': 'rate_limit_error'}} — _Suggestion: Resolve manually — see the conflict summary in this PR._ - **`relay/channel/task/doubao/adaptor.go`**: Resolve call failed: Anthropic API error after 3 retries: <title>504 Gateway Time-out</title>504 Gateway Time-out
— _Suggestion: Resolve manually — see the conflict summary in this PR._ - **`relay/relay_adaptor.go`**: Resolve call failed: Anthropic API error after 3 retries: <title>504 Gateway Time-out</title>504 Gateway Time-out
— _Suggestion: Resolve manually — see the conflict summary in this PR._ - **`router/video-router.go`**: Resolve call failed: Anthropic API error after 3 retries: <title>504 Gateway Time-out</title>504 Gateway Time-out
— _Suggestion: Resolve manually — see the conflict summary in this PR._ - **`web/src/i18n/locales/en.json`**: LLM edits did not apply: edit 1: 'old' block not found in file: ' "{\\"original-model\\": \\"replacement-model\\"}": "{\\"original-model\\": \\"repla' — _Suggestion: Resolve manually — see the conflict summary in this PR._ - **`web/src/i18n/locales/fr.json`**: resolve returned neither edits nor content — _Suggestion: Resolve manually — see the conflict summary in this PR._ - **`web/src/i18n/locales/ja.json`**: resolve returned neither edits nor content — _Suggestion: Resolve manually — see the conflict summary in this PR._ - **`web/src/i18n/locales/ru.json`**: resolve returned neither edits nor content — _Suggestion: Resolve manually — see the conflict summary in this PR._ - **`web/src/i18n/locales/vi.json`**: resolve returned neither edits nor content — _Suggestion: Resolve manually — see the conflict summary in this PR._ - **`web/src/i18n/locales/zh-TW.json`**: Resolve call failed: Anthropic API error after 3 retries: <title>504 Gateway Time-out</title>504 Gateway Time-out
— _Suggestion: Resolve manually — see the conflict summary in this PR._ - **`web/src/i18n/locales/zh.json`**: Resolve call failed: Anthropic API error after 3 retries: <title>504 Gateway Time-out</title>504 Gateway Time-out
— _Suggestion: Resolve manually — see the conflict summary in this PR._🤖 Created by upstream-semantic-sync