Skip to content
This repository was archived by the owner on Mar 30, 2026. It is now read-only.

Bump Antigravity version fallback to 1.19.4#507

Open
9nunya wants to merge 1 commit intoNoeFabris:mainfrom
9nunya:chore/bump-antigravity-version-to-1.19.4
Open

Bump Antigravity version fallback to 1.19.4#507
9nunya wants to merge 1 commit intoNoeFabris:mainfrom
9nunya:chore/bump-antigravity-version-to-1.19.4

Conversation

@9nunya
Copy link
Copy Markdown

@9nunya 9nunya commented Feb 26, 2026

Summary

Bump the hardcoded Antigravity version fallback from 1.18.3 to 1.19.4.

This fallback is used when the plugin cannot reach the auto-updater API or changelog page (e.g., offline environments, strict firewalls). Having an up-to-date fallback ensures requests aren't rejected with "version no longer supported" errors.

Changes

  • src/constants.ts: Update ANTIGRAVITY_VERSION_FALLBACK from "1.18.3" to "1.19.4"

Note: The test at src/plugin/version.test.ts:31 checks >= 1.18.0, so it will continue to pass with 1.19.4.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Feb 26, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Cache: Disabled due to data retention organization setting

Knowledge base: Disabled due to data retention organization setting

📥 Commits

Reviewing files that changed from the base of the PR and between f0ee206 and 9734e76.

📒 Files selected for processing (1)
  • src/constants.ts
📜 Recent review details
🔇 Additional comments (1)
src/constants.ts (1)

73-73: Fallback version bump looks correct and safely wired.

The updated ANTIGRAVITY_VERSION_FALLBACK value is consistently used by runtime initialization and header generation paths, so this change is coherent as-is.


Walkthrough

The pull request updates the fallback version constant for antigravity from "1.18.3" to "1.19.4" in src/constants.ts. No other code logic, API signatures, or runtime behavior are modified. The initialization and access patterns tied to this constant remain unchanged.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately summarizes the main change: bumping the Antigravity version fallback constant from 1.18.3 to 1.19.4, which is the sole modification in the changeset.
Description check ✅ Passed The description clearly explains the purpose of the version bump, its use case in offline/firewall environments, and references the specific file and constant being changed, all directly related to the changeset.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@kilo-code-bot
Copy link
Copy Markdown
Contributor

kilo-code-bot bot commented Feb 26, 2026

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (1 files)
  • src/constants.ts - Version bump from 1.18.3 to 1.19.4

Analysis: This is a straightforward version number update to the fallback version constant. No issues detected - the change is valid and safe to merge.

@9nunya
Copy link
Copy Markdown
Author

9nunya commented Feb 26, 2026

Note: Reason for pr is because in opencode the antigravity endpoint just spams upgrade please!!! So this should fix that. (and it does)

@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps bot commented Feb 26, 2026

Greptile Summary

This PR bumps the hardcoded Antigravity version fallback from 1.18.3 to 1.19.4. The fallback is used when the plugin cannot reach the auto-updater API or changelog page (e.g., offline environments or strict firewalls), ensuring that User-Agent headers contain a current version that won't be rejected by the backend.

The change is safe and well-justified:

  • The version format is correct (semantic versioning)
  • Existing tests at src/plugin/version.test.ts:31 check for >= 1.18.0 and will continue to pass with 1.19.4
  • The version is used in getAntigravityHeaders() and getRandomizedHeaders() via getAntigravityVersion()
  • Prevents "version no longer supported" errors for users in restricted network environments

Confidence Score: 5/5

  • This PR is safe to merge with no risk
  • Single-line version string update with clear purpose and no breaking changes. The new version satisfies existing test constraints and follows semantic versioning. No logic, syntax, or compatibility issues.
  • No files require special attention

Important Files Changed

Filename Overview
src/constants.ts Updated ANTIGRAVITY_VERSION_FALLBACK from 1.18.3 to 1.19.4 - straightforward version bump with no issues

Last reviewed commit: 9734e76

@9nunya
Copy link
Copy Markdown
Author

9nunya commented Feb 26, 2026

NOTE NOTE: sed -i 's/ANTIGRAVITY_VERSION_FALLBACK = "1.18.3"/ANTIGRAVITY_VERSION_FALLBACK = "1.19.4"/' ~/.cache/opencode/node_modules/opencode-antigravity-auth/dist/src/constants.js

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant