Skip to content
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

[monodocs] Fix build failure #5425

Merged
merged 1 commit into from
May 29, 2024
Merged

[monodocs] Fix build failure #5425

merged 1 commit into from
May 29, 2024

Conversation

eapolinario
Copy link
Contributor

Why are the changes needed?

We're seeing build failures (e.g. ) caused by flyteorg/flytesnacks#1660.

What changes were proposed in this pull request?

Update line numbers to match new lines.

How was this patch tested?

Setup process

Screenshots

Check all the applicable boxes

  • I updated the documentation accordingly.
  • All new and existing tests passed.
  • All commits are signed-off.

Related PRs

Docs link

Signed-off-by: Eduardo Apolinario <[email protected]>
Copy link

codecov bot commented May 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 61.99%. Comparing base (d04cf66) to head (67045ad).
Report is 133 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5425      +/-   ##
==========================================
+ Coverage   61.10%   61.99%   +0.89%     
==========================================
  Files         793      611     -182     
  Lines       51164    36383   -14781     
==========================================
- Hits        31265    22557    -8708     
+ Misses      17027    11861    -5166     
+ Partials     2872     1965     -907     
Flag Coverage Δ
unittests-datacatalog 69.31% <ø> (ø)
unittests-flyteadmin ?
unittests-flytecopilot 17.79% <ø> (ø)
unittests-flytectl 68.31% <ø> (ø)
unittests-flyteidl 79.30% <ø> (ø)
unittests-flyteplugins 61.94% <ø> (ø)
unittests-flytepropeller 57.32% <ø> (ø)
unittests-flytestdlib 65.80% <ø> (-0.03%) ⬇️

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

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

@@ -83,7 +83,7 @@ You can run the workflow locally as follows:

```{rli} https://raw.githubusercontent.com/flyteorg/flytesnacks/master/examples/data_types_and_io/data_types_and_io/folder.py
Copy link
Contributor Author

@eapolinario eapolinario May 28, 2024

Choose a reason for hiding this comment

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

@neverett , this could have been caught in flyteorg/flytesnacks#1660 if this reference didn't mention master as the branch, but the branch name was not used, which means that only after this was merged to master the error manifests itself.

This seems to be a pattern in our docs, but I'm wondering if we shouldn't lean on a bit of automation to catch these at PR time.

Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah, we do reference master in all the places where we use the rli directive. I'm in favor of automation to catch these at PR time, although I'm not sure what that would look like -- I can make a Linear ticket to investigate.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It turns out that we had another failure (fixed in #5428). Notice how in the aforementioned PR we're trading staleness (as in changes to the original file will not be reflected to the docs since we're pointing to a specific SHA) for consistency.

@neverett , can you open a Linear ticket to discuss which approach we should take going forward?

Copy link
Contributor

Choose a reason for hiding this comment

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

@eapolinario in the interest of avoiding build failures, I'll switch all rli URLs to SHAs for now, plus open a ticket so we can discuss how we want to approach this long term. When I started the work of separating docs from example code, the user guide examples were fairly stable, but they've seen a lot of activity in the last few weeks, and I assume will continue to be updated regularly going forward.

@eapolinario eapolinario mentioned this pull request May 28, 2024
3 tasks
@eapolinario eapolinario merged commit 75b33f8 into master May 29, 2024
49 of 50 checks passed
@eapolinario eapolinario deleted the eapolinario-patch-2 branch May 29, 2024 04:55
robert-ulbrich-mercedes-benz pushed a commit to robert-ulbrich-mercedes-benz/flyte that referenced this pull request Jul 2, 2024
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