Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
15 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 46 additions & 0 deletions app-proxy-coordinator.toml.bak
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
[db]
type = "postgresql"
name = "appproxy"
user = "appproxy"
password = "develove"
pool_size = 8
max_overflow = 64
addr = { host = "127.0.0.1", port = 8101 }

[redis]
addr = { host = "127.0.0.1", port = 8111 }

[proxy_coordinator]
tls_listen = false
tls_advertised = false
aiomonitor_termui_port = 48510
aiomonitor_webui_port = 49510
allow_unauthorized_configure_request = true

[proxy_coordinator.bind_addr]
host = "0.0.0.0"
port = 10200

[proxy_coordinator.advertised_addr]
# Change `host` and `port` to the actual host and port for user access
host = "127.0.0.1"
port = 10200

[secrets]
api_secret = "WPoPk3_Z11yqeQ673w3KuJzXb1fbSNSmAXTaEgJ7_kM"
jwt_secret = "ADadDTqhua1hIzIj7WnFWnSe-3mWclNv9brIrH2M-Ik"

[permit_hash]
secret = "_ys4SubzC_3FungNVEOPieA_LFXRuyOUgzvJ2eiQFSk"

[logging]
level = "DEBUG"
drivers = ["console"]

[logging.console]
colored = true
format = "verbose"

[debug]
enabled = true
log-events = true
41 changes: 41 additions & 0 deletions app-proxy-worker.toml.bak
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
[redis]
addr = { host = "127.0.0.1", port = 8111 }

[proxy_worker]
coordinator_endpoint = "http://127.0.0.1:10200"
authority = "worker-1"
tls_listen = false
tls_advertised = false
aiomonitor_termui_port = 48610
aiomonitor_webui_port = 49610
frontend_mode = "port"
protocol = "http"
accepted_traffics = ["inference", "interactive"]
api_bind_addr = { host = "0.0.0.0", port = 10201 }
# Change `host` to the public/external address for user access. Change `port` only if port mapping is in use.
api_advertised_addr = { host = "127.0.0.1", port = 10201 }

[proxy_worker.port_proxy]
bind_host = "0.0.0.0"
# Change to the actual host for user access
advertised_host = "127.0.0.1"
bind_port_range = [10205, 10300]

[secrets]
api_secret = "WPoPk3_Z11yqeQ673w3KuJzXb1fbSNSmAXTaEgJ7_kM"
jwt_secret = "ADadDTqhua1hIzIj7WnFWnSe-3mWclNv9brIrH2M-Ik"

[permit_hash]
secret = "_ys4SubzC_3FungNVEOPieA_LFXRuyOUgzvJ2eiQFSk"

[logging]
level = "DEBUG"
drivers = ["console"]

[logging.console]
colored = true
format = "verbose"

[debug]
enabled = true
log-events = true
1 change: 1 addition & 0 deletions changes/10738.feature.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Migrate pyinfra inventory system from backend.ai-installer with dev inventory support
Copy link

Copilot AI Apr 2, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changelog entry filename changes/10738.feature.md appears to reference a different PR/issue number than this PR (BA-5565). If your project expects one changeset file per PR, this will misattribute release notes. Consider renaming the changes file to match the current PR number / convention used in the repo.

Copilot uses AI. Check for mistakes.
13 changes: 8 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -355,14 +355,17 @@ disable_error_code = ["misc", "arg-type", "attr-defined", "assignment", "operato
module = [
"ai.backend.install.*",
]
disable_error_code = ["union-attr", "misc"]
disable_error_code = ["union-attr", "misc", "index", "operator"]

# PyInfra is an optional dependency for production deployment
# Skip import checking when pyinfra is not installed
# PyInfra deploy scripts use dynamic host.data access patterns
[[tool.mypy.overrides]]
module = "ai.backend.install.pyinfra.*"
disable_error_code = ["import-not-found", "no-any-return", "attr-defined", "arg-type", "return-value", "type-arg", "func-returns-value"]
follow_imports = "skip"
disable_error_code = ["no-any-return", "attr-defined", "arg-type", "call-arg", "return-value", "type-arg", "func-returns-value"]

# Tests for installer config_gen use tomlkit dict-like access patterns
[[tool.mypy.overrides]]
module = "tests.unit.install.*"
disable_error_code = ["index", "operator"]

# gql_enum() function-call results are valid types at runtime (strawberry handles them)
# but mypy cannot recognise dynamically-wrapped enum variables as types
Expand Down
Loading
Loading