mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#7491
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/7137
Author: @SpicyMarinara
Created: 10/5/2026
Status: ✅ Merged
Merged: 10/5/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/typesafe-local-names-7134📝 Commits (2)
58d4155fix(decision): let a TypeSafe address follow the same rules as any Base URL (#7134)74e196eMerge branch 'staging' into fix/typesafe-local-names-7134📊 Changes
6 files changed (+15 additions, -37 deletions)
View changed files
📝
CHANGELOG.md(+1 -1)📝
docs/connections/decision-models.md(+1 -1)📝
packages/client/src/localization/locales/en.json(+0 -1)📝
packages/server/src/services/decision/decision-connection.ts(+1 -6)📝
packages/server/src/utils/security.ts(+1 -10)📝
scripts/regressions/decision-typesafe-address.regression.ts(+11 -18)📄 Description
Linked issue
Closes #7134
Why this change
http://was refused unless the address waslocalhostor a private IP literal.host.docker.internalfrom Docker.What changed
decision-connection.ts: removed theneeds_httpscheck and error. A TypeSafe address now goes through the same URL checks (http/https only; no credentials, query or hash) and network policy (PROVIDER_LOCAL_URLS_ENABLEDfor other machines on the local network) as a Custom System One address.security.ts: removedisLocalAddressHostname, which only that rule used.en.json: removedconnections.decision.errors.needs_https.decision-typesafe-address.regression.ts: remote http, local names (jev.local,host.docker.internal), https, localhost,[::1]and private IPs all resolve for TypeSafe, with the same verdict as Custom. This fails with the old rule (http://decisions.example.com: needs_https).docs/connections/decision-models.mdand the unreleased CHANGELOG bullet no longer describe the https rule.Validation
pnpm checkpasses locallyCONTRIBUTING.mdAgent-run checks:
pnpm checkpasses; all 14 Decision regressions pass (--filter decision); the updated TypeSafe regression fails against the old rule.Manual verification notes
http://host.docker.internal:<port>(from Docker) passes Test against a local server that runs TypeSafe's API.PROVIDER_LOCAL_URLS_ENABLED, as for Custom.https://api.typesafe.ai.Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)Changed:
docs/connections/decision-models.md,CHANGELOG.md. Translations follow in adocs-i18nPR.Summary by CodeRabbit
Behavior Changes
Documentation
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.