Skip to content

pull lastest upsteam main#36

Merged
genisd merged 6 commits into
gynzyfrom
pull-lastest-upsteam-main
Jun 25, 2026
Merged

pull lastest upsteam main#36
genisd merged 6 commits into
gynzyfrom
pull-lastest-upsteam-main

Conversation

@genisd

@genisd genisd commented Jun 25, 2026

Copy link
Copy Markdown
Member

Summary

Changes

Testing

  • Tests pass (pnpm turbo test)
  • Typechecks pass (pnpm turbo typecheck)

Related

Closes #

Screenshots

nethi and others added 6 commits April 21, 2026 05:56
…inference (jonwiggins#463)

* fix: gemini agent — settings validation, parser crash, and exit code inference

Three bugs preventing Gemini tasks from running end-to-end:

- settings.json rejected "yolo" as defaultApprovalMode (valid values are
  'default' | 'auto_edit' | 'plan'); mapped to "auto_edit" since yolo mode
  is still applied via the --approval-mode CLI flag
- tool_result events with undefined output crashed the parser because
  JSON.stringify(undefined) returns undefined rather than a string
- inferExitCode matched the bare string "GEMINI_API_KEY" as an auth error,
  causing false positives; now requires error-descriptive context words

Also adds gemini and openclaw to AgentTypeSchema which was missing them.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* test(agent-adapters): update gemini settings approval mode assertion

settings.json general.defaultApprovalMode requires "default" | "auto_edit" | "plan".
"yolo" is not a valid enum value — it can only be enabled via CLI flag
(--yolo or --approval-mode=yolo). See:
https://geminicli.com/docs/reference/configuration/

Update the test expectation to reflect that the adapter maps "yolo" → "auto_edit"
for the settings file while keeping the CLI flag as-is.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Ramesh Nethi <r.nethi@gogatewayai.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
- Fix kubeVersion constraint to allow GKE pre-release versions (>=1.33.0-0)
- Add WebSocket appProtocol annotation to API service for proper Gateway routing
- Support existing Gateway via configurable parentRefs in HTTPRoute
- Add --platform flag to image build script for multi-architecture builds

These changes enable deployment on GKE clusters with Gateway API and improve
cross-platform image building for ARM/AMD64 architectures.

Co-authored-by: Ramesh Nethi <r.nethi@gogatewayai.com>
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
The two-pass drift correction used setHours() (local time) and only
accounted for whole-hour drift. On systems with sub-hour UTC offsets
(e.g. IST = UTC+5:30) this introduced a 30-minute error, causing
off-peak transition times to be calculated incorrectly.

Fix: use setTime() with a millisecond-precision drift that includes
the minute component from getETComponents.

Co-authored-by: Ramesh Nethi <r.nethi@gogatewayai.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
The K8s securityContext in k8s-workload-service.ts sets runAsUser=1001,
but the base image was creating the agent user with UID 1000. This
mismatch caused git to fail with permission errors because:

- Pod runs as UID 1001 (no matching user in /etc/passwd)
- No HOME directory set for UID 1001
- Git falls back to / for .gitconfig
- Permission denied: /.gitconfig

Fix:
- Changed agent user from UID 1000 to UID 1001
- Removed ubuntu user deletion (no longer needed - agent naturally gets 1001)
- Simplified Dockerfile by removing unnecessary steps

This aligns with commit eeaa4ba which changed K8s to UID 1001.

Co-authored-by: Ramesh Nethi <r.nethi@gogatewayai.com>
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
@genisd genisd merged commit ced1752 into gynzy Jun 25, 2026
15 checks passed
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.

3 participants