Conversation
…rovider and Bicep IaC Co-authored-by: ASISaga <[email protected]>
Co-authored-by: ASISaga <[email protected]>
Copilot
AI
changed the title
[WIP] Refactor OpenClaw to serverless Azure Function with native services
Add serverless Azure Function deployment with Table Storage memory provider and Bicep IaC
Feb 16, 2026
ASISaga
approved these changes
Feb 16, 2026
15 tasks
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
Change Type (select all)
Scope (select all touched areas)
Linked Issue/PR
User-visible / Behavior Changes
azure-function/directory with standalone Azure Function App projectinfra/main.bicepfor Azure resource provisioningAzureTableMemoryProviderclass insrc/memory/memory-provider-azure.tsimplementingMemorySearchManager@azure/[email protected],@azure/[email protected]Security Impact (required)
Yes— Azure Function managed identity gets Key Vault Secrets User roleYes—GITHUB_TOKENstored in Key Vault, referenced via@Microsoft.KeyVault()URIYes— Azure Table/Blob Storage SDK calls; Telegram webhook validationNoNoRepro + Verification
Environment
Steps
pnpm installpnpm test src/memory/memory-provider-azure.test.ts— 21 testspnpm check— format + typecheck + lintExpected
pnpm checkcleanActual
Evidence
21 unit tests covering: search scoring/filtering, readFile with line slicing, upsert/delete operations, meta get/set, embedding cache hit/miss, probes, sync no-op, ensureTables, and missing env var error.
Human Verification (required)
pnpm check(format + tsgo + oxlint) passesAZURE_STORAGE_CONNECTION_STRINGthrows, empty search query returns[], minScore filtering, maxResults capping, cache miss returnsundefinedCompatibility / Migration
Yes— purely additive, no existing code paths changedYes— new env vars required only for Azure deployment (AZURE_STORAGE_CONNECTION_STRING,TELEGRAM_BOT_TOKEN, etc.)NoFailure Recovery (if this breaks)
azure-function/,infra/main.bicep,src/memory/memory-provider-azure.tsand its test@azure/data-tablesand@azure/storage-blobfrompackage.jsonRisks and Mitigations
vector.enabled=falseandfts.enabled=falsein status; documented as expected behavior for serverless tier✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.