| fix:obs下载部分失败时增加重试;日志打印修正,获取对象失败时不应打印failed to get metadata Signed-off-by: linziqi <linziqi1@huawei.com> | 1 个月前 |
| feat(runtime-manager):support supervisor to launch runtime Signed-off-by: slichengsong <slicheng.song@huawei.com> Signed-off-by: pikachuwan <wanyihui@huawei.com> | 28 天前 |
| fix(code-quality): fix codecheck violations in functionsystem/src Fix 300+ codecheck issues across 80 files in functionsystem/src to meet MR code quality requirements. Changes by category: - G.EXP.43: remove commented-out dead code (non-TODO blocks) - G.NAM.03: rename symbols to correct case style (CamelCase functions, camelCase variables); e.g. trimDash→TrimDash, endsWith→EndsWith, PREFIX→prefix, member_nodeID→memberNodeId, DOUBLE_CLOSE_EPS→doubleCloseEps - G.FMT.05/06: fix line length (>120 chars) and parameter indentation - G.FMT.17: remove blank lines between function call and result check - G.CNS.02: replace magic numbers with named constexpr constants - G.STD.18: replace strerror() with thread-safe strerror_r() - G.INC.07: reorder #includes (stdlib → third-party → project) - G.EXP.15: replace reinterpret_cast with double static_cast via void* - 缺失析构函数: add virtual destructor defaults to classes with constructors Preserve all TODO-tagged comments and their associated commented-out code blocks per project convention. Skip G.FUN.01 (function length) issues that require major refactoring. Signed-off-by: ChamberlainJI <jichenglin1@huawei.com> | 2 个月前 |
| fix(code-quality): fix codecheck violations in functionsystem/src Fix 300+ codecheck issues across 80 files in functionsystem/src to meet MR code quality requirements. Changes by category: - G.EXP.43: remove commented-out dead code (non-TODO blocks) - G.NAM.03: rename symbols to correct case style (CamelCase functions, camelCase variables); e.g. trimDash→TrimDash, endsWith→EndsWith, PREFIX→prefix, member_nodeID→memberNodeId, DOUBLE_CLOSE_EPS→doubleCloseEps - G.FMT.05/06: fix line length (>120 chars) and parameter indentation - G.FMT.17: remove blank lines between function call and result check - G.CNS.02: replace magic numbers with named constexpr constants - G.STD.18: replace strerror() with thread-safe strerror_r() - G.INC.07: reorder #includes (stdlib → third-party → project) - G.EXP.15: replace reinterpret_cast with double static_cast via void* - 缺失析构函数: add virtual destructor defaults to classes with constructors Preserve all TODO-tagged comments and their associated commented-out code blocks per project convention. Skip G.FUN.01 (function length) issues that require major refactoring. Signed-off-by: ChamberlainJI <jichenglin1@huawei.com> | 2 个月前 |
| 【Sync】同步现有组件代码修改 | 6 个月前 |
| feat(function_agent): 添加插件系统支持,实现虚拟环境管理功能 变更概述: 本次变更在 FunctionAgent 中引入了插件系统架构,支持通过插件机制管理虚拟环境等运行时环境。 核心功能: - 新增插件系统基础设施 * MultiPluginClient: 多插件客户端,统一管理多个插件 * VirtualEnvPluginMgrActor: 虚拟环境插件管理器 Actor * PluginMgr/PluginClient: 插件管理器和客户端接口 * RemotePluginClient: 远程插件客户端实现 * ConfigParseUtil/ProcessUtil: 配置解析和进程管理工具 - AgentServiceActor 集成插件系统 * 添加 PrepareEnv 方法:在启动运行时前准备环境 * 添加 RecoverPluginCache 方法:从 RuntimeManager 恢复插件缓存 * 添加 LoadPlugins 方法:加载插件配置 * 修改 StartRuntime 方法:支持环境准备流程 * 在 StartInstanceResponse 中增加环境引用计数(IncreaseEnvRef) * 在 StopInstanceResponse 中减少环境引用计数(DecreaseEnvRef) * 在 ReceiveRegister 中添加插件缓存恢复逻辑 - 启动流程优化 * FunctionAgentDriver 支持在启动时加载插件配置 * 添加 agent_plugin_configs 命令行参数 - 配置和常量 * 添加虚拟环境相关常量(VIRTUALENV_KIND, VIRTUALENV_NAME等) * 添加 EXEC_PATH 常量 * 添加 FUNCTION_AGENT_VIRTUAL_ENV_MGR_ACTOR_NAME - 测试覆盖 * 添加插件系统各组件单元测试 * 更新 AgentServiceActor 测试用例 变更文件: - 新增 13 个插件系统相关文件 - 修改 19 个现有文件 - 总计 32 个文件变更,新增约 2700+ 行代码 影响范围: - FunctionAgent 启动流程 - 实例部署流程(增加环境准备步骤) - RuntimeManager 注册流程(增加插件缓存恢复) - 实例生命周期管理(环境引用计数) Signed-off-by: mayuehit <mayue51@huawei.com> | 4 个月前 |
| feat(functionsystem): integrate Bazel build, POSIX APIs, and runtime launcher add Bazel workspace and build targets across core components migrate runtime-related protobuf definitions from proto/inner to proto/posix introduce runtime launcher, quota/snapshot management, and related tests Signed-off-by: ChamberlainJI <jichenglin1@huawei.com> | 2 个月前 |
| feat(functionsystem): integrate Bazel build, POSIX APIs, and runtime launcher add Bazel workspace and build targets across core components migrate runtime-related protobuf definitions from proto/inner to proto/posix introduce runtime launcher, quota/snapshot management, and related tests Signed-off-by: ChamberlainJI <jichenglin1@huawei.com> | 2 个月前 |
| upload source code | 7 个月前 |
| !240 fix[meta_service]: publish priority az metadata for single az deploy From: @neatline Reviewed-by: @slichengsong See merge request: openeuler/yuanrong-functionsystem!240 | 1 个月前 |
| feat(functionsystem): integrate Bazel build, POSIX APIs, and runtime launcher add Bazel workspace and build targets across core components migrate runtime-related protobuf definitions from proto/inner to proto/posix introduce runtime launcher, quota/snapshot management, and related tests Signed-off-by: ChamberlainJI <jichenglin1@huawei.com> | 2 个月前 |
| feat(functionsystem): integrate Bazel build, POSIX APIs, and runtime launcher add Bazel workspace and build targets across core components migrate runtime-related protobuf definitions from proto/inner to proto/posix introduce runtime launcher, quota/snapshot management, and related tests Signed-off-by: ChamberlainJI <jichenglin1@huawei.com> | 2 个月前 |