platformio / platformio/platformio-core

platformio remote: no synchronization

Open
#3,591 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

remote
Dominant language
Python
Stars
9.5k
Forks
905
Avg merge
2d 13h
Merged PRs (30d)
2

Description

  • Feature Request.

Description of problem

I have one dedicated board connected to a raspberry pi to run remote commands. I can execute from different platforms (github action, development machine) platformio remote test commands to run tests. Now i found out that I can corrupt another run in just executing the test command again on another machine. I was thinking that there is maybe something like a synchronization going on and it is waiting until the first run finished. But it was executed directly without waiting to finish the first one.

Is it possible to add some kind of synchronization? otherwise the remote command is useless for me.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading and reproducing the concurrent platformio remote test behavior on the shared Raspberry Pi board. Trace the remote command entry point and determine how overlapping runs are handled. Done means a second remote test waits for the first run to finish instead of corrupting it.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli, distributed-systems, embedded-iot
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.