Conversation
WalkthroughThe PR updates the Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes 🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
| model | device_test | click_test | persistence_test |
|---|---|---|---|
| T2T1 | test(all) main(all) ![]() |
test(all) main(all) ![]() |
test(all) main(all) ![]() |
| T3B1 | test(all) main(all) ![]() |
test(all) main(all) ![]() |
test(all) main(all) ![]() |
| T3T1 | test(all) main(all) ![]() |
test(all) main(all) ![]() |
test(all) main(all) ![]() |
| T3W1 | test(all) main(all) ![]() |
test(all) main(all) ![]() |
test(all) main(all) ![]() |
Latest CI run: 25057489308
bfaca9b to
730eea4
Compare
- Changed: Simplified usage of `riscv_fw_version` - used string 1.0.0 with implicit encoding instead of explicit encoding. - Added: Specified `spect_fw_version` to be 1.0.0, instead of the default 1.2.0. [no changelog]
There was a problem hiding this comment.
🧹 Nitpick comments (1)
core/tools/generate_tropic_model_config.py (1)
109-110: Avoid duplicating the firmware version literal.Consider extracting
"1.0.0"into one constant to prevent accidental drift betweenriscv_fw_versionandspect_fw_version.♻️ Suggested refactor
@@ EXTRA_FILES = [ @@ ] + +FW_VERSION = "1.0.0" @@ - "riscv_fw_version": "1.0.0", # Version of the RISCV Firmware (also know as Application FW) used in TS7 devices - "spect_fw_version": "1.0.0", + "riscv_fw_version": FW_VERSION, # Version of the RISCV Firmware (also know as Application FW) used in TS7 devices + "spect_fw_version": FW_VERSION,🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@core/tools/generate_tropic_model_config.py` around lines 109 - 110, The two firmware version literals for "riscv_fw_version" and "spect_fw_version" are duplicated; introduce a single constant (e.g., FW_VERSION or DEFAULT_FW_VERSION) at the top of generate_tropic_model_config.py and use that constant for both "riscv_fw_version" and "spect_fw_version" so they cannot drift independently; update any surrounding comments or variable references to use the new constant and ensure the constant is the single source of truth for firmware version.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Nitpick comments:
In `@core/tools/generate_tropic_model_config.py`:
- Around line 109-110: The two firmware version literals for "riscv_fw_version"
and "spect_fw_version" are duplicated; introduce a single constant (e.g.,
FW_VERSION or DEFAULT_FW_VERSION) at the top of generate_tropic_model_config.py
and use that constant for both "riscv_fw_version" and "spect_fw_version" so they
cannot drift independently; update any surrounding comments or variable
references to use the new constant and ensure the constant is the single source
of truth for firmware version.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: b1c2c69a-bc1a-459f-885f-8a8f95120193
📒 Files selected for processing (2)
core/tools/generate_tropic_model_config.pytests/tropic_model/config.yml




































ts-tvlsubmodule to version 2.4.ts-tvlwas pinned to a non-release commit to enable support forcryptography >=43.Also, the tropic model config was adjusted:
riscv_fw_version.spect_fw_versionto 1.0.0, which would otherwise be set to a different default value (1.2.0).