Skip to content

Conversation

@robertwb
Copy link
Contributor

Previously the accumulator was stored as a Long. This uses
a singleton long[] to avoid the boxing and unboxing on every
increment.

This required changing the Coder (the format actually remains
the same, but we have no way of declaring that) so is not
backwards compatible with reload.

Previously the accumulator was stored as a Long.  This uses
a singleton long[] to avoid the boxing and unboxing on every
increment.

This required changing the Coder (the format actually remains
the same, but we have no way of declaring that) so is not
backwards compatible with reload.
* A {@link CombineFn} that counts elements.
*/
private static class CountFn<T> extends CombineFn<T, Long, Long> {
private static class CountFn<T> extends CombineFn<T, long[], Long> {
Copy link
Member

Choose a reason for hiding this comment

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

Worth a comment explaining that the accumulator is always size 1, and is used as a mutable box for the long.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated.

@kennknowles
Copy link
Member

R: @kennknowles

@kennknowles
Copy link
Member

Jenkins failure is a known breakage not related to this PR.

@davorbonaci
Copy link
Member

Also, @peihe might want to take a look.

@Override
public Long mergeAccumulators(Iterable<Long> accumulators) {
public long[] mergeAccumulators(Iterable<long[]> accumulators) {
long result = 0L;
Copy link
Contributor

Choose a reason for hiding this comment

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

Consider using the following pattern (similar as BinaryCombineFn):
Iterator<long[]> iter = accumulators.iterator();
if (!iter.hasNext()) {
return createAccumulator();
}
long[] running = iter.next();
while (iter.hasNext()) {
running[0] += iter.next()[0];
}
return running;

Optimize for the case of few accumulators.
@robertwb
Copy link
Contributor Author

@peihe Incorporated your suggestion. For a large number of accumulators, this happens to be worse due to the indexing, but I suppose a small number of accumulators is more common. The difference is in the nanosecond-per-element range either way...

for (Long accum : accumulators) {
result += accum;
public long[] mergeAccumulators(Iterable<long[]> accumulators) {
Iterator<long[]> iter = accumulators.iterator();
Copy link
Member

Choose a reason for hiding this comment

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

Forgot to import Iterator.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oops. Done.

@asfgit asfgit closed this in cab0c57 Mar 31, 2016
@dhalperi
Copy link
Contributor

[Just noting that there should be no backport.]

iemejia referenced this pull request in iemejia/beam Jan 12, 2018
mareksimunek pushed a commit to mareksimunek/beam that referenced this pull request May 9, 2018
pabloem pushed a commit that referenced this pull request Nov 16, 2021
…s on Playground Backend

* [BEAM-13251][Playground]
fix all staticcheck issues

* [Playground][BEAM-12941][Bugfix] Fix workflows for playground applications (#83)

* Update workflows for playground

* Attempt to fix tests

* Remove continue on error to catch errors

* Fix linter problem for backend dockerfile

* Update folder to run backend go linter

* Moved flutter test to execution via gradle tasks

* Revert "[Playground][BEAM-12941][Bugfix] Fix workflows for playground applications (#83)" (#88)

This reverts commit b73f5f7.

* [BEAM-13251][Playground]
merge with master

Co-authored-by: Sergey Kalinin <91209855+snkalinin@users.noreply.github.com>
Co-authored-by: Ilya <ilya.kozyrev@akvelon.com>
pabloem pushed a commit that referenced this pull request Nov 16, 2021
…of MustParse with Parse for all API methods

* [BEAM-13177][Playground]
change uuid.MustParse() to uuid.Parse()

* [BEAM-13177][Playground]
fix typos

* [Playground][BEAM-12941][Bugfix] Fix workflows for playground applications (#83)

* Update workflows for playground

* Attempt to fix tests

* Remove continue on error to catch errors

* Fix linter problem for backend dockerfile

* Update folder to run backend go linter

* Moved flutter test to execution via gradle tasks

* Revert "[Playground][BEAM-12941][Bugfix] Fix workflows for playground applications (#83)" (#88)

This reverts commit b73f5f7.

Co-authored-by: Sergey Kalinin <91209855+snkalinin@users.noreply.github.com>
Co-authored-by: Ilya <ilya.kozyrev@akvelon.com>
pabloem pushed a commit that referenced this pull request Nov 18, 2021
…eaming output on the frontend

* [BEAM-13120] update playground statuses

* [BEAM-13210]: add missing statuses

* [Playground][BEAM-12941][Bugfix] Fix workflows for playground applications (#83)

* Update workflows for playground

* Attempt to fix tests

* Remove continue on error to catch errors

* Fix linter problem for backend dockerfile

* Update folder to run backend go linter

* Moved flutter test to execution via gradle tasks

* Revert "[Playground][BEAM-12941][Bugfix] Fix workflows for playground applications (#83)" (#88)

This reverts commit b73f5f7.

* [BEAM-13210]: add task to generate config using gradle properties

* [BEAM-13210]: add licence to gradle.properties

* [BEAM-13210]: update generated config

* [BEAM-13210]: update generate config gradle task

* [BEAM-13210]: rewrite createconfig to groovy

Co-authored-by: Sergey Kalinin <91209855+snkalinin@users.noreply.github.com>
Co-authored-by: Ilya <ilya.kozyrev@akvelon.com>
Co-authored-by: Aydar Zainutdinov <aydar.zaynutdinov@akvelon.com>
pabloem pushed a commit that referenced this pull request Nov 19, 2021
…xamples api

* Add reading of precompiled objects from public bucket

* Change the enum PrecompiledObjectType

* RAT for pb.dart

* [Playground][BEAM-12941][Bugfix] Fix workflows for playground applications (#83)

* Update workflows for playground

* Attempt to fix tests

* Remove continue on error to catch errors

* Fix linter problem for backend dockerfile

* Update folder to run backend go linter

* Moved flutter test to execution via gradle tasks

* Revert "[Playground][BEAM-12941][Bugfix] Fix workflows for playground applications (#83)" (#88)

This reverts commit b73f5f7.

* Add info about meta file

Co-authored-by: Sergey Kalinin <91209855+snkalinin@users.noreply.github.com>
Co-authored-by: Ilya <ilya.kozyrev@akvelon.com>
Co-authored-by: Aydar Zainutdinov <aydar.zaynutdinov@akvelon.com>
pabloem pushed a commit that referenced this pull request Nov 19, 2021
…o send found tagged file to the backend

* [Playground][BEAM-12941][Bugfix] Fix workflows for playground applications (#83)

* Update workflows for playground

* Attempt to fix tests

* Remove continue on error to catch errors

* Fix linter problem for backend dockerfile

* Update folder to run backend go linter

* Moved flutter test to execution via gradle tasks

* Revert "[Playground][BEAM-12941][Bugfix] Fix workflows for playground applications (#83)" (#88)

This reverts commit b73f5f7.

* Add client to send found tagged file to the backend;
Add python proto files;

Co-authored-by: Sergey Kalinin <91209855+snkalinin@users.noreply.github.com>
Co-authored-by: Ilya <ilya.kozyrev@akvelon.com>
Co-authored-by: Aydar Zainutdinov <aydar.zaynutdinov@akvelon.com>
Co-authored-by: daria.malkova <daria.malkova@akvelon.com>
pabloem pushed a commit that referenced this pull request Nov 20, 2021
…on and metadata

* [Playground][BEAM-12941][Bugfix] Fix workflows for playground applications (#83)

* Update workflows for playground

* Attempt to fix tests

* Remove continue on error to catch errors

* Fix linter problem for backend dockerfile

* Update folder to run backend go linter

* Moved flutter test to execution via gradle tasks

* Revert "[Playground][BEAM-12941][Bugfix] Fix workflows for playground applications (#83)" (#88)

This reverts commit b73f5f7.

* [BEAM-13281]: playground - update favicon and metadata

Co-authored-by: Sergey Kalinin <91209855+snkalinin@users.noreply.github.com>
Co-authored-by: Ilya <ilya.kozyrev@akvelon.com>
Co-authored-by: Aydar Zainutdinov <aydar.zaynutdinov@akvelon.com>
pabloem pushed a commit that referenced this pull request Nov 20, 2021
…arch & filter logic

* [BEAM-12967]: Created Examples Component

* [BEAM-12967]: Wrapped CategoryBubble and ExpansionPanelItem in MouseRegion

* [BEAM-13064]: Implemented Search field and Filter by type components logic

* [BEAM-13064]: Fixed names to clarify code, refactored Category model (added const keyword)

* [BEAM-13064]: Increased test coverage of Example Dropdown module

* [BEAM-12967] Added generated files

* [BEAM-12967]: Added license to generated files

* [BEAM-13064]: Fixed sorting functionality, updated tests & mocks

* [BEAM-13064]: Refactored code

* [BEAM-12967]: Deleted duplicate files

* [BEAM-13064] Fixes after merge

* [Playground][BEAM-12941][Bugfix] Fix workflows for playground applications (#83)

* Update workflows for playground

* Attempt to fix tests

* Remove continue on error to catch errors

* Fix linter problem for backend dockerfile

* Update folder to run backend go linter

* Moved flutter test to execution via gradle tasks

* Revert "[Playground][BEAM-12941][Bugfix] Fix workflows for playground applications (#83)" (#88)

This reverts commit b73f5f7.

* [BEAM-13064] Fixed analyze issues

* [BEAM-13064] Fixed example selector state test

Co-authored-by: Sergey Kalinin <91209855+snkalinin@users.noreply.github.com>
Co-authored-by: Ilya <ilya.kozyrev@akvelon.com>
Co-authored-by: Aydar Zainutdinov <aydar.zaynutdinov@akvelon.com>
Co-authored-by: daria.malkova <daria.malkova@akvelon.com>
pabloem pushed a commit that referenced this pull request Nov 23, 2021
…toring LifeCycle

* [Playground][BEAM-12941][Bugfix] Fix workflows for playground applications (#83)

* Update workflows for playground

* Attempt to fix tests

* Remove continue on error to catch errors

* Fix linter problem for backend dockerfile

* Update folder to run backend go linter

* Moved flutter test to execution via gradle tasks

* Revert "[Playground][BEAM-12941][Bugfix] Fix workflows for playground applications (#83)" (#88)

This reverts commit b73f5f7.

* Rename LF executable -> source

* Reanme LF compile -> executables

Co-authored-by: Sergey Kalinin <91209855+snkalinin@users.noreply.github.com>
Co-authored-by: Ilya <ilya.kozyrev@akvelon.com>
Co-authored-by: Aydar Zainutdinov <aydar.zaynutdinov@akvelon.com>
Co-authored-by: Pavel Avilov <pavel.avilov@akvelon.com>
pabloem pushed a commit that referenced this pull request Nov 23, 2021
…e redundant code from controller

* [Playground][BEAM-12941][Bugfix] Fix workflows for playground applications (#83)

* Update workflows for playground

* Attempt to fix tests

* Remove continue on error to catch errors

* Fix linter problem for backend dockerfile

* Update folder to run backend go linter

* Moved flutter test to execution via gradle tasks

* Revert "[Playground][BEAM-12941][Bugfix] Fix workflows for playground applications (#83)" (#88)

This reverts commit b73f5f7.

* Remove redundant methods from controller, move precompiled objects method to separate package

* fix RAT

Co-authored-by: Sergey Kalinin <91209855+snkalinin@users.noreply.github.com>
Co-authored-by: Ilya <ilya.kozyrev@akvelon.com>
Co-authored-by: Aydar Zainutdinov <aydar.zaynutdinov@akvelon.com>
Co-authored-by: Pavel Avilov <pavel.avilov@akvelon.com>
pabloem pushed a commit that referenced this pull request Nov 23, 2021
…ructure to find and validate tagged files

* [Playground][BEAM-12941][Bugfix] Fix workflows for playground applications (#83)

* Update workflows for playground

* Attempt to fix tests

* Remove continue on error to catch errors

* Fix linter problem for backend dockerfile

* Update folder to run backend go linter

* Moved flutter test to execution via gradle tasks

* Revert "[Playground][BEAM-12941][Bugfix] Fix workflows for playground applications (#83)" (#88)

This reverts commit b73f5f7.

* [BEAM-13129][Playground]
Added base structure to find and verify beam examples

Co-authored-by: Sergey Kalinin <91209855+snkalinin@users.noreply.github.com>
Co-authored-by: Ilya <ilya.kozyrev@akvelon.com>
Co-authored-by: daria.malkova <daria.malkova@akvelon.com>
Co-authored-by: Pavel Avilov <pavel.avilov@akvelon.com>
pabloem pushed a commit that referenced this pull request Nov 23, 2021
…eaming output for the run code logs

* [Playground][BEAM-12941][Bugfix] Fix workflows for playground applications (#83)

* Update workflows for playground

* Attempt to fix tests

* Remove continue on error to catch errors

* Fix linter problem for backend dockerfile

* Update folder to run backend go linter

* Moved flutter test to execution via gradle tasks

* Revert "[Playground][BEAM-12941][Bugfix] Fix workflows for playground applications (#83)" (#88)

This reverts commit b73f5f7.

* [BEAM-13156][Playground]
implementation of streaming output for run code output

Co-authored-by: Sergey Kalinin <91209855+snkalinin@users.noreply.github.com>
Co-authored-by: Ilya <ilya.kozyrev@akvelon.com>
pabloem pushed a commit that referenced this pull request Nov 23, 2021
…s using the api

* [BEAM-12967]: Created Examples Component

* [BEAM-12967]: Wrapped CategoryBubble and ExpansionPanelItem in MouseRegion

* [BEAM-13064]: Implemented Search field and Filter by type components logic

* [BEAM-13064]: Fixed names to clarify code, refactored Category model (added const keyword)

* [BEAM-13064]: Increased test coverage of Example Dropdown module

* [BEAM-12967] Added generated files

* [BEAM-12967]: Added license to generated files

* [BEAM-13064]: Fixed sorting functionality, updated tests & mocks

* [BEAM-13064]: Refactored code

* [BEAM-12967]: Deleted duplicate files

* [BEAM-13101]: Implementing new Example structure

* [BEAM-13101] Added getPrecompiledOutputs method

* [BEAM-13101]: Added default examples request, changed RunCode function to use precompiled Outputs

* [BEAM-13101]: Fixed use of precompiledOutputs

* [BEAM-13101]: Auto-formatted files, fixed unit tests

* Change protobuf

* [BEAM-13101] generate proto

* [BEAM-13101] revert generate proto

* [BEAM-13101] Reworked examples structure

* [BEAM-13101] Changed example structure, regenerate proto

* [BEAM-13101] Fixes after merge request

* [BEAM-13101] Example structure fixes, added licenses

* [BEAM-13101] Removed unnecessary file and comment

* [Playground][BEAM-12941][Bugfix] Fix workflows for playground applications (#83)

* Update workflows for playground

* Attempt to fix tests

* Remove continue on error to catch errors

* Fix linter problem for backend dockerfile

* Update folder to run backend go linter

* Moved flutter test to execution via gradle tasks

* Revert "[Playground][BEAM-12941][Bugfix] Fix workflows for playground applications (#83)" (#88)

This reverts commit b73f5f7.

* [BEAM-13101]: fix tests and refactor examples api

* [BEAM-13101]: fix linter issues

* [BEAM-13101]: add licence

* [BEAM-13101]: format code

* [BEAM-13101]: add missing mock file

* [BEAM-13101] Updated .proto file, regenerated proto

* [BEAM-13101] Fixed import in grpc example client

Co-authored-by: Alexander Zhuravlev <stimbai@mail.ru>
Co-authored-by: daria-malkova <daria.malkova@akvelon.com>
Co-authored-by: Alexander <alexander.zhuravlev@akvelon.com>
Co-authored-by: Sergey Kalinin <91209855+snkalinin@users.noreply.github.com>
Co-authored-by: Ilya <ilya.kozyrev@akvelon.com>
Co-authored-by: Aydar Zainutdinov <aydar.zaynutdinov@akvelon.com>
Co-authored-by: Pavel Avilov <pavel.avilov@akvelon.com>
pabloem pushed a commit that referenced this pull request Nov 23, 2021
…oundPrecommit to run on GitHub Actions for pull requests

* [Playground][BEAM-12941][Bugfix] Fix workflows for playground applications (#83)

* Update workflows for playground

* Attempt to fix tests

* Remove continue on error to catch errors

* Fix linter problem for backend dockerfile

* Update folder to run backend go linter

* Moved flutter test to execution via gradle tasks

* Revert "[Playground][BEAM-12941][Bugfix] Fix workflows for playground applications (#83)" (#88)

This reverts commit b73f5f7.

* Create precommit tasks for backend and frontend, replaced separate tests in actions to running precommit

* Added linter to preCommit, updated install terraform via github actions

* Fix typos and install of terraform

Co-authored-by: Ilya <ilya.kozyrev@akvelon.com>
Co-authored-by: Aydar Zainutdinov <aydar.zaynutdinov@akvelon.com>
pabloem pushed a commit that referenced this pull request Nov 23, 2021
…lement copying a prepared go.mod

* [Playground][BEAM-12941][Bugfix] Fix workflows for playground applications (#83)

* Update workflows for playground

* Attempt to fix tests

* Remove continue on error to catch errors

* Fix linter problem for backend dockerfile

* Update folder to run backend go linter

* Moved flutter test to execution via gradle tasks

* Revert "[Playground][BEAM-12941][Bugfix] Fix workflows for playground applications (#83)" (#88)

This reverts commit b73f5f7.

* Implement copying a prepared go.mod and go.sum

Co-authored-by: Sergey Kalinin <91209855+snkalinin@users.noreply.github.com>
Co-authored-by: Ilya <ilya.kozyrev@akvelon.com>
Co-authored-by: Aydar Zainutdinov <aydar.zaynutdinov@akvelon.com>
Co-authored-by: daria.malkova <daria.malkova@akvelon.com>
pabloem pushed a commit that referenced this pull request Nov 23, 2021
… example verification method

* [Playground][BEAM-12941][Bugfix] Fix workflows for playground applications (#83)

* Update workflows for playground

* Attempt to fix tests

* Remove continue on error to catch errors

* Fix linter problem for backend dockerfile

* Update folder to run backend go linter

* Moved flutter test to execution via gradle tasks

* Revert "[Playground][BEAM-12941][Bugfix] Fix workflows for playground applications (#83)" (#88)

This reverts commit b73f5f7.

* Implement an example verification method;
Setup logger;

Co-authored-by: Sergey Kalinin <91209855+snkalinin@users.noreply.github.com>
Co-authored-by: Ilya <ilya.kozyrev@akvelon.com>
Co-authored-by: Aydar Zainutdinov <aydar.zaynutdinov@akvelon.com>
Co-authored-by: daria.malkova <daria.malkova@akvelon.com>
pabloem pushed a commit that referenced this pull request Nov 23, 2021
…rr from stdout for code processing steps

* [Playground][BEAM-12941][Bugfix] Fix workflows for playground applications (#83)

* Update workflows for playground

* Attempt to fix tests

* Remove continue on error to catch errors

* Fix linter problem for backend dockerfile

* Update folder to run backend go linter

* Moved flutter test to execution via gradle tasks

* Revert "[Playground][BEAM-12941][Bugfix] Fix workflows for playground applications (#83)" (#88)

This reverts commit b73f5f7.

* [BEAM-13208][Playground]
separated stdErr and stdOut for compile step

Co-authored-by: Sergey Kalinin <91209855+snkalinin@users.noreply.github.com>
Co-authored-by: Ilya <ilya.kozyrev@akvelon.com>
Co-authored-by: daria.malkova <daria.malkova@akvelon.com>
Co-authored-by: Pavel Avilov <pavel.avilov@akvelon.com>
pabloem pushed a commit that referenced this pull request Nov 28, 2021
…CI checks

* [Playground][BEAM-12941][Bugfix] Fix workflows for playground applications (#83)

* Update workflows for playground

* Attempt to fix tests

* Remove continue on error to catch errors

* Fix linter problem for backend dockerfile

* Update folder to run backend go linter

* Moved flutter test to execution via gradle tasks

* Revert "[Playground][BEAM-12941][Bugfix] Fix workflows for playground applications (#83)" (#88)

This reverts commit b73f5f7.

* [BEAM-13323][Playground]
added processing of err case for utils.SetToCache() method in GetRunOutput() api method

Co-authored-by: Sergey Kalinin <91209855+snkalinin@users.noreply.github.com>
Co-authored-by: Ilya <ilya.kozyrev@akvelon.com>
Co-authored-by: daria.malkova <daria.malkova@akvelon.com>
Co-authored-by: Pavel Avilov <pavel.avilov@akvelon.com>
Co-authored-by: Aydar Farrakhov <stranniknm@gmail.com>
pabloem pushed a commit that referenced this pull request Nov 29, 2021
…n SDK

* [Playground][BEAM-12941][Bugfix] Fix workflows for playground applications (#83)

* Update workflows for playground

* Attempt to fix tests

* Remove continue on error to catch errors

* Fix linter problem for backend dockerfile

* Update folder to run backend go linter

* Moved flutter test to execution via gradle tasks

* Revert "[Playground][BEAM-12941][Bugfix] Fix workflows for playground applications (#83)" (#88)

This reverts commit b73f5f7.

* draft

* Rename LF executable -> source

* Reanme LF compile -> executables

* working python sdk

* Update playground/backend/internal/fs_tool/python_fs_test.go

Co-authored-by: Aydar Zainutdinov <aydar.zaynutdinov@akvelon.com>

* Update playground/backend/internal/fs_tool/python_fs_test.go

Co-authored-by: Aydar Zainutdinov <aydar.zaynutdinov@akvelon.com>

* refactoring + adding dockerfile

* add preparators array (will be filled later)

* fix indentation

* [BEAM-13307][Playground]
Fix tests;
Update processing of the compile step for python sdk;

Co-authored-by: Sergey Kalinin <91209855+snkalinin@users.noreply.github.com>
Co-authored-by: Ilya <ilya.kozyrev@akvelon.com>
Co-authored-by: Aydar Zainutdinov <aydar.zaynutdinov@akvelon.com>
Co-authored-by: Pavel Avilov <pavel.avilov@akvelon.com>
Co-authored-by: Aydar Farrakhov <stranniknm@gmail.com>
pabloem pushed a commit that referenced this pull request Nov 29, 2021
…Preparators

* [Playground][BEAM-12941][Bugfix] Fix workflows for playground applications (#83)

* Update workflows for playground

* Attempt to fix tests

* Remove continue on error to catch errors

* Fix linter problem for backend dockerfile

* Update folder to run backend go linter

* Moved flutter test to execution via gradle tasks

* Revert "[Playground][BEAM-12941][Bugfix] Fix workflows for playground applications (#83)" (#88)

This reverts commit b73f5f7.

* [BEAM-13306][Playground]
Add using of preparators for code processing

* [BEAM-13306][Playground]
Add python preparators

Co-authored-by: Sergey Kalinin <91209855+snkalinin@users.noreply.github.com>
Co-authored-by: Ilya <ilya.kozyrev@akvelon.com>
Co-authored-by: daria.malkova <daria.malkova@akvelon.com>
Co-authored-by: Pavel Avilov <pavel.avilov@akvelon.com>
Co-authored-by: Aydar Farrakhov <stranniknm@gmail.com>
pabloem pushed a commit that referenced this pull request Nov 30, 2021
…to find all tagged files

* [Playground][BEAM-12941][Bugfix] Fix workflows for playground applications (#83)

* Update workflows for playground

* Attempt to fix tests

* Remove continue on error to catch errors

* Fix linter problem for backend dockerfile

* Update folder to run backend go linter

* Moved flutter test to execution via gradle tasks

* Revert "[Playground][BEAM-12941][Bugfix] Fix workflows for playground applications (#83)" (#88)

This reverts commit b73f5f7.

* [BEAM-13135][Playground]
implemented method to find all tagged files;
added categories.yaml file;
added requirements.txt file;

* [BEAM-13135][Playground]
updated categories

Co-authored-by: Sergey Kalinin <91209855+snkalinin@users.noreply.github.com>
Co-authored-by: Ilya <ilya.kozyrev@akvelon.com>
Co-authored-by: daria.malkova <daria.malkova@akvelon.com>
Co-authored-by: Pavel Avilov <pavel.avilov@akvelon.com>
Co-authored-by: Aydar Farrakhov <stranniknm@gmail.com>
pabloem pushed a commit that referenced this pull request Nov 30, 2021
…end doesn't send correct status when use Redis cache instead of local cache

* [Playground][BEAM-12941][Bugfix] Fix workflows for playground applications (#83)

* Update workflows for playground

* Attempt to fix tests

* Remove continue on error to catch errors

* Fix linter problem for backend dockerfile

* Update folder to run backend go linter

* Moved flutter test to execution via gradle tasks

* Revert "[Playground][BEAM-12941][Bugfix] Fix workflows for playground applications (#83)" (#88)

This reverts commit b73f5f7.

* [BEAM-13347][Playground]
Fix to use redis cache

Co-authored-by: Sergey Kalinin <91209855+snkalinin@users.noreply.github.com>
Co-authored-by: Ilya <ilya.kozyrev@akvelon.com>
Co-authored-by: daria.malkova <daria.malkova@akvelon.com>
Co-authored-by: Pavel Avilov <pavel.avilov@akvelon.com>
Co-authored-by: Aydar Farrakhov <stranniknm@gmail.com>
pabloem pushed a commit that referenced this pull request Nov 30, 2021
…_statuses method

* [Playground][BEAM-12941][Bugfix] Fix workflows for playground applications (#83)

* Update workflows for playground

* Attempt to fix tests

* Remove continue on error to catch errors

* Fix linter problem for backend dockerfile

* Update folder to run backend go linter

* Moved flutter test to execution via gradle tasks

* Revert "[Playground][BEAM-12941][Bugfix] Fix workflows for playground applications (#83)" (#88)

This reverts commit b73f5f7.

* [BEAM-13267][Playground]
implemented a method to send examples to the backend to verify them

Co-authored-by: Sergey Kalinin <91209855+snkalinin@users.noreply.github.com>
Co-authored-by: Ilya <ilya.kozyrev@akvelon.com>
Co-authored-by: daria.malkova <daria.malkova@akvelon.com>
Co-authored-by: Pavel Avilov <pavel.avilov@akvelon.com>
Co-authored-by: Aydar Farrakhov <stranniknm@gmail.com>
pabloem pushed a commit that referenced this pull request Nov 30, 2021
…utor builder

* Revert "[Playground][BEAM-12941][Bugfix] Fix workflows for playground applications (#83)" (#88)

This reverts commit b73f5f7.

* Refactor usage of executors

* Merge conflict

Co-authored-by: Ilya <ilya.kozyrev@akvelon.com>
pabloem pushed a commit that referenced this pull request Dec 1, 2021
…ting

* [Playground][BEAM-12941][Bugfix] Fix workflows for playground applications (#83)

* Update workflows for playground

* Attempt to fix tests

* Remove continue on error to catch errors

* Fix linter problem for backend dockerfile

* Update folder to run backend go linter

* Moved flutter test to execution via gradle tasks

* Revert "[Playground][BEAM-12941][Bugfix] Fix workflows for playground applications (#83)" (#88)

This reverts commit b73f5f7.

* [BEAM-13241] Added routing by sdk

* [BEAM-13241] Moved urls to config.g.dart, changed tests

* [BEAM-13241] Changed grpc_example_client route to backend JAVA route

* [BEAM-13241] Fixed routing, added workaround channel

* [BEAM-13241] fix linter issues

* [BEAM-13241] add licences to mocks

Co-authored-by: Sergey Kalinin <91209855+snkalinin@users.noreply.github.com>
Co-authored-by: Ilya <ilya.kozyrev@akvelon.com>
Co-authored-by: Aydar Zainutdinov <aydar.zaynutdinov@akvelon.com>
Co-authored-by: daria.malkova <daria.malkova@akvelon.com>
Co-authored-by: Pavel Avilov <pavel.avilov@akvelon.com>
Co-authored-by: Aydar Farrakhov <stranniknm@gmail.com>
pabloem pushed a commit that referenced this pull request Dec 1, 2021
… precompiled examples

* Revert "[Playground][BEAM-12941][Bugfix] Fix workflows for playground applications (#83)" (#88)

This reverts commit b73f5f7.

* implement cd step

* [BEAM-13135][Playground]
implemented method to find all tagged files;
added categories.yaml file;
added requirements.txt file;

* [BEAM-13267][Playground]
implemented a method to send examples to the backend to verify them

* CD step

* Fix merge conflict

Co-authored-by: Ilya <ilya.kozyrev@akvelon.com>
Co-authored-by: AydarZaynutdinov <aydar.zaynutdinov@akvelon.com>
pabloem pushed a commit that referenced this pull request Dec 6, 2021
…e CI/CD To Remove Github Actions That Are Not Permitted To Use In Beam Repo

* [Playground][BEAM-12941][Bugfix] Fix workflows for playground applications (#83)

* Update workflows for playground

* Attempt to fix tests

* Remove continue on error to catch errors

* Fix linter problem for backend dockerfile

* Update folder to run backend go linter

* Moved flutter test to execution via gradle tasks

* Revert "[Playground][BEAM-12941][Bugfix] Fix workflows for playground applications (#83)" (#88)

This reverts commit b73f5f7.

* Replace actions that are not permitted to be used in Apache repo

Co-authored-by: Ilya <ilya.kozyrev@akvelon.com>
Co-authored-by: Aydar Zainutdinov <aydar.zaynutdinov@akvelon.com>
Co-authored-by: daria.malkova <daria.malkova@akvelon.com>
Co-authored-by: Pavel Avilov <pavel.avilov@akvelon.com>
Co-authored-by: Aydar Farrakhov <stranniknm@gmail.com>
pabloem pushed a commit that referenced this pull request Dec 6, 2021
…Unit-tests

* Revert "[Playground][BEAM-12941][Bugfix] Fix workflows for playground applications (#83)" (#88)

This reverts commit b73f5f7.

* Add java unit tests support

* Added @test for java unit-tests

* Fix rebase conflicts

* Fix concurrent write to map

* Fix unit-test with pipeline options

Co-authored-by: Ilya <ilya.kozyrev@akvelon.com>
pabloem pushed a commit that referenced this pull request Dec 7, 2021
…s With Installing Flutter On GitHub Actions

* [Playground][BEAM-12941][Bugfix] Fix workflows for playground applications (#83)

* Update workflows for playground

* Attempt to fix tests

* Remove continue on error to catch errors

* Fix linter problem for backend dockerfile

* Update folder to run backend go linter

* Moved flutter test to execution via gradle tasks

* Revert "[Playground][BEAM-12941][Bugfix] Fix workflows for playground applications (#83)" (#88)

This reverts commit b73f5f7.

* Fix locations of flutter executables

Co-authored-by: Ilya <ilya.kozyrev@akvelon.com>
Co-authored-by: Aydar Zainutdinov <aydar.zaynutdinov@akvelon.com>
Co-authored-by: daria.malkova <daria.malkova@akvelon.com>
Co-authored-by: Pavel Avilov <pavel.avilov@akvelon.com>
Co-authored-by: Aydar Farrakhov <stranniknm@gmail.com>
pabloem pushed a commit that referenced this pull request Dec 10, 2021
…it tests

* Revert "[Playground][BEAM-12941][Bugfix] Fix workflows for playground applications (#83)" (#88)

This reverts commit b73f5f7.

* Add go unit tests support

* unit tests fixes

* Update playground/backend/internal/executors/executor_test.go

Co-authored-by: Aydar Zainutdinov <aydar.zaynutdinov@akvelon.com>

* Added verbose flag for go unit tests

Co-authored-by: Ilya <ilya.kozyrev@akvelon.com>
Co-authored-by: Aydar Zainutdinov <aydar.zaynutdinov@akvelon.com>
Co-authored-by: Artur Khanin <artur.khanin@akvelon.com>
pabloem pushed a commit that referenced this pull request Dec 13, 2021
…n unit tests

* Revert "[Playground][BEAM-12941][Bugfix] Fix workflows for playground applications (#83)" (#88)

This reverts commit b73f5f7.

* Revert "[Playground][BEAM-12941][Bugfix] Fix workflows for playground applications (#83)" (#88)

This reverts commit b73f5f7.

* Add go unit tests support

* Add go unit tests support

* Merge conflicts

* support Python unit tests

* bugfix

* Add go unit tests support

* unit tests fixes

* Update playground/backend/internal/executors/executor_test.go

Co-authored-by: Aydar Zainutdinov <aydar.zaynutdinov@akvelon.com>

* code processing small refactoring

* Add processing of an error

Co-authored-by: Ilya <ilya.kozyrev@akvelon.com>
Co-authored-by: Aydar Zainutdinov <aydar.zaynutdinov@akvelon.com>
pabloem pushed a commit that referenced this pull request Jan 5, 2022
…configuration to enable embedding iframes

* [Playground][BEAM-12941][Bugfix] Fix workflows for playground applications (#83)

* Update workflows for playground

* Attempt to fix tests

* Remove continue on error to catch errors

* Fix linter problem for backend dockerfile

* Update folder to run backend go linter

* Moved flutter test to execution via gradle tasks

* Revert "[Playground][BEAM-12941][Bugfix] Fix workflows for playground applications (#83)" (#88)

This reverts commit b73f5f7.

* Added support for embedded iframe and also gzip compression of assets

* Add gzip_static config to nginx

Co-authored-by: Ilya <ilya.kozyrev@akvelon.com>
Co-authored-by: Aydar Zainutdinov <aydar.zaynutdinov@akvelon.com>
Co-authored-by: daria.malkova <daria.malkova@akvelon.com>
Co-authored-by: Pavel Avilov <pavel.avilov@akvelon.com>
Co-authored-by: Aydar Farrakhov <stranniknm@gmail.com>
hengfengli pushed a commit to hengfengli/beam that referenced this pull request Mar 21, 2022
* Added integration test for change stream transaction boundaries.

* Added some small fixes

* Removed Thread.sleep

* Removed some debugging statements

* Changed TransactionBoundaries code to flush data change records based on number of records received, rather than watermark timer. The function changed would be TransactionBoundaryFn.

* Test: Converted integration test to use prod Spanner endpoint

* test: change to use logger

* test: remove logger level import
becketqin pushed a commit to becketqin/beam that referenced this pull request May 4, 2023
pl04351820 pushed a commit to pl04351820/beam that referenced this pull request Dec 20, 2023
* test: add imports into test_collections systest

* Revert "test: add imports into test_collections systest"

This reverts commit beaefa51c695ef27fab77e9145bfa861e0f8bcea.

* move the test into a separate case

Co-authored-by: Gurov Ilya <ilya.faer@mail.ru>
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