GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat: add M2 update check by anandh8x · Pull Request #16 · Twigpine/zero

Conversation

@anandh8x

@anandh8x anandh8x commented Jun 2, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • add zero update --check for latest GitHub release comparison
  • add JSON output for automation and docs for the M2 check-only update flow
  • centralize the CLI version constant used by commander and update checks

Validation

  • bun test
  • bun run typecheck
  • bun run build
  • bun run smoke:build
  • bun run package:release
  • compiled ./zero update --check --json with a stubbed release endpoint

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
anandh8x added 2 commits June 2, 2026 23:37
@anandh8x
Add M2 update check command
71c05fa
@anandh8x
Harden update check version and timeout
efe20dc
@anandh8x

anandh8x commented Jun 2, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Collaborator Author

Pushed a follow-up commit: efe20dc Harden update check version and timeout.

What changed:

  • derive ZERO_VERSION from package.json so release bumps have one source of truth
  • add a 5s default update-check timeout and pass AbortSignal through the fetch path
  • document ZERO_UPDATE_RELEASE_URL precedence and allow full URLs or owner/repo slugs
  • add tests for version sync, timeout signal wiring, endpoint precedence, and --json output

Validation:

  • bun test 109/109
  • bun run typecheck
  • bun run build
  • bun run smoke:build
  • bun run package:release
  • compiled ./zero --version and ./zero update --check --json with a stubbed endpoint
  • GitHub CI green on Ubuntu, macOS, and Windows
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

gnanam1990
gnanam1990 approved these changes Jun 3, 2026
View reviewed changes

@gnanam1990 gnanam1990 left a comment

Copy link
Copy Markdown
Collaborator

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Reviewed by Hermes Agent. I checked the update-check implementation, CLI wiring, docs, and test coverage. Local validation passed with npx bun: bun test, bun run typecheck, and bun run build. LGTM.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@Vasanthdev2004

Vasanthdev2004 commented Jun 3, 2026

Copy link
Copy Markdown
Collaborator

Blockers

None found.

Non-Blocking

  • zero update --check currently returns a provider-style failure when GitHub has no latest release yet. That matches the documented check-failed behavior, but once releases start this should be fine.
  • feat: add M2 update check #16 and [codex] add m1 headless exec surface #17 both touch src/index.ts; I tested the combined merge path and it passes, but preserve both command registrations if resolving manually.

Looks Good

  • ZERO_VERSION now comes from package.json, so release bumps have one source of truth.
  • Endpoint resolution handles default repo, full URLs, and owner/repo slugs, with a 5s abort signal wired through fetch.
  • JSON output is covered and suitable for automation.
  • Validation passed locally in an isolated worktree: 109/109 tests, typecheck, build, smoke, package release, and diff-check. Combined feat: add M2 update check #16 + [codex] add m1 headless exec surface #17 merge also passed 117/117 tests and build.

Verdict: Approve — clean check-only update flow for M2.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Vasanthdev2004
Vasanthdev2004 approved these changes Jun 3, 2026
View reviewed changes

@Vasanthdev2004 Vasanthdev2004 left a comment

Copy link
Copy Markdown
Collaborator

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Approved — update check flow, timeout/endpoint handling, JSON output, and version source-of-truth all checked out.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@Vasanthdev2004 Vasanthdev2004 mentioned this pull request Jun 3, 2026
[codex] add m1 headless exec surface #17
Merged
@anandh8x anandh8x mentioned this pull request Jun 3, 2026
feat: add Zero Anthropic provider #15
Merged
@anandh8x
anandh8x merged commit b801c53 into main Jun 3, 2026
3 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@Vasanthdev2004
Vasanthdev2004 deleted the feat/m2-update-check branch June 28, 2026 08:27
@anandh8x anandh8x mentioned this pull request Jul 4, 2026
polish v2: smoothness & delight #484
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@gnanam1990 gnanam1990 gnanam1990 approved these changes
@Vasanthdev2004 Vasanthdev2004 Vasanthdev2004 approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@anandh8x @Vasanthdev2004 @gnanam1990
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.