Repository navigation
Add opt-in problem reports - #129
Merged
Merged
Conversation
…nding - Local plugin log (QGIS message log and a rotating file) with no layer names, paths, attribute values or coordinates. - "Report a problem..." dialog: the user reviews and edits a report (environment, layers, project, recent operations, rotation math, crash and hang dumps from the previous session, opt-in geometries shifted to a local origin), then copies it, opens a pre-filled GitHub issue, sends an email or sends it with one click. Nothing is sent automatically. - Cloudflare Worker receiver (tools/report_worker) that files reports as issues in a private repository; the endpoint and email come from release secrets. - GitHub issue form and privacy note.
- Unticking "Include the geometries" removes the section by its heading, even after edits, and keeps the box ticked with a note when it can't. - Send report fits the report by the size of the JSON body actually sent. - Guard the kept operations with a lock: a Processing run finishes in its worker thread while the report may be built. - Convert recorded geometries to one CRS before shifting them to a local origin. - Correct the Worker comment on the body size check.
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.
Adds opt-in problem reporting. The plugin keeps a local diagnostics log, and when something goes wrong it offers Report a problem…. The user reviews and edits the report before anything leaves their machine. Nothing is ever sent automatically (GDPR/ePrivacy).
What's in it
Parallelizer) and a rotating file in the QGIS profile. No layer names, paths, attribute values or coordinates;scrub()is a second line of defense.@capture_errorson the map tool's event handlers and onprocessAlgorithmrecords unexpected errors and re-raises them.UserInputErrormarks input problems so they aren't recorded as bugs.bug_report.yml);mailto:);tools/report_worker/) that files the report as an issue in a private repository.release.yamlfills inREPORT_EMAILandREPORT_ENDPOINTfrom repository secrets, only in the package. The repo copy ofcontact.pystays empty.site/privacy.md.Before the next release
tools/report_worker/README.md).REPORT_EMAILandREPORT_ENDPOINTrepository secrets. The release workflow fails without them.bug_report.ymlis onmain.Testing
make test-all: 134 passed; Workernode --test: 12 passed; pre-commit clean.mailto:link;wrangler devin dry-run mode (201).