Skip to content

Removing unnecessary env vars from the LR workflow #8725

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

ytimocin
Copy link
Contributor

@ytimocin ytimocin commented Mar 3, 2025

Description

Removing unnecessary environment variables from the LR workflow for cleaning up some of the code.

Type of change

  • This pull request is a minor refactor, code cleanup, test improvement, or other maintenance task and doesn't change the functionality of Radius (issue link optional).

Contributor checklist

Please verify that the PR meets the following requirements, where applicable:

  • An overview of proposed schema changes is included in a linked GitHub issue.
    • Yes
    • Not applicable
  • A design document PR is created in the design-notes repository, if new APIs are being introduced.
    • Yes
    • Not applicable
  • The design document has been reviewed and approved by Radius maintainers/approvers.
    • Yes
    • Not applicable
  • A PR for the samples repository is created, if existing samples are affected by the changes in this PR.
    • Yes
    • Not applicable
  • A PR for the documentation repository is created, if the changes in this PR affect the documentation or any user facing updates are made.
    • Yes
    • Not applicable
  • A PR for the recipes repository is created, if existing recipes are affected by the changes in this PR.
    • Yes
    • Not applicable

@ytimocin ytimocin requested review from a team as code owners March 3, 2025 23:17
Copy link

github-actions bot commented Mar 3, 2025

Unit Tests

3 625 tests  ±0   3 623 ✅ ±0   6m 19s ⏱️ -3s
  295 suites ±0       2 💤 ±0 
    1 files   ±0       0 ❌ ±0 

Results for commit c446c7a. ± Comparison against base commit d247367.

♻️ This comment has been updated with latest results.

@ytimocin ytimocin force-pushed the ytimocin/wfls/lr/refactor/v0 branch from 980a18d to 0d19dd3 Compare March 3, 2025 23:57
Copy link

codecov bot commented Mar 4, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 59.90%. Comparing base (bbb1d24) to head (c446c7a).
Report is 56 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8725      +/-   ##
==========================================
+ Coverage   59.88%   59.90%   +0.01%     
==========================================
  Files         596      596              
  Lines       40512    40512              
==========================================
+ Hits        24261    24267       +6     
+ Misses      14423    14419       -4     
+ Partials     1828     1826       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

lakshmimsft
lakshmimsft previously approved these changes Mar 4, 2025
echo "RAD_CLI_ARTIFACT_NAME=rad_cli_linux_amd64" >> $GITHUB_OUTPUT
echo "PR_NUMBER=${{ env.PR_NUMBER }}" >> $GITHUB_OUTPUT
echo "BICEP_RECIPE_TAG_VERSION=pr-${UNIQUE_ID}" >> $GITHUB_OUTPUT # Add this line
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: we do not need " # Add this line"

# Container registry for storing container images
CONTAINER_REGISTRY: ghcr.io/radius-project/dev
# Container registry for storing Bicep recipe artifacts
BICEP_RECIPE_REGISTRY: ghcr.io/radius-project/dev
# The radius functional test timeout
FUNCTIONALTEST_TIMEOUT: 60m
TEST_TIMEOUT: 60m
Copy link
Contributor

Choose a reason for hiding this comment

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

Curious why are we changing this?

@@ -110,16 +103,17 @@ jobs:
SKIP_BUILD: ${{ steps.skip-build.outputs.SKIP_BUILD }}
REL_VERSION: ${{ steps.gen-id.outputs.REL_VERSION }}
UNIQUE_ID: ${{ steps.gen-id.outputs.UNIQUE_ID }}
PR_NUMBER: ${{ steps.gen-id.outputs.PR_NUMBER }}
Copy link
Contributor

Choose a reason for hiding this comment

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

Was this not being used?

echo "RAD_CLI_ARTIFACT_NAME=rad_cli_linux_amd64" >> $GITHUB_OUTPUT
echo "PR_NUMBER=${{ env.PR_NUMBER }}" >> $GITHUB_OUTPUT
echo "BICEP_RECIPE_TAG_VERSION=pr-${UNIQUE_ID}" >> $GITHUB_OUTPUT
Copy link
Contributor

Choose a reason for hiding this comment

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

What's the motivation to move it to uuid instead of release version?

Copy link
Contributor

@kachawla kachawla left a comment

Choose a reason for hiding this comment

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

Are some of these changes applicable to the functional tests workflow as well?

Copy link
Contributor

@kachawla kachawla left a comment

Choose a reason for hiding this comment

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

Was there a testing issue in creating this PR from a fork?

@kachawla
Copy link
Contributor

@ytimocin could you take a look at the PR comments and close on this PR?

@ytimocin ytimocin closed this Apr 15, 2025
@ytimocin
Copy link
Contributor Author

@ytimocin could you take a look at the PR comments and close on this PR?

I will close this for now and will get back to that if I have time later.

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.

3 participants