Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

Cap SDK tests fail

未關閉
#326 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

@rslater-cs 已經在處理了。

開始於 2026年8月28日。

  • #327 來自 @rslater-cs —— 未關閉

評估

難度
3/5
預估耗時
1-2 天
新手友好度
45/100
Issue 類型
缺陷
描述清晰度
需要釐清
活躍度
活躍
技術堆疊
lua

研究方向

執行 make test,並從 unit/hal/sdk_cap_spec.lua 和 unit/update/test_active_policy.lua 開始,著重處理列出的失敗:缺少 wait_for_cap 方法,以及未預期的 staging 狀態。將這些測試預期追溯到相關實作,然後重新執行受影響的測試和 make test;當列出的所有失敗都通過時即表示完成。

由索引模型根據 Issue 內容生成。

描述

Failure summary:

  • unit.hal.sdk_cap_spec :: cap_sdk_curated_listener_accepts_available_status_payload [0.001s]
    ./unit/hal/sdk_cap_spec.lua:60: attempt to call method 'wait_for_cap' (a nil value)
  • unit.hal.sdk_cap_spec :: cap_sdk_curated_listener_accepts_available_true_payload [0.002s]
    ./unit/hal/sdk_cap_spec.lua:88: attempt to call method 'wait_for_cap' (a nil value)
  • unit.hal.sdk_cap_spec :: cap_sdk_curated_listener_ignores_removed_status_payload [0.001s]
    ./unit/hal/sdk_cap_spec.lua:116: attempt to call method 'wait_for_cap' (a nil value)
  • unit.hal.sdk_cap_spec :: cap_sdk_raw_host_listener_and_ref_follow_raw_host_topics [0.003s]
    ./unit/hal/sdk_cap_spec.lua:146: attempt to call method 'wait_for_cap' (a nil value)
  • unit.hal.sdk_cap_spec :: cap_sdk_raw_member_listener_and_ref_follow_raw_member_topics [0.003s]
    ./unit/hal/sdk_cap_spec.lua:220: attempt to call method 'wait_for_cap' (a nil value)
  • unit.update.test_active_policy :: test_artifact_missing_stage_resume_moves_mcu_job_to_reconcile [0.000s]
    ./unit/update/test_active_policy.lua:7: expected awaiting_return, got staging
  • unit.update.test_active_policy :: test_artifact_missing_stage_resume_without_identity_still_fails [0.000s]
    ./unit/update/test_active_policy.lua:7: expected failed, got staging
    make: *** [Makefile:93: test] Error 1
主要語言
Lua
星號
1
分支
0
平均合併
5 天 15 小時
30 天內合併 PR
3

環境準備

在 Codespaces 中開啟

在瀏覽器裡用你自己的 GitHub 帳號啟動這個專案的開發容器。

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 沒有貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

jangala-dev/devicecode-lua 的其他 Issue

查看 jangala-dev/devicecode-lua 的全部 Issue

相似的 Issue

更多 Lua Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。