Skip to content

Conversation

@ElessarST
Copy link
Contributor

Please add a meaningful description for your change here
I added support streaming output and handling new execution statuses on the frontend.

Now execution status provides an output that is showing at the UI before finishing execution.


Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

  • Choose reviewer(s) and mention them in a comment (R: @username).
  • Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
  • Update CHANGES.md with noteworthy changes.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

ValidatesRunner compliance status (on master branch)

Lang ULR Dataflow Flink Samza Spark Twister2
Go --- Build Status Build Status Build Status Build Status ---
Java Build Status Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Python --- Build Status
Build Status
Build Status
Build Status
Build Status
Build Status Build Status ---
XLang Build Status Build Status Build Status Build Status Build Status ---

Examples testing status on various runners

Lang ULR Dataflow Flink Samza Spark Twister2
Go --- --- --- --- --- --- ---
Java --- Build Status
Build Status
Build Status
--- --- --- --- ---
Python --- --- --- --- --- --- ---
XLang --- --- --- --- --- --- ---

Post-Commit SDK/Transform Integration Tests Status (on master branch)

Go Java Python
Build Status Build Status Build Status
Build Status
Build Status

Pre-Commit Tests Status (on master branch)

--- Java Python Go Website Whitespace Typescript
Non-portable Build Status
Build Status
Build Status
Build Status
Build Status
Build Status Build Status Build Status Build Status
Portable --- Build Status Build Status --- --- ---

See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.

GitHub Actions Tests Status (on master branch)

Build python source distribution and wheels
Python tests
Java tests

See CI.md for more information about GitHub Actions CI.

@ElessarST
Copy link
Contributor Author

R: @damondouglas

cc: @pabloem


const String kApiClientURL = 'https://datatokenization.uc.r.appspot.com';
const String kApiClientURL =
'https://backend-dot-datatokenization.uc.r.appspot.com';
Copy link
Contributor

Choose a reason for hiding this comment

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

May we consider not hardcoding the URL in the codebase? Apologies that I missed it in an earlier review. One possible way to solve it is using a config.json file like this and this. The friction, however, is that it requires creating and maintaining this file. Perhaps we can add a gradle task that creates this config, acquiring the endpoint URL from a gradle.properties file in playground/frontend/gradle.properties.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@damondouglas, thank you for the suggestion. I pushed a task to generate config.g.dart file, could you please check it?
I chose to generate a dart config file, because it's easier to use in code.

Copy link
Contributor

@damondouglas damondouglas left a comment

Choose a reason for hiding this comment

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

Hello @ElessarST First I deleted any existing beam/frontend/build directory and ran ./gradlew playgroundPrecommit and received an error. Then I ran :playground:frontend:pubGet again and it worked. We should probably update our gradle task to delete any existing build directory in the frontend. I'm going to continue to review this PR.

Copy link
Contributor

@damondouglas damondouglas left a comment

Choose a reason for hiding this comment

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

@ElessarST great work.
@pabloem LGTM

I created https://issues.apache.org/jira/browse/BEAM-13285 as a followup ticket.

@pabloem pabloem merged commit 9a934b7 into apache:master Nov 18, 2021
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.

5 participants