feat: sync latest ARR implementation

This commit is contained in:
Wyndham ARR
2026-07-31 15:11:42 +08:00
parent d6f8a747fa
commit bf7939dd1a
185 changed files with 17527 additions and 2260 deletions

View File

@@ -24,6 +24,29 @@ class DeploymentEntrypointTests(unittest.TestCase):
self.assertNotIn("--enable-monthly-generation", command)
self.assertNotIn("--enable-company-reports", command)
self.assertNotIn("--enable-agent-writeback", command)
self.assertNotIn("requirements-arr-mcp.txt", dockerfile)
self.assertNotIn("8890", dockerfile)
def test_compose_has_no_agent_or_mcp_runtime_surface(self) -> None:
compose = (PROJECT_ROOT / "compose.yaml").read_text(encoding="utf-8")
caddy = (PROJECT_ROOT / "deploy" / "Caddyfile").read_text(encoding="utf-8")
root_requirements = (PROJECT_ROOT / "requirements.txt").read_text(
encoding="utf-8"
)
self.assertIn("--enable-processing", compose)
self.assertNotIn("\n mcp:", compose)
self.assertNotIn("DEERFLOW", compose)
self.assertNotIn("ARR_MCP", compose)
self.assertNotIn("ARR_AGENT", compose)
self.assertNotIn("MCP_PUBLIC_HOST", caddy)
self.assertIn("ARR_WEB_USERNAME", compose)
self.assertIn("ARR_WEB_PASSWORD", compose)
self.assertIn("/healthz", compose)
self.assertNotIn("WEB_BASIC_AUTH", compose)
self.assertNotIn("basic_auth", caddy)
self.assertNotIn("requirements-agent-integration", root_requirements)
self.assertNotIn("requirements-arr-mcp", root_requirements)
if __name__ == "__main__":