Repository navigation
feat(emulators): add multi-account Google Gmail/Calendar v3 and Slack V2 file uploads - #2396
Merged
Merged
Conversation
NubsCarson
had a problem deploying
to
turbo-cache-read
December 4, 2026 19:47 — with
GitHub Actions
Error
NubsCarson
had a problem deploying
to
turbo-cache-read
December 4, 2026 19:47 — with
GitHub Actions
Error
NubsCarson
temporarily deployed
to
turbo-cache-read
December 4, 2026 19:47 — with
GitHub Actions
Inactive
NubsCarson
temporarily deployed
to
turbo-cache-read
December 4, 2026 19:47 — with
GitHub Actions
Inactive
NubsCarson
temporarily deployed
to
turbo-cache-read
December 4, 2026 19:47 — with
GitHub Actions
Inactive
NubsCarson
temporarily deployed
to
turbo-cache-read
December 4, 2026 19:47 — with
GitHub Actions
Inactive
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Expands
@repo/eliza-harnessoffline service emulators (tracking #2382) so multi-account Google Workspace and Slack Stage 2 file-upload flows run deterministically offline over loopback HTTP:packages/eliza-harness/src/providers/google-gmail.ts):googleGmailFake(seed, clientSecret)andqaGmail(now, email)while isolating per-account mailboxes, drafts, calendars, and events viaseed.accounts+x-qa-google-email/login_hint./gmail/v1/users/me/drafts,/drafts/:idwithformat=raw,/drafts/send,/messages/sendwith RFC 2822 base64urlrawparsing andrfc822msgid:search)./calendar/v3/users/me/calendarList,/calendarList/:calId,/calendars/:calId/eventslist/get/insert/patch/put/delete withIf-MatchETag412,409duplicate ID,showDeleted=true, and/calendar/v3/freeBusy).FaultArmory+/__control/{fault,reset,state,revoke}(including401invalid_grantrefresh expiry and429RESOURCE_EXHAUSTEDwithRetry-After) and exports standalone loopbackstartGoogleProvider.packages/eliza-harness/src/providers/slack-provider.ts,packages/eliza-harness/src/providers/shared.ts):POST /api/files.getUploadURLExternal, unauthenticated loopback binary/multipart upload sinkPOST|PUT /__upload/:fileId,POST /api/files.completeUploadExternal(channel and thread targeting, JSON or form-urlencodedfiles), and auth-gatedGET /__files/:fileIddownloads.filesattachments acrossconversations.history,conversations.replies,search.messages, and live SSEmessageevents; raises defaultstartSlackProvidermaxBodyBytesto8 MiBand addsfiles:read,files:writetoDEFAULT_USER_SCOPES.emulators/manifest.json,packages/eliza-harness/src/index.ts):contractHashand notes forgoogleandslack;provider-routes.ts,spec/, andgen/are untouched so all 4 verified services (cartesia,cerebras,google-maps,stripe) remainverified.Verification
pnpm --filter @repo/eliza-harness test: 3/3 files, 23/23 tests PASS (providers.test.ts14/14,services.test.ts3/3,harness.test.ts6/6)pnpm --filter @repo/eliza-harness typecheck+build: PASS (0 errors)pnpm cli emulate audit: PASS (946 src files scanned, 13/13 covered, 0 uncovered)pnpm cli emulate status: 4 verified, 9 unverified, 0 staleeslint --max-warnings 0andjscpd --threshold 0on all 5 touched.tsfiles: PASS (0 warnings, 0 clones)pnpm no-bun,git diff --check: PASS