Skip to content

Conversation

captainsafia
Copy link
Member

@captainsafia captainsafia commented Feb 23, 2025

Addresses #7437 by rebuilding the Functions project again after the build of test projects to force resolution of trigger metadata correctly before the Functions test runs.

This is a workaround for Azure/azure-functions-dotnet-worker#2969.

@captainsafia captainsafia force-pushed the cs/gha-funcs-fix branch 10 times, most recently from 366f1f7 to 26b35a6 Compare February 25, 2025 18:09
@captainsafia captainsafia marked this pull request as ready for review February 25, 2025 18:22
@Copilot Copilot AI review requested due to automatic review settings February 25, 2025 18:22
Copy link
Contributor

@Copilot 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.

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Comments suppressed due to low confidence (2)

.github/workflows/tests.yml:191

  • Verify that the condition 'matrix.name == "Playground"' correctly identifies the Azure Functions project. If the matrix contains multiple project types, consider a more robust condition to prevent unintended builds.
+        if: matrix.name == 'Playground'

tests/Aspire.Playground.Tests/ProjectSpecificTests.cs:59

  • Confirm that the removal of the ActiveIssue attribute is intentional and that the test now reliably passes. Remove the attribute only after ensuring the underlying issue has been fully resolved.
   -    [ActiveIssue("https://github.com/dotnet/aspire/issues/7437")]

@radical
Copy link
Member

radical commented Feb 25, 2025

Can we add the explanation of the problem, and the workaround being used here to the PR description? I'm guessing that it would be essentially what you said in #7437 (comment) .

@captainsafia
Copy link
Member Author

@eerhardt @radical Added more docs here.

Copy link
Member

@eerhardt eerhardt left a comment

Choose a reason for hiding this comment

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

Assuming the tests pass. LGTM.

@captainsafia captainsafia merged commit 5830c5a into main Feb 25, 2025
71 checks passed
@captainsafia captainsafia deleted the cs/gha-funcs-fix branch February 25, 2025 21:50
@github-actions github-actions bot added the area-integrations Issues pertaining to Aspire Integrations packages label Mar 10, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Apr 9, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-integrations Issues pertaining to Aspire Integrations packages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants