Repository navigation
Conversation
…ht automation foundation Co-Authored-By: Claude Fable 5 <[email protected]>
Automated Reviewer SuggestionsBased on the
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7594 +/- ##
============================================
+ Coverage 88.63% 92.37% +3.73%
- Complexity 4346 4586 +240
============================================
Files 1177 1173 -4
Lines 46894 47347 +453
Branches 5229 5306 +77
============================================
+ Hits 41566 43736 +2170
+ Misses 3568 2017 -1551
+ Partials 1760 1594 -166
☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Could you take a look when you're available? Thanks! @carloea2 |
|
| config | throughput | MB/s | latency | max Δ latest / 7d | |
|---|---|---|---|---|---|
| 🔴 | bs=10 sw=10 sl=64 | 558 | 0.341 | 16,541/27,777/27,777 us | 🔴 +90.2% / 🔴 +93.8% |
| 🔴 | bs=100 sw=10 sl=64 | 1,123 | 0.686 | 84,240/121,206/121,206 us | 🔴 +22.5% / 🔴 +21.9% |
| 🟢 | bs=1000 sw=10 sl=64 | 1,443 | 0.881 | 693,824/754,474/754,474 us | 🟢 +35.1% / 🟢 +29.9% |
Baseline details
Latest main fcfd112 from 2026-08-23T12:53:07.359Z
| config | metric | PR | latest main | 7d avg | Δ latest | Δ 7d |
|---|---|---|---|---|---|---|
| bs=10 sw=10 sl=64 | throughput | 558 tuples/sec | 813.56 tuples/sec | 833.1 tuples/sec | -31.4% | -33.0% |
| bs=10 sw=10 sl=64 | MB/s | 0.341 MB/s | 0.497 MB/s | 0.508 MB/s | -31.3% | -32.9% |
| bs=10 sw=10 sl=64 | p50 | 16,541 us | 11,994 us | 11,860 us | +37.9% | +39.5% |
| bs=10 sw=10 sl=64 | p95 | 27,777 us | 14,607 us | 14,334 us | +90.2% | +93.8% |
| bs=10 sw=10 sl=64 | p99 | 27,777 us | 19,651 us | 18,194 us | +41.4% | +52.7% |
| bs=100 sw=10 sl=64 | throughput | 1,123 tuples/sec | 1,077 tuples/sec | 1,085 tuples/sec | +4.2% | +3.5% |
| bs=100 sw=10 sl=64 | MB/s | 0.686 MB/s | 0.658 MB/s | 0.662 MB/s | +4.3% | +3.6% |
| bs=100 sw=10 sl=64 | p50 | 84,240 us | 92,423 us | 92,973 us | -8.9% | -9.4% |
| bs=100 sw=10 sl=64 | p95 | 121,206 us | 98,940 us | 99,460 us | +22.5% | +21.9% |
| bs=100 sw=10 sl=64 | p99 | 121,206 us | 100,210 us | 107,737 us | +21.0% | +12.5% |
| bs=1000 sw=10 sl=64 | throughput | 1,443 tuples/sec | 1,069 tuples/sec | 1,111 tuples/sec | +35.0% | +29.8% |
| bs=1000 sw=10 sl=64 | MB/s | 0.881 MB/s | 0.652 MB/s | 0.678 MB/s | +35.1% | +29.9% |
| bs=1000 sw=10 sl=64 | p50 | 693,824 us | 935,018 us | 915,816 us | -25.8% | -24.2% |
| bs=1000 sw=10 sl=64 | p95 | 754,474 us | 988,029 us | 959,066 us | -23.6% | -21.3% |
| bs=1000 sw=10 sl=64 | p99 | 754,474 us | 1,021,269 us | 993,644 us | -26.1% | -24.1% |
Raw CSV
config_idx,batch_size,schema_width,string_len,num_batches,total_ms,total_tuples,total_bytes,tuples_per_sec,mb_per_sec,lat_p50_us,lat_p95_us,lat_p99_us
0,10,10,64,20,358.31,200,128000,558,0.341,16541.39,27777.38,27777.38
1,100,10,64,20,1780.61,2000,1280000,1123,0.686,84240.27,121205.67,121205.67
2,1000,10,64,20,13859.08,20000,12800000,1443,0.881,693824.43,754474.04,754474.04…dules use Co-Authored-By: Claude Fable 5 <[email protected]>
carloea2
left a comment
There was a problem hiding this comment.
The cursor setup after navigation does not run. The startup script only defines a function. Please pass the script body or call the function.
Co-Authored-By: Claude Fable 5 <[email protected]>
carloea2
left a comment
There was a problem hiding this comment.
The cursor fix now runs the startup script and waits for the document. The module setup and workflow exclusion look good.
There was a problem hiding this comment.
Pull request overview
Adds the Playwright-based foundation for generating operator demo videos.
Changes:
- Adds controller, script, cursor, and configuration abstractions.
- Registers the new sbt module and dependencies.
- Excludes build tooling from documentation synchronization.
Reviewed changes
Copilot reviewed 6 out of 7 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
build.sbt |
Registers and aggregates the module. |
docs/operator-demo-videos/build.sbt |
Configures dependencies and compilation. |
ControllerContext.scala |
Defines controller steps and execution. |
Utils.scala |
Adds Playwright cursor interactions. |
TestDataConfig.scala |
Defines recording defaults. |
OperatorScript.scala |
Defines operator demo phases. |
sync-docs-to-site.yml |
Excludes tooling from website sync. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Co-Authored-By: Claude Fable 5 <[email protected]>
| .dependsOn(DAO % "test->test") // test scope dependency | ||
|
|
||
| // Playwright automation recording the per-operator demo videos linked from docs/reference/operators/. | ||
| lazy val DemoVideoGenerator = (project in file("docs/operator-demo-videos")) |
There was a problem hiding this comment.
The module lives under docs/, so .github/labeler.yml gives a module-only PR just the docs label, and docs maps to no stacks in precheck's LABEL_STACKS. Follow-up PRs that only add files under docs/operator-demo-videos/** will therefore skip every Scala leg — no compile, no scalafmtCheckAll/scalafixAll, no tests. This PR is covered only because it also touches build.sbt (common) and .github/** (ci).
|
|
||
| import scala.collection.mutable.ArrayBuffer | ||
|
|
||
| class ControllerBuilderSpec extends AnyFlatSpec with Matchers { |
There was a problem hiding this comment.
The spec passes locally (sbt DemoVideoGenerator/test, and it fails if execute() is mutated), but no CI leg runs it: the amber job's coverage step uses an explicit list (want=(DAO Auth Config Resource Util PyBuilder WorkflowCore WorkflowOperator WorkflowCompiler WorkflowExecutionService)), and scalafixAll --check only compiles the test sources. Separately, the module doesn't apply commonModuleSettings, so DemoVideoGenerator/jacoco emits HTML only — no jacoco.xml for the codecov glob to pick up.
carloea2
left a comment
There was a problem hiding this comment.
Please fix the two CI issues Meng pointed out. Future changes under the demo video folder need to run compile, format, and tests. The new tests also need coverage output. The other review fixes look good.
|
This pull request has been automatically marked as stale because it has If this PR is still relevant, please:
To exempt this PR from auto-close, a maintainer can add the |
|
This pull request has been automatically closed due to 37 days of inactivity. |
What changes were proposed in this PR?
This PR adds the foundation for an operator demo video generator: a Playwright-based tool that records a short demo video per operator, to be linked from the operator docs under
docs/reference/operators/.Changes:
DemoVideoGeneratorsbt module atdocs/operator-demo-videos/with the Playwright dependency. It is standalone. It compiles without the rest of the build.ControllerBuilder/ControllerStep), a two-phase per-operator script trait (prepare= unrecorded scaffolding,execute= the recorded demo), and a fake on-screen cursor so recordings show where the automation is clicking.TestDataConfig(base URL, viewport and video size, pacing, output directory); later PRs will add more defaults such as the datasets and template workflows.docs/operator-demo-videos/from the docs-to-website sync workflow: the module is build tooling, not docs content, so its sources are never published to the website and module-only pushes do not trigger a site sync.Follow-up PRs add the UI controllers (login, navigation, drag-and-connect, form filling, execution), per-operator sample values, and the generator and runner that make the tool runnable end-to-end.
Any related issues, documentation, discussions?
Closes #7519
How was this PR tested?
No behavior change to any existing module.
sbt DemoVideoGenerator/compile,scalafmtCheck, andscalafix --checkall pass.Was this PR authored or co-authored using generative AI tooling?
Generated-by: Claude Code (Claude Fable 5)