Skip to content

Add Functions Timer trigger templates for Python, JavaScript, TypeScript, PowerShell, and Java#844

Open
Copilot wants to merge 2 commits into
mainfrom
copilot/add-functions-timer-samples
Open

Add Functions Timer trigger templates for Python, JavaScript, TypeScript, PowerShell, and Java#844
Copilot wants to merge 2 commits into
mainfrom
copilot/add-functions-timer-samples

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 24, 2026

Follow-up to #839 — adds the remaining Azure Functions Timer trigger quickstart templates across all supported languages.

Templates added to templates.json

  • Pythonfunctions-quickstart-python-azd-timer
  • JavaScriptfunctions-quickstart-javascript-azd-timer
  • TypeScriptfunctions-quickstart-typescript-azd-timer
  • PowerShellfunctions-quickstart-powershell-azd-timer
  • Javafunctions-quickstart-java-azd-timer

All entries follow the existing .NET timer template pattern: Microsoft-authored, Flex Consumption deployment, Bicep IaC, with functions, managedidentity, vnets, and appinsights as Azure services. PowerShell uses powershell in tags (not languages) consistent with other PowerShell templates since it's defined as type: "Tools" in tags.tsx.

…Shell, and Java

Agent-Logs-Url: https://github.com/Azure/awesome-azd/sessions/4fb013cc-3fa6-438b-9fed-a4ebbc3ba0c0

Co-authored-by: hemarina <104857065+hemarina@users.noreply.github.com>
Copilot AI changed the title [WIP] Add Functions Timer samples for multiple languages to AZD Gallery Add Functions Timer trigger templates for Python, JavaScript, TypeScript, PowerShell, and Java Apr 24, 2026
Copilot AI requested a review from hemarina April 24, 2026 16:37
@hemarina hemarina marked this pull request as ready for review April 28, 2026 01:55
Copilot AI review requested due to automatic review settings April 28, 2026 01:55
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds the remaining Azure Functions Timer trigger quickstart templates to the Awesome AZD gallery, aligning with the existing Azure Functions quickstart pattern and enabling discovery across multiple languages.

Changes:

  • Added 5 new Azure Functions Timer trigger template entries (Python, JavaScript, TypeScript, PowerShell, Java).
  • Tagged templates as Microsoft-authored with Flex Consumption deployment-related Azure service tags and Bicep IaC.

Comment on lines +7227 to +7232
"title": "Azure Functions Python Timer Trigger using Azure Developer CLI",
"description": "This repository contains an Azure Functions Timer trigger quickstart written in Python and deployed to Azure Functions Flex Consumption using the Azure Developer CLI (azd). The sample uses managed identity and a virtual network to make sure deployment is secure by default.",
"preview": "./templates/images/test.png",
"authorUrl": "https://github.com/Azure-Samples",
"author": "Azure Functions Team",
"source": "https://github.com/Azure-Samples/functions-quickstart-python-azd-timer",
Copy link

Copilot AI Apr 28, 2026

Choose a reason for hiding this comment

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

These entries are tagged as Microsoft-authored ("msft"). Per the repo’s template review guidelines, please include a link to a test pipeline run or other proof (e.g., screenshots/logs) showing that each of these templates successfully deploys with azd up.

Copilot generated this review using guidance from repository custom instructions.
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.

@im-samz Could you provide proof of test run for these templates?

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.

Talked to @im-samz offline and he is no longer in Functions and would like to get testing from manual test team.

@v-xuto Could you test these templates please?

Copy link
Copy Markdown
Member

@v-xuto v-xuto May 25, 2026

Choose a reason for hiding this comment

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

@hemarina Sure. We will start testing these templates today.

Copy link
Copy Markdown
Member

@jongio jongio left a comment

Choose a reason for hiding this comment

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

5 timer-trigger templates following the existing .NET pattern. Tag validation passes (all defined in tags.tsx, correct placement), all source repos exist and are public, UUIDs are unique, tests pass (336/336).

Two items before this can merge:

  1. Merge conflicts - this PR conflicts with main and needs a rebase.
  2. Deployment proof - these are msft-tagged templates. @hemarina can you provide a test pipeline link or screenshots showing each template deploys successfully with azd up?

Minor: the descriptions say "make sure deployment is secure by default" and reference "azd" (lowercase), while the existing .NET timer template uses "ensure it's secure by default" and "AZD" (uppercase). Not blocking, but worth aligning for consistency.

Comment thread website/static/templates.json
@kristenwomack
Copy link
Copy Markdown
Collaborator

Thanks for this! Timer trigger across all 5 supported languages in a single PR is exactly the bundling pattern we want — gives Functions devs a complete language matrix in one gallery update.

Two asks before merge:

  1. Proof of successful deploy for each language. Since this is msft and covers 5 templates, ideally a single test pipeline run that exercises Python / JS / TS / PowerShell / Java Timer triggers, or 5 quick azd up logs. cc @paulyuk for visibility / sign-off on the Functions Timer story.

  2. Rebase against main — this currently shows a conflict. Once Add functions-quickstart-javascript-azd-cosmosdb to awesome-azd gallery #877/Add functions-quickstart-java-azd-cosmosdb to awesome-azd gallery #878/Add functions-quickstart-powershell-azd-cosmosdb to awesome-azd gallery #879 (the Cosmos set) merge it'll likely conflict harder, so worth coordinating order.

@wbreza
Copy link
Copy Markdown
Contributor

wbreza commented May 20, 2026

Friendly nudge — this PR has been idle since 4/28 and now has an active merge conflict against main.

Two items remain blocking before merge:

  1. Deploy proof for all 5 msft templates@hemarina please share a test pipeline link or azd up output/screenshots for each of Python / JavaScript / TypeScript / PowerShell / Java. A single pipeline run that exercises all 5 is ideal.
  2. Rebase against main — the PR currently conflicts. Worth doing before the Cosmos set (Add functions-quickstart-javascript-azd-cosmosdb to awesome-azd gallery #877/Add functions-quickstart-java-azd-cosmosdb to awesome-azd gallery #878/Add functions-quickstart-powershell-azd-cosmosdb to awesome-azd gallery #879) merges and increases conflict surface.

Also (non-blocking, from @jongio's earlier review): consider aligning the descriptions with the existing .NET Timer entry — "ensure it's secure by default" and AZD (uppercase) for consistency across the Functions Timer set.

Repo-standards checks all pass on the current diff: tag placement is correct, PowerShell is in tags per convention, all 5 source repos exist on Azure-Samples, no aicollection misuse, 5 unique UUIDs.

Copy link
Copy Markdown
Collaborator

@kristenwomack kristenwomack left a comment

Choose a reason for hiding this comment

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

Thanks @v-xuto for running these through manual test and filing the 6 issues, that's exactly the validation this PR needed. And thanks @hemarina for coordinating the handoff after @im-samz moved off Functions.

Reading through the filed issues, I don't think we should merge yet. A quick triage:

  • Blocking: java/issues/2func start fails per the README. That breaks the quickstart story we're shipping into the gallery, so the Java template shouldn't land until that's resolved.
  • Should fix before merge: the two PowerShell Codespaces issues (#3, #4). "Try it in Codespaces" is a primary CTA in the gallery; if Codespaces is broken, the discovery experience is broken.
  • Nice to fix, not blocking: the three README gaps (Python prereqs, Python VS Code working dir, JavaScript run/debug steps). Could merge with these as fast-follow if the above two are resolved.

A couple of options to keep this moving:

  1. Split the PR — merge Python / JavaScript / TypeScript now (with the README fixes as fast-follows on those repos), and hold Java + PowerShell until their blockers clear.
  2. Hold the whole PR until the Java and PowerShell blockers are fixed and v-xuto re-verifies, then merge as one set.

@hemarina, do you have a preference? Either way, also still pending: the rebase against main, and Jon's earlier nit about description consistency with the existing .NET Timer entry ("ensure it's secure by default" and AZD uppercase).

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.

[New azd-template] Adding Functions Timer samples (Python, JavaScript, TypeScript, PowerShell, & Java) to AZD Gallery

7 participants