Tags: amasser/panicparse
Tags
Merge back CLI tools from v2.1.0. Confirms that it makes v1 work with go1.16. With this: go get github.com/maruel/panicparse/cmd/pp does the right thing! It leverages an updated version of cmd/ and internal/, and then uses stack@v2 instead of stack/ here. Found a way to hack my way through: - Copied .github/workflows/test.yaml from v2.1.0. - Deleted all of vendor/. It was breaking the CI tests. - Updated stack/context_test.go to make it work with go1.16. - Updated stack/context_test.go to make it work with all of vendor/ removed. - Use v2.1.0 version of the executables in cmd/ and //main.go. - Use v2.1.0 version of the internal/. - Copied stack@v2.1.0 back into vendor/github.com/maruel/panicparse/v2/stack. Since older Go versions still look into it, they are able to load v2 even if go modules are disabled.
github actions: tweak caching Another try to improve caching. I experimented with my repository msgbus and this new configuration seems to work better. restore-keys it doesn't seem to work as expected, it seems to always cause the step to restore from the default key, which is quite weird.
stack: fix race ToHTML address format to hex A pointer in decimal isn't particularly useful.
stack: speed up pass through by 1.9x Use lower level bufio functionality, work in []byte instead of string, saving a ton of memory copy and making the pass through much faster. Interestingly parsing became a tad slower with more memory allocation. It is unclear to me where they occurs.
PreviousNext