flyte icon indicating copy to clipboard operation
flyte copied to clipboard

Use SHA instead of master in rli links

Open neverett opened this issue 1 year ago • 1 comments

Why are the changes needed?

When flytesnacks example code is updated, the monodocs build in flyte often breaks because the remoteliteralinclude references in flyte docs point to specific line numbers for that example code in the master branch of flytesnacks. This PR updates the master references to a specific SHA -- essentially prioritizing stability over freshness for example code.

(In the long run, the best solution is probably to move docs to their own repository so monodocs failures don't cause build failures in the flyte repo, and put some automation in place in flytesnacks to test the monodocs build in that repo against remoteliteralinclude references to the specific branch in a given flytesnacks PR.)

What changes were proposed in this pull request?

Updates rli references to point to a URL with a SHA (the most recent SHA in flytesnacks master as of this PR) instead of a reference to the master branch of flytesnacks.

How was this patch tested?

Tested locally with no build failures and code in user guide docs rendered as expected.

Check all the applicable boxes

  • [ ] All new and existing tests passed.
  • [x] All commits are signed-off.

Docs link

TK

neverett avatar May 30 '24 16:05 neverett

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 61.11%. Comparing base (22d81c6) to head (80187f3). Report is 137 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #5434   +/-   ##
=======================================
  Coverage   61.10%   61.11%           
=======================================
  Files         793      793           
  Lines       51169    51169           
=======================================
+ Hits        31269    31270    +1     
+ Misses      17028    17027    -1     
  Partials     2872     2872           
Flag Coverage Δ
unittests-datacatalog 69.31% <ø> (ø)
unittests-flyteadmin 58.90% <ø> (ø)
unittests-flytecopilot 17.79% <ø> (ø)
unittests-flytectl 68.34% <ø> (ø)
unittests-flyteidl 79.30% <ø> (ø)
unittests-flyteplugins 61.94% <ø> (ø)
unittests-flytepropeller 57.32% <ø> (ø)
unittests-flytestdlib 65.82% <ø> (+0.02%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar May 30 '24 16:05 codecov[bot]