Currently, after a Thrift API version bump, developers can forget to rebuild the virtual environment, which can lead to incompatible API calls at runtime. Additionally, the make process does not detect or warn about this mismatch.
A version consistency check should be added to the build process (before packaging) that compares the source API version with the virtual environment one and halts with a clear error if they differ. A rebuild script should also be provided so developers can quickly resolve the mismatch.
Currently, after a Thrift API version bump, developers can forget to rebuild the virtual environment, which can lead to incompatible API calls at runtime. Additionally, the make process does not detect or warn about this mismatch.
A version consistency check should be added to the build process (before packaging) that compares the source API version with the virtual environment one and halts with a clear error if they differ. A rebuild script should also be provided so developers can quickly resolve the mismatch.