microsoft / microsoft/vscode-makefile-tools

Identify when --always-make never ends

Open
#98 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
242
Forks
78
PR merge metrics
No merged PRs in 30d

Description

Most of the repositories, if they have an issue with --always-make it's just that a dry-run would take a very long time and the code base would get reconfigured (probably losing any previous settings that were defined during the last ./configure).
Fewer repositories would have the issue of waiting for input from the user. We detect this with a timeout check and the user sees a bottom right message popup.
For https://github.com/swig/swig.git, when the extension configures with --always-make, something will fail (which doesn't fail when run manually from terminal) but the make build will try the same configure target again, indefinitely. This will not result in an output that never gets written into (like when the build waits for input) and which could be detected with a timeout, this results into output being indefinitely generated and we need to implement a different timeout so that the configure would force an end in this case too.

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 tracing the --always-make configuration path and the existing timeout check described in the issue. Reproduce the swig case, then determine how repeated configure output should be recognized and verify that the configuration ends instead of continuing indefinitely.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.