| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
chore: Merge upstream master into sandbox merge branch Signed-off-by: mhsong2 <songminhui2@huawei.com> | 11 天前 | |
test(example): add minimal python sdk and faas smoke flow Signed-off-by: yuchaow <wangyuchao12@huawei.com> | 3 个月前 | |
chore: Merge upstream master into sandbox merge branch Signed-off-by: mhsong2 <songminhui2@huawei.com> | 11 天前 | |
chore: consolidate sandbox post-merge fixes Preserve the original sandbox merge history while folding the follow-up CI, codecheck, packaging, deploy, and conflict-resolution commits into one merge commit. The tree is identical to the previous MR head 25a7b4e1fd7ea62d90e2e310a9b7414e4fb2d8a4. Signed-off-by: mhsong2 <songminhui2@huawei.com> | 1 个月前 | |
sync code | 7 个月前 | |
feat(sandbox): sync develop branch changes to feature/sandbox Synchronize incremental changes from develop into feature/sandbox, including websocket transport layer, sandbox reverse-tunnel, checkpoint lifecycle APIs, invoke-direct optimization, and related fixes. Key changes: - src/libruntime: add WebSocket transport (ws_transport.cpp/h), extend HTTP transport and client manager, add invoke-direct path - api/python: sandbox tunnel client/server, checkpoint CLI commands, invoke-direct support, config/runtime improvements - api/go: add ObjectRefDirect type for bypass-datasystem path - api/java: add RuntimeUtils seed-file helpers - deploy/process: config.sh additions (traefik, fc_agent_mgr, etc.), services.yaml python3.12 runtime entry - docs: sandbox-reverse-tunnel, websocket-transport, invoke-chain docs - test: ws_transport unit tests, invoke-direct smoke test, checkpoint lifecycle/query/actor e2e smoke tests - scripts: bump download URLs, add package utils helper Exclude aci.yaml (branch-specific CI configuration). Signed-off-by: Luo Rob <robbluo@gmail.com> Signed-off-by: Lwy_Robb <luowenyu4@huawei.com> | 1 个月前 | |
fix: 修复编译错误和多语言ST/单元测试用例 C++: - config_manager.h: 为未初始化成员变量添加默认值,防止 UB;enableServerMode 保持 true - ENABLE_DATASYSTEM 条件编译支持(macOS 自动禁用) - MetricsAdaptor: 移至 .cpp 实现 GetInstance(),修复 ODR 堆损坏 - SpdLogger: 修复重复初始化和 shutdown/drop_all 问题 - auto_init.h: inCluster 默认值设为 true - invoke_options.h: languageType 默认值设为 Python - libruntime_config.h: selfLanguage 默认值设为 Python Go: - cpplibruntime: 移除 double-free(stackTraces 由上层释放) Java: - LoadUtil: 修复文件拷贝逻辑(APPEND→TRUNCATE_EXISTING) - TestYR: 补全 LibRuntime mock Python: - instance_proxy.py: 修复 get_instance 使用 get_instance_by_name 检查实例, 空 FunctionMeta 时 raise RuntimeError - instance_proxy.py: 修复 _inner_create_instance,小代码也调 put_serialized 存入 LocalObjectStore,避免 worker 通过 codeID="" 查不到 class - local_mode_runtime: 补全缺失方法 - utils.py: 还原 domain 正则(允许纯数字 label / IP 地址) Tests: - api_test: 修复 SetUp/TearDown 生命周期 - clibruntime_test/connect_test: 使用 GetInstance() 替换 make_shared<MetricsAdaptor>() - kv_state_store_test: timeout=0 避免重试导致 mock 绕过预期错误 - auto_init_test: 移除 inCluster==false 断言(默认值已改为 true) - invoke_spec.cpp: RequestResource::operator== 补全 opts.debug.enable - test_common.py: 移除 a127.0.0.1 的 ValueError 断言 Build: - bazel/preload_grpc.bzl: 删除重复 URL - build.sh: 删除冗余 GCC include 和 mkdir Signed-off-by: yuchaow <wangyuchao12@huawei.com> | 2 个月前 | |
fix[runtime]: 修复 detached-actor 首次 invoke 永久挂起 driver 端 InvokeOrderManager 对"由其他 runtime 创建的命名/detached 实例" (经 RegisterInstanceAndUpdateOrder 注册,如 QueryInstanceMeta 获取命名实例) unfinishedSeqNo 从未被 NotifyInvokeSuccess 推进,保持初值 0。首调 Invoke 时 下发 invocationSequenceNo=1 但 minUnfinishedSequenceNo=0,远端 OrderedExecutionManager::Handle 因 invokeUnfinishedSeqNo(0) != seqNo(1) 将 请求挂入 waitingInvokeReqs,等待永远不到的 seqNo=0,函数体永不执行, yr.get(detached.add.invoke(2)) 永久阻塞直至超时/租约回收。 根因修复:在 RegisterInstanceAndUpdateOrder 非 restored 分支,orderingCounter++ 后将 unfinishedSeqNo 对齐到 orderingCounter。语义为"该实例由其他 runtime 创建,driver 视角下 0..orderingCounter-1 不存在/已结束,远端可直接从 orderingCounter 起执行",使首调的 minUnfinishedSequenceNo 与 invocationSequenceNo 同步,远端 while 条件立即满足。restored(snapstart) 路径不动,保留沙箱恢复语义。 放弃运行时侧"跳空洞"方案:远端无法区分"driver 没发更早请求"与"发了但 乱序未到",会破坏 HandleMisorderedRequestTest 的乱序重排并静默丢请求。 测试: - RegisterInstanceAndUpdateOrderTest 补 unfinishedSeqNo 对齐断言 - 新增 RegisterInstanceAndUpdateOrderAlignsUnfinishedSeqForDetachedFirstInvokeTest 复现 detached 首调:注册→Invoke(seqNo=1)→UpdateUnfinishedSeq 断言 invokeUnfinishedSeqNo == invokeSeqNo == 1 验证(compile 容器 bazel): - //test:invoke_order_manager_test 8/8 PASSED - //test:libruntime_test (ExecutionManagerTest+InvokeOrderManagerTest) PASSED Signed-off-by: For_YL <zhangtangwei@huawei.com> | 1 天前 | |
sync code | 7 个月前 | |
fix: restore changes overwritten by pr791 merge PR 791 was merged from an old full-tree branch head and overwrote several changes that had already landed on master after PR 788. - restore PR 750 MSetTx deprecation/API documentation updates - restore PR 792 Java ObjectRef invoke argument handling - restore PR 793, PR 795, and PR 796 documentation cleanup and redaction updates - keep PR 791 split-wheel lazy import and datasystem build changes intact Signed-off-by: mhsong2 <songminhui2@huawei.com> | 4 天前 | |
fix(ci): support runtime manager packaging Signed-off-by: mhsong2 <songminhui2@huawei.com> | 2 天前 | |
build(package): delegate runtime launcher build to functionsystem Call functionsystem run.sh build --component runtime_launcher from the superproject Makefile so the runtime launcher build logic is owned by the functionsystem repo. Keep the aggregate all/functionsystem targets from building runtime-launcher twice, while preserving an explicit runtime_launcher target for packaging and release jobs. Add Makefile coverage for the delegated build command and output copy contract. Signed-off-by: mhsong2 <songminhui2@huawei.com> | 18 小时前 | |
chore: sync feature sandbox into master Signed-off-by: songminhui <songminhui2@huawei.com> | 1 个月前 | |
chore: consolidate sandbox runtime gate fixes Signed-off-by: mhsong2 <songminhui2@huawei.com> | 13 天前 | |
fisrt commit init code | 8 个月前 | |
sync code | 7 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 11 天前 | ||
| 3 个月前 | ||
| 11 天前 | ||
| 1 个月前 | ||
| 7 个月前 | ||
| 1 个月前 | ||
| 2 个月前 | ||
| 1 天前 | ||
| 7 个月前 | ||
| 4 天前 | ||
| 2 天前 | ||
| 18 小时前 | ||
| 1 个月前 | ||
| 13 天前 | ||
| 8 个月前 | ||
| 7 个月前 |