Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented Dec 26, 2025

Automated release PR.

Calen Varek added 5 commits December 24, 2025 18:06
… and logger

- Add tests for new error types (CommandError, ArgumentError) and verify Error properties.
- Extend GitHub tests with many edge cases and error scenarios:
  - prompt function behavior and setter
  - GitHub API error propagation and missing env handling
  - workflow parsing (invalid YAML, release/push triggers, tag patterns)
  - issue/PR edge cases (large bodies, title truncation, reuse existing PR, branch mismatch)
  - milestone-related flows (empty lists, not found, already closed, moving issues)
  - comment/missing-fields handling and API response robustness
- Add comprehensive issue-handling tests:
  - serialize/deserialize complex issues, category & priority coverage, suggestion lists
  - formatting/markdown expectations and label checks
  - behavior when GitHub issue creation fails or returns empty/whitespace responses
  - enforce fetch limit capping
- Augment logger tests:
  - include vi mocking/cleanup, verify all logger methods, and ensure default console usage behaves as expected
  - add spies and restore console methods

chore: regenerate package-lock.json
- Update lockfile (package-lock.json) to reflect dependency resolution / install changes.
- Convert escaped newline/tab/carriage-return sequences (\\n, \\r, \\t) in the release title and body into actual characters before calling octokit.repos.createRelease.
- Rationale: release notes produced via JSON serialization or agentic/automated systems can contain literal escaped sequences (e.g. "line1\\nline2"), which GitHub would render as the literal text instead of line breaks. Unescaping ensures multi-line content displays correctly in the release description.
- Implementation: added explicit .replace calls to transform common escaped sequences for both title and notes and pass the unescaped values to the GitHub API.
- Note: this changes behavior for any release content that intentionally contains literal backslash sequences — those will now be converted to control characters. Adjust tests or callers if they relied on literal escaped sequences.
…file

- Update package.json: @eldrforge/git-tools ^0.1.11 -> ^0.1.13
- Regenerate package-lock.json to reflect the new dependency resolution

No code changes; lockfile updated to match the dependency bump.
- Update package.json version from "0.1.15-dev.0" to "0.1.15" to mark a release-ready package.
- No other code or dependency changes included.
@github-advanced-security
Copy link

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

@ghost ghost merged commit fbe6a4d into main Dec 26, 2025
5 checks passed
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant