Add detailed Melissa credential test console logging #155

Open
lost-rob0t wants to merge 10 commits from agent/melissa-test-console-logging into main
lost-rob0t commented 2026-07-29 23:28:11 +00:00 (Migrated from github.com)

What changed

  • Logs the Melissa Personator test request using a credential-free endpoint and masked key metadata.
  • Logs HTTP status, content type, response size, elapsed time, parsed response body, and final accepted/rejected classification.
  • Logs structured failure details for fetch, response-read, and JSON parsing failures.
  • Adds unit coverage proving the full license key is never written to the logger.

Why

The Settings credential test currently reports only a compact UI summary. A successful HTTP 200 can still hide the Melissa transmission result and parsed payload, making local debugging unnecessarily opaque.

Validation

  • node --check passed for both changed JavaScript files.
  • Added Vitest coverage for all log stages and credential redaction.
  • Full repository checks are left to GitHub Actions because this environment cannot install or execute the repository dependencies.
## What changed - Logs the Melissa Personator test request using a credential-free endpoint and masked key metadata. - Logs HTTP status, content type, response size, elapsed time, parsed response body, and final accepted/rejected classification. - Logs structured failure details for fetch, response-read, and JSON parsing failures. - Adds unit coverage proving the full license key is never written to the logger. ## Why The Settings credential test currently reports only a compact UI summary. A successful HTTP 200 can still hide the Melissa transmission result and parsed payload, making local debugging unnecessarily opaque. ## Validation - `node --check` passed for both changed JavaScript files. - Added Vitest coverage for all log stages and credential redaction. - Full repository checks are left to GitHub Actions because this environment cannot install or execute the repository dependencies.
nsaspy changed title from WIP: Add detailed Melissa credential test console logging to Add detailed Melissa credential test console logging 2026-08-27 19:57:39 +00:00
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin agent/melissa-test-console-logging:agent/melissa-test-console-logging
git switch agent/melissa-test-console-logging

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff agent/melissa-test-console-logging
git switch agent/melissa-test-console-logging
git rebase main
git switch main
git merge --ff-only agent/melissa-test-console-logging
git switch agent/melissa-test-console-logging
git rebase main
git switch main
git merge --no-ff agent/melissa-test-console-logging
git switch main
git merge --squash agent/melissa-test-console-logging
git switch main
git merge --ff-only agent/melissa-test-console-logging
git switch main
git merge agent/melissa-test-console-logging
git push origin main
Sign in to join this conversation.
No description provided.