-
Notifications
You must be signed in to change notification settings - Fork 37.7k
util: Include full version id in bug reports #26645
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The head ref may contain hidden characters: "2212-full-version-id-\u{1F341}"
Conversation
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ReviewsSee the guideline for information on the review process.
If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update. |
For example:
|
utACK fa825bd |
Concept ACK. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK fa825bd
Output diff of the trigger_internal_bug
-test between master and PR, once without and once with local changes (files have been created with e.g. ./src/bitcoin-cli -named echo 'arg9=trigger_internal_bug' 2> /tmp/master
):
diff --git a/tmp/master b/tmp/pr
index aa5ae158a..a81a965a8 100644
--- a/tmp/master
+++ b/tmp/pr
@@ -2,5 +2,6 @@ error code: -1
error message:
Internal bug detected: "request.params[9].get_str() != "trigger_internal_bug""
rpc/node.cpp:315 (operator())
+Bitcoin Core v24.99.0-fa825bd227b9
Please report this issue here: https://github.com/bitcoin/bitcoin/issues
diff --git a/tmp/master b/tmp/pr_dirty
index aa5ae158a..60598c2e6 100644
--- a/tmp/master
+++ b/tmp/pr_dirty
@@ -2,5 +2,6 @@ error code: -1
error message:
Internal bug detected: "request.params[9].get_str() != "trigger_internal_bug""
rpc/node.cpp:315 (operator())
+Bitcoin Core v24.99.0-fa825bd227b9-dirty
Please report this issue here: https://github.com/bitcoin/bitcoin/issues
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK fa825bd
Concept ACK |
fa825bd util: Include full version id in bug reports (MarcoFalke) Pull request description: This will show the unique id of the full source code when the bug occurred, which can help debugging ACKs for top commit: 1440000bytes: utACK bitcoin@fa825bd theStack: ACK fa825bd john-moffett: ACK fa825bd Tree-SHA512: a7a775718f5f9796b5cffafbb3ace8adb5c163414ec584a57143157fc9dfb86f799e3b9c8365fcb831ee1e9eafc59d699d1653d772c68392de421b3de74dcd61
This change is required to make the following commits compatible with the recent bitcoin#26645.
After bitcoin#26645, this change is required to be able to `#include clientversion.h` in the `libbitcoinconsensus` code without dependency on `util/translation.h`.
After bitcoin#26645, this change is required to be able to `#include clientversion.h` in the `libbitcoinconsensus` code without dependency on `util/translation.h`.
- Modified format_internal_error macro to include PACKAGE_NAME and FormatFullVersion() - Added clientversion.h include to util/check.h - Reverted util/check.cpp to original state (no changes needed) The previous implementation incorrectly added entire functions to the .cpp file when the change should only modify the existing macro in the header file to match Bitcoin's functionality while preserving Dash's macro-based structure. Original commit: fa825bd
* Fix bitcoin#26645: Include full version id in bug reports - Modified format_internal_error macro to include PACKAGE_NAME and FormatFullVersion() - Added clientversion.h include to util/check.h - Reverted util/check.cpp to original state (no changes needed) The previous implementation incorrectly added entire functions to the .cpp file when the change should only modify the existing macro in the header file to match Bitcoin's functionality while preserving Dash's macro-based structure. Original commit: fa825bd * Remove unrelated change in src/util/check.cpp The change in src/util/check.cpp was unrelated to the Bitcoin commit. Bitcoin's commit modifies the StrFormatInternalBug function, but Dash uses a macro-based approach in the header file instead. The only required change is the format_internal_error macro in src/util/check.h which correctly includes PACKAGE_NAME and FormatFullVersion(). 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com> --------- Co-authored-by: Claude Code <claude@anthropic.com> Co-authored-by: PastaPastaPasta <6443210+PastaPastaPasta@users.noreply.github.com> Co-authored-by: Claude <noreply@anthropic.com>
* Fix bitcoin#26645: Include full version id in bug reports - Modified format_internal_error macro to include PACKAGE_NAME and FormatFullVersion() - Added clientversion.h include to util/check.h - Reverted util/check.cpp to original state (no changes needed) The previous implementation incorrectly added entire functions to the .cpp file when the change should only modify the existing macro in the header file to match Bitcoin's functionality while preserving Dash's macro-based structure. Original commit: fa825bd * Remove unrelated change in src/util/check.cpp The change in src/util/check.cpp was unrelated to the Bitcoin commit. Bitcoin's commit modifies the StrFormatInternalBug function, but Dash uses a macro-based approach in the header file instead. The only required change is the format_internal_error macro in src/util/check.h which correctly includes PACKAGE_NAME and FormatFullVersion(). 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com> --------- Co-authored-by: Claude Code <claude@anthropic.com> Co-authored-by: PastaPastaPasta <6443210+PastaPastaPasta@users.noreply.github.com> Co-authored-by: Claude <noreply@anthropic.com>
* Fix bitcoin#26645: Include full version id in bug reports - Modified format_internal_error macro to include PACKAGE_NAME and FormatFullVersion() - Added clientversion.h include to util/check.h - Reverted util/check.cpp to original state (no changes needed) The previous implementation incorrectly added entire functions to the .cpp file when the change should only modify the existing macro in the header file to match Bitcoin's functionality while preserving Dash's macro-based structure. Original commit: fa825bd * Remove unrelated change in src/util/check.cpp The change in src/util/check.cpp was unrelated to the Bitcoin commit. Bitcoin's commit modifies the StrFormatInternalBug function, but Dash uses a macro-based approach in the header file instead. The only required change is the format_internal_error macro in src/util/check.h which correctly includes PACKAGE_NAME and FormatFullVersion(). 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com> --------- Co-authored-by: Claude Code <claude@anthropic.com> Co-authored-by: PastaPastaPasta <6443210+PastaPastaPasta@users.noreply.github.com> Co-authored-by: Claude <noreply@anthropic.com>
* Fix bitcoin#26645: Include full version id in bug reports - Modified format_internal_error macro to include PACKAGE_NAME and FormatFullVersion() - Added clientversion.h include to util/check.h - Reverted util/check.cpp to original state (no changes needed) The previous implementation incorrectly added entire functions to the .cpp file when the change should only modify the existing macro in the header file to match Bitcoin's functionality while preserving Dash's macro-based structure. Original commit: fa825bd * Remove unrelated change in src/util/check.cpp The change in src/util/check.cpp was unrelated to the Bitcoin commit. Bitcoin's commit modifies the StrFormatInternalBug function, but Dash uses a macro-based approach in the header file instead. The only required change is the format_internal_error macro in src/util/check.h which correctly includes PACKAGE_NAME and FormatFullVersion(). 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com> --------- Co-authored-by: Claude Code <claude@anthropic.com> Co-authored-by: PastaPastaPasta <6443210+PastaPastaPasta@users.noreply.github.com> Co-authored-by: Claude <noreply@anthropic.com>
* Fix bitcoin#26645: Include full version id in bug reports - Modified format_internal_error macro to include PACKAGE_NAME and FormatFullVersion() - Added clientversion.h include to util/check.h - Reverted util/check.cpp to original state (no changes needed) The previous implementation incorrectly added entire functions to the .cpp file when the change should only modify the existing macro in the header file to match Bitcoin's functionality while preserving Dash's macro-based structure. Original commit: fa825bd * Remove unrelated change in src/util/check.cpp The change in src/util/check.cpp was unrelated to the Bitcoin commit. Bitcoin's commit modifies the StrFormatInternalBug function, but Dash uses a macro-based approach in the header file instead. The only required change is the format_internal_error macro in src/util/check.h which correctly includes PACKAGE_NAME and FormatFullVersion(). 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com> --------- Co-authored-by: Claude Code <claude@anthropic.com> Co-authored-by: PastaPastaPasta <6443210+PastaPastaPasta@users.noreply.github.com> Co-authored-by: Claude <noreply@anthropic.com>
This will show the unique id of the full source code when the bug occurred, which can help debugging