apple / apple/foundationdb

CMake should run actorFuzz.py to generate ActorFuzz.actor.cpp

Open
#3,149 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
16.7k
Forks
1.6k
Avg merge
1d 20h
Merged PRs (30d)
126

Description

Currently, comments in `ActorFuzz.actor.cpp` indicate that it is meant to be generated by `actorFuzz.py` and not manually edited. However, the file is under version control and is not regularly updated. CMake can regenerate this file whenever changes are made to the actor compiler, and we can then remove `ActorFuzz.actor.cpp` from the git repository.

Contributor guide

Open the contributing guide

Research direction

Start by locating the CMake configuration that builds ActorFuzz.actor.cpp and the actorFuzz.py generator. Check how generated sources are currently tracked and how actor compiler changes trigger builds. Done means CMake regenerates the file reliably and ActorFuzz.actor.cpp is removed from version control.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp, python
Domain
build-system
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.