[2.8] hop_start == 0 without a bitfield means unknown, not direct
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- Half a day
- Newbie friendliness
- 45/100
Research direction
Start with the hop calculation in serializers.py (lines 1641-1649) and the direct-detection logic in dx_monitoring/services.py (lines 32-37), then find where decoded.bitfield is read. Check how hop_start == 0 is handled today. Done when a packet with hop_start == 0 and no bitfield is treated as unknown hops, a hop_limit == 0 guard exists, tests cover both cases, and normal hop counts are unchanged.
Written by the indexing model from the issue text.
Description
Part of pskillen/meshflow-api#437 (Meshtastic 2.8.x support). Code: HP-2 · Priority: Should · Size: S
Summary
Treat hop_start == 0 with no decoded.bitfield as unknown hops; store bitfield presence; guard direct-detection and hop-count calculations; add a guard for future hop exhaustion (hop_limit == 0).
Acceptance criteria
- Tests
- Hop count unchanged for normal packets
Depends on: none
Refs: serializers.py:1641-1649, dx_monitoring/services.py:32-37
- Dominant language
- Python
- Stars
- 1
- Forks
- 0
- Avg merge
- 23h 9m
- Merged PRs (30d)
- 15
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from pskillen/meshflow-api
-
enhancement meshtastic-2.8
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
pskillen/meshflow-api#459 ·
Maintainers usually reply within 1 day
-
bug tech-debt
Difficulty 5/5 Over a week Newbie friendliness 30/100
pskillen/meshflow-api#480 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 3/5 Half a day Newbie friendliness 55/100
pskillen/meshflow-api#479 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 68/100
pskillen/meshflow-api#478 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 73/100
pskillen/meshflow-api#472 ·
Maintainers usually reply within 1 day
All issues in pskillen/meshflow-api
Similar issues
-
needs-area-label
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Maintainers usually reply within 2 days
-
enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Official-Space-AI/OpenPhysGraspGen#114 ·
Maintainers usually reply within 2 days
-
changelog investigate
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
ramnes/notion-sdk-py#441 ·
-
qa_bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
NVIDIA-NeMo/Gym#5644 ·
Maintainers usually reply within 2 days
-
BUG: catalog database credentials printed to logs at startupPossibly taken @cjboyle claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 1 day