feat: update commit message to version 12 - #179
Merged
Conversation
lszskye
force-pushed
the
update_commit_message_version
branch
from
August 5, 2026 03:56
c1ae920 to
48a070e
Compare
lszskye
force-pushed
the
update_commit_message_version
branch
from
August 5, 2026 04:38
138a6d0 to
48a87d0
Compare
SteNicholas
pushed a commit
that referenced
this pull request
Aug 5, 2026
* feat: update commit message to version 12 * add compatibility test * fix pre-commit
SteNicholas
pushed a commit
that referenced
this pull request
Aug 5, 2026
* feat: update commit message to version 12 * add compatibility test * fix pre-commit
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
Add
source_metatoGlobalIndexMetaand update the commit message version from 11 to 12.Commit message version 11 uses a five-field
GlobalIndexMetaschema. Reading it with the new six-field schema would break compatibility, so this change introducesIndexFileMetaV4Deserializerto deserialize version 11 commit messages with the legacy schema. Version 12 uses the current schema containing the nullable_SOURCE_METAfield.Tests
IndexFileMetaSerializerTest.TestToFromRowWithGlobalIndexWithSourceMetato verifysource_metarow serialization and deserialization.CommitMessageTest.TestCompatibleWithVersion11to verify that existing version 11 commit messages remain readable through the legacy deserializer.GlobalIndexMetawithoutsource_meta.API and Format
This changes the commit message serialization format, the current commit message version is increased from 11 to 12.