Skip to content

fix(cloud): resolve unauthorized error in agent image provisioning#8292

Open
Dexploarer wants to merge 10 commits into
developfrom
codex/mobile-cloud-login-control-plane
Open

fix(cloud): resolve unauthorized error in agent image provisioning#8292
Dexploarer wants to merge 10 commits into
developfrom
codex/mobile-cloud-login-control-plane

Conversation

@Dexploarer

@Dexploarer Dexploarer commented Jun 7, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • keep cloud-managed iOS builds on the cloud bridge instead of falling through to local model downloads
  • request proactive iOS contacts/reminders permissions and keep first-run progress counts aligned
  • personalize shell greetings from persisted owner, device, or cloud user identity and re-render when the name resolves
  • preserve the remote revert of the broader cloud control-plane changes while keeping the iOS first-run fixes

Verification

  • bun run --cwd packages/ui test src/first-run/proactive-ios-permissions.test.ts
  • bun run --cwd packages/ui typecheck
  • bun run --cwd packages/ui lint (passes with 3 existing story noArrayIndexKey warnings)
  • bun run --cwd packages/app test src/ios-runtime.test.ts
  • bun run --cwd packages/app typecheck

Notes

  • Existing PR branch was non-fast-forward; merged origin/codex/mobile-cloud-login-control-plane before pushing.
  • CI is running on head 39d6e7f.

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

@coderabbitai

coderabbitai Bot commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: e094672b-49cf-45d2-9beb-36d86d172863

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/mobile-cloud-login-control-plane

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.

@claude

claude Bot commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

Claude encountered an error —— View job


I'll analyze this and get back to you.

@github-actions

github-actions Bot commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

❌ PR title does not match the required pattern. Please use one of these formats:

  • 'type: description' (e.g., 'feat: add new feature')
  • 'type(scope): description' (e.g., 'chore(core): update dependencies')
    Valid types: feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert, release

@github-actions

github-actions Bot commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

LifeOps Benchmark — eliza

Run ID: lifeops-eliza-27080127404

LifeOps Benchmark

Model: gpt-oss-120b
Judge: claude-opus-4-7
Scenarios: 25
pass@1: 0.000
pass@k: 0.000
Total cost: $0.0000

Full artifacts: see the lifeops-run-eliza-27080127404 upload on this run.

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

@github-actions

github-actions Bot commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

❌ PR title does not match the required pattern. Please use one of these formats:

  • 'type: description' (e.g., 'feat: add new feature')
  • 'type(scope): description' (e.g., 'chore(core): update dependencies')
    Valid types: feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert, release

@claude

claude Bot commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

Claude encountered an error —— View job


I'll analyze this and get back to you.

@github-actions

github-actions Bot commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

LifeOps Benchmark — eliza

Run ID: lifeops-eliza-27080197250

LifeOps Benchmark

Model: gpt-oss-120b
Judge: claude-opus-4-7
Scenarios: 25
pass@1: 0.000
pass@k: 0.000
Total cost: $0.0000

Full artifacts: see the lifeops-run-eliza-27080197250 upload on this run.

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

@Dexploarer Dexploarer changed the title Fix iOS proactive permission boot Fix iOS cloud first-run and proactive permissions Jun 7, 2026
@claude

claude Bot commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

Claude encountered an error —— View job


I'll analyze this and get back to you.

@github-actions

github-actions Bot commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

❌ PR title does not match the required pattern. Please use one of these formats:

  • 'type: description' (e.g., 'feat: add new feature')
  • 'type(scope): description' (e.g., 'chore(core): update dependencies')
    Valid types: feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert, release

@github-actions

github-actions Bot commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

LifeOps Benchmark — eliza

Run ID: lifeops-eliza-27084127755

LifeOps Benchmark

Model: gpt-oss-120b
Judge: claude-opus-4-7
Scenarios: 25
pass@1: 0.000
pass@k: 0.000
Total cost: $0.0000

Full artifacts: see the lifeops-run-eliza-27084127755 upload on this run.

Docker resolves bare image names (e.g. "elizaos/eliza:latest") against
Docker Hub by default, where the Eliza agent image does not exist. This
caused "pull access denied" / "unauthorized" errors when the provisioning
daemon tried to pull images for new agent sandboxes.

Changes:
- Use containersEnv.defaultAgentImage() ("ghcr.io/elizaos/eliza:stable")
  instead of hardcoded bare names in both provisioning paths:
  - packages/cloud-api/eliza-app/provisioning-agent/route.ts
  - packages/cloud-shared/.../eliza-app/provisioning.ts
- Skip docker login when registry credentials are not configured,
  allowing anonymous public pulls from ghcr.io and Docker Hub:
  - packages/cloud-shared/.../registry.ts
  - packages/cloud-shared/.../docker-sandbox-provider.ts
- Add unit test verifying the canonical ghcr.io image is passed:
  - packages/cloud-api/__tests__/provisioning-agent-default-image.test.ts
- Update existing provisioning test assertion to match new image:
  - packages/cloud-shared/.../eliza-app/provisioning.test.ts
- Fix bare image references in mock data and type defaults:
  - plugins/plugin-elizacloud/src/types/cloud.ts
  - packages/test/cloud-mocks/src/control-plane/server.ts
  - packages/test/cloud-mocks/src/control-plane/store.ts
- Add unit test for registry login skip behavior:
  - packages/cloud-shared/.../registry.test.ts

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

@github-actions

github-actions Bot commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

❌ PR title does not match the required pattern. Please use one of these formats:

  • 'type: description' (e.g., 'feat: add new feature')
  • 'type(scope): description' (e.g., 'chore(core): update dependencies')
    Valid types: feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert, release

@claude

claude Bot commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

Claude encountered an error —— View job


I'll analyze this and get back to you.

@github-actions

github-actions Bot commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

LifeOps Benchmark — eliza

Run ID: lifeops-eliza-27088241322

LifeOps Benchmark

Model: gpt-oss-120b
Judge: claude-opus-4-7
Scenarios: 25
pass@1: 0.000
pass@k: 0.000
Total cost: $0.0000

Full artifacts: see the lifeops-run-eliza-27088241322 upload on this run.

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

@github-actions

github-actions Bot commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

❌ PR title does not match the required pattern. Please use one of these formats:

  • 'type: description' (e.g., 'feat: add new feature')
  • 'type(scope): description' (e.g., 'chore(core): update dependencies')
    Valid types: feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert, release

@claude

claude Bot commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

Claude encountered an error —— View job


I'll analyze this and get back to you.

@github-actions

github-actions Bot commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

LifeOps Benchmark — eliza

Run ID: lifeops-eliza-27088404490

LifeOps Benchmark

Model: gpt-oss-120b
Judge: claude-opus-4-7
Scenarios: 25
pass@1: 0.000
pass@k: 0.000
Total cost: $0.0000

Full artifacts: see the lifeops-run-eliza-27088404490 upload on this run.

@Dexploarer Dexploarer changed the title Fix iOS cloud first-run and proactive permissions fix(cloud): resolve unauthorized error in agent image provisioning Jun 7, 2026

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

@claude

claude Bot commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

Claude encountered an error —— View job


I'll analyze this and get back to you.

@github-actions

github-actions Bot commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

LifeOps Benchmark — eliza

Run ID: lifeops-eliza-27088951419

LifeOps Benchmark

Model: gpt-oss-120b
Judge: claude-opus-4-7
Scenarios: 25
pass@1: 0.000
pass@k: 0.000
Total cost: $0.0000

Full artifacts: see the lifeops-run-eliza-27088951419 upload on this run.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant