Skip to content

feat: add upgrade nudge#61

Merged
bhdicaire merged 1 commit into
mainfrom
work/nudge
Jun 4, 2026
Merged

feat: add upgrade nudge#61
bhdicaire merged 1 commit into
mainfrom
work/nudge

Conversation

@bhdicaire

Copy link
Copy Markdown
Member

This Pull Request adds a pull-based upgrade nudge for vanityURLs instances.

Detail

This PR adds an opt-in upstream release checker that compares the instance package version to public GitHub releases for vanityURLs/code.

It includes:

  • a reusable upstream release checker
  • a manual node scripts/check-upstream-release.mjs command
  • an opt-in npm run doctor -- --check-upstream notice
  • a monthly GitHub Actions workflow template that opens or updates one tracking issue when an instance is behind
  • documentation for privacy-preserving usage and security-release markers
  • maintenance test coverage for security-release detection

The nudge is dormant by default. It does not phone home, does not send instance links or configuration upstream, and network failures remain non-fatal.

Checks

  • npm run check
  • npm run test:maintenance
  • npm run doctor -- --json
  • npm run doctor -- --json --check-upstream

Notes

The workflow template still uses action version tags. Before enforcing this mechanism broadly, we should pin workflow actions to full commit SHAs.

@bhdicaire bhdicaire self-assigned this Jun 4, 2026
@bhdicaire bhdicaire requested a review from felleg as a code owner June 4, 2026 20:29

@bhdicaire bhdicaire left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maintainer-authored PRs may be merged by the author after required checks pass.
Second human review is required for releases, security-sensitive changes, and repository governance changes.

@bhdicaire bhdicaire merged commit ad5e8d6 into main Jun 4, 2026
2 checks passed
@bhdicaire bhdicaire deleted the work/nudge branch June 4, 2026 20:36
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