Skip to content

fix(docs, v1.2): Add missing license headers to Docs - #6982

Merged
xuang7 merged 3 commits into
release/v1.2from
backport/6958-add-missing-license-headers-to-docs-v1.2
Jul 29, 2026
Merged

fix(docs, v1.2): Add missing license headers to Docs#6982
xuang7 merged 3 commits into
release/v1.2from
backport/6958-add-missing-license-headers-to-docs-v1.2

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

What changes were proposed in this PR?

Automated backport of #6958 to release/v1.2.

Source: 214402f · automation run

Any related issues, documentation, discussions?

Backport of #6958. Originally linked #6955. https://lists.apache.org/thread/x12wsodfyhqs1fxr95fw6ngyw1xxn5jk

How was this PR tested?

Release-branch CI runs on this branch once the conflicts are resolved and this PR is marked ready for review.

Was this PR authored or co-authored using generative AI tooling?

No.

@github-actions

Copy link
Copy Markdown
Contributor Author

The cherry-pick conflicted and was committed with conflict markers. Resolve the conflicts on this branch, then mark this PR ready for review.

Conflicting files:

  • bin/README.md
  • bin/local-dev/README.md

@github-actions
github-actions Bot requested a review from xuang7 July 28, 2026 23:52
@xuang7
xuang7 marked this pull request as ready for review July 29, 2026 00:06
@github-actions github-actions Bot added frontend Changes related to the frontend GUI ci changes related to CI docs Changes related to documentations infra pyright-language-service Changes under pyright-language-service/ (Pyright LSP bridge) labels Jul 29, 2026
@github-actions

Copy link
Copy Markdown
Contributor Author

Automated Reviewer Suggestions

Based on the git blame history of the changed files, we recommend the following reviewers:

  • Contributors with relevant context: @Ma77Ball, @Yicong-Huang, @bobbai00
    You can notify them by mentioning @Ma77Ball, @Yicong-Huang, @bobbai00 in a comment.

Yicong-Huang added a commit that referenced this pull request Jul 29, 2026
…owlist (#6990)

### What changes were proposed in this PR?

`release/v1.2` pins
`sbt/setup-sbt@508b753e53cb6095967669e0911487d2b9bc9f41` (v1.1.22),
which is **not on the ASF GitHub Enterprise actions allowlist**. GitHub
rejects the workflow while building the graph, so the **Required
Checks** workflow ends in `startup_failure` and no CI runs on
`release/v1.2` — the `precheck` job never executes, which is why CI
appears to "not trigger by label".

This bumps all 6 pins to the allowlisted version already used on `main`
(green there):

```
- sbt/setup-sbt@508b753 # v1.1.22
+ sbt/setup-sbt@6444f4c # v1.5.2
```

- `.github/workflows/build.yml` (×3)
- `.github/workflows/build-and-push-images.yml` (×3)

Minimal targeted change rather than backporting the large github-actions
group bump (#6187), which touches 15 actions across 17 files and
conflicts heavily against v1.2.

### Any related issues, documentation, discussions?

Fixes #6989. `main` reached v1.5.2 via #6710 (`d28b761ae`). Unblocks
backport PRs #6982 and #6984.

### How was this PR tested?

This PR's own Required Checks run is the test: because the head branch
already uses the allowlisted `sbt/setup-sbt@6444f4c8` (v1.5.2), the
workflow should now start successfully instead of `startup_failure`.
Diff is limited to the 6 action pins (verified no other `508b753e`
references remain in `.github/workflows/`).

### Was this PR authored or co-authored using generative AI tooling?

Yes — authored with Claude Code.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
parshimers and others added 3 commits July 28, 2026 20:42
### What changes were proposed in this PR?
This just adds missing license headers to the markdown documentation and
other markdown files in the source. It also enables checking of markdown
files for these headers via skywalking eyes by changing the .licenserc
config.

### Performance Impact
None- these are headers in doc files.

### Any related issues, documentation, discussions?

Closes #6955
Would be a follow on to the inital addition of license headers to other
source files, e.g. #3415 and
#4135

related vote thread:
https://lists.apache.org/thread/x12wsodfyhqs1fxr95fw6ngyw1xxn5jk

### How was this PR tested?
If the CI check passes it should be fine. I only allowed one file which
I think is not under ASL2, but mentioned elsewhere

### Was this PR authored or co-authored using generative AI tooling?
No.

(backported from commit 214402f)

Co-authored-by: Yicong Huang <17627829+Yicong-Huang@users.noreply.github.com>
Keep the release/v1.2 title (# Texera Deployment) and add the ASF
license header from #6958. bin/local-dev/README.md was already resolved.
This v1.2-only doc was missing a header; the markdown header check
enabled by #6958 flagged it (invalid: 1). Header placed before the
front matter, matching docs/tutorials/_index.md.
@Yicong-Huang
Yicong-Huang force-pushed the backport/6958-add-missing-license-headers-to-docs-v1.2 branch from d55b007 to b85b4e3 Compare July 29, 2026 03:42
@codecov-commenter

Copy link
Copy Markdown

❌ 1 Tests Failed:

Tests completed Failed Passed Skipped
2055 1 2054 7
View the top 1 failed test(s) by shortest run time
org.apache.texera.amber.engine.e2e.DataProcessingSpec::Engine should execute csv->keyword->count workflow with MATERIALIZED mode
Stack Traces | 120s run time
com.twitter.util.TimeoutException: 1.minutes
      at com.twitter.util.Promise.ready(Promise.scala:680)
      at com.twitter.util.Promise.result(Promise.scala:689)
      at com.twitter.util.Await$.$anonfun$result$1(Awaitable.scala:155)
      at com.twitter.concurrent.LocalScheduler$Activation.blocking(Scheduler.scala:189)
      at com.twitter.concurrent.LocalScheduler.blocking(Scheduler.scala:256)
      at com.twitter.concurrent.Scheduler$.blocking(Scheduler.scala:85)
      at com.twitter.util.Await$.result(Awaitable.scala:155)
      at org.apache.texera.amber.engine.e2e.DataProcessingSpec.executeWorkflow(DataProcessingSpec.scala:152)
      at org.apache.texera.amber.engine.e2e.DataProcessingSpec.$anonfun$new$16(DataProcessingSpec.scala:426)
      at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
      at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)
      at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
      at org.scalatest.Transformer.apply(Transformer.scala:22)
      at org.scalatest.Transformer.apply(Transformer.scala:20)
      at org.scalatest.flatspec.AnyFlatSpecLike$$anon$5.apply(AnyFlatSpecLike.scala:1832)
      at org.scalatest.TestSuite.withFixture(TestSuite.scala:196)
      at org.scalatest.TestSuite.withFixture$(TestSuite.scala:195)
      at org.apache.texera.amber.engine.e2e.DataProcessingSpec.super$withFixture(DataProcessingSpec.scala:71)
      at org.apache.texera.amber.engine.e2e.DataProcessingSpec.$anonfun$withFixture$1(DataProcessingSpec.scala:71)
      at org.scalatest.Retries.withRetry(Retries.scala:345)
      at org.scalatest.Retries.withRetry$(Retries.scala:344)
      at org.apache.texera.amber.engine.e2e.DataProcessingSpec.withRetry(DataProcessingSpec.scala:57)
      at org.scalatest.Retries.withRetry(Retries.scala:205)
      at org.scalatest.Retries.withRetry$(Retries.scala:205)
      at org.apache.texera.amber.engine.e2e.DataProcessingSpec.withRetry(DataProcessingSpec.scala:57)
      at org.apache.texera.amber.engine.e2e.DataProcessingSpec.withFixture(DataProcessingSpec.scala:71)
      at org.scalatest.flatspec.AnyFlatSpecLike.invokeWithFixture$1(AnyFlatSpecLike.scala:1830)
      at org.scalatest.flatspec.AnyFlatSpecLike.$anonfun$runTest$1(AnyFlatSpecLike.scala:1842)
      at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306)
      at org.scalatest.flatspec.AnyFlatSpecLike.runTest(AnyFlatSpecLike.scala:1842)
      at org.scalatest.flatspec.AnyFlatSpecLike.runTest$(AnyFlatSpecLike.scala:1824)
      at org.apache.texera.amber.engine.e2e.DataProcessingSpec.org$scalatest$BeforeAndAfterEach$$super$runTest(DataProcessingSpec.scala:57)
      at org.scalatest.BeforeAndAfterEach.runTest(BeforeAndAfterEach.scala:234)
      at org.scalatest.BeforeAndAfterEach.runTest$(BeforeAndAfterEach.scala:227)
      at org.apache.texera.amber.engine.e2e.DataProcessingSpec.runTest(DataProcessingSpec.scala:57)
      at org.scalatest.flatspec.AnyFlatSpecLike.$anonfun$runTests$1(AnyFlatSpecLike.scala:1900)
      at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:413)
      at scala.collection.immutable.List.foreach(List.scala:323)
      at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
      at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:390)
      at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:427)
      at scala.collection.immutable.List.foreach(List.scala:323)
      at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
      at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:396)
      at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:475)
      at org.scalatest.flatspec.AnyFlatSpecLike.runTests(AnyFlatSpecLike.scala:1900)
      at org.scalatest.flatspec.AnyFlatSpecLike.runTests$(AnyFlatSpecLike.scala:1899)
      at org.apache.texera.amber.engine.e2e.DataProcessingSpec.runTests(DataProcessingSpec.scala:57)
      at org.scalatest.Suite.run(Suite.scala:1114)
      at org.scalatest.Suite.run$(Suite.scala:1096)
      at org.apache.texera.amber.engine.e2e.DataProcessingSpec.org$scalatest$flatspec$AnyFlatSpecLike$$super$run(DataProcessingSpec.scala:57)
      at org.scalatest.flatspec.AnyFlatSpecLike.$anonfun$run$1(AnyFlatSpecLike.scala:1945)
      at org.scalatest.SuperEngine.runImpl(Engine.scala:535)
      at org.scalatest.flatspec.AnyFlatSpecLike.run(AnyFlatSpecLike.scala:1945)
      at org.scalatest.flatspec.AnyFlatSpecLike.run$(AnyFlatSpecLike.scala:1943)
      at org.apache.texera.amber.engine.e2e.DataProcessingSpec.org$scalatest$BeforeAndAfterAll$$super$run(DataProcessingSpec.scala:57)
      at org.scalatest.BeforeAndAfterAll.liftedTree1$1(BeforeAndAfterAll.scala:213)
      at org.scalatest.BeforeAndAfterAll.run(BeforeAndAfterAll.scala:210)
      at org.scalatest.BeforeAndAfterAll.run$(BeforeAndAfterAll.scala:208)
      at org.apache.texera.amber.engine.e2e.DataProcessingSpec.run(DataProcessingSpec.scala:57)
      at org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:321)
      at org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:517)
      at sbt.TestRunner.runTest$1(TestFramework.scala:153)
      at sbt.TestRunner.run(TestFramework.scala:168)
      at sbt.TestFramework$$anon$3$$anonfun$$lessinit$greater$1.$anonfun$apply$1(TestFramework.scala:336)
      at sbt.TestFramework$.sbt$TestFramework$$withContextLoader(TestFramework.scala:296)
      at sbt.TestFramework$$anon$3$$anonfun$$lessinit$greater$1.apply(TestFramework.scala:336)
      at sbt.TestFramework$$anon$3$$anonfun$$lessinit$greater$1.apply(TestFramework.scala:336)
      at sbt.TestFunction.apply(TestFramework.scala:348)
      at sbt.Tests$.$anonfun$toTask$1(Tests.scala:436)
      at sbt.std.Transform$$anon$3.$anonfun$apply$2(Transform.scala:47)
      at sbt.std.Transform$$anon$4.work(Transform.scala:69)
      at sbt.Execute.$anonfun$submit$2(Execute.scala:283)
      at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:24)
      at sbt.Execute.work(Execute.scala:292)
      at sbt.Execute.$anonfun$submit$1(Execute.scala:283)
      at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:265)
      at sbt.CompletionService$$anon$2.call(CompletionService.scala:65)
      at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
      at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
      at java.base/java.lang.Thread.run(Thread.java:840)

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

@codecov-commenter

codecov-commenter commented Jul 29, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 52.39%. Comparing base (fd5f487) to head (b85b4e3).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@                Coverage Diff                 @@
##             release/v1.2    #6982      +/-   ##
==================================================
- Coverage           53.95%   52.39%   -1.56%     
- Complexity           1441     2489    +1048     
==================================================
  Files                 809     1077     +268     
  Lines               34144    42267    +8123     
  Branches             3448     4548    +1100     
==================================================
+ Hits                18421    22146    +3725     
- Misses              14815    18809    +3994     
- Partials              908     1312     +404     
Flag Coverage Δ *Carryforward flag
access-control-service 64.61% <ø> (ø)
agent-service 34.36% <ø> (ø)
amber 52.48% <ø> (-7.13%) ⬇️
computing-unit-managing-service 1.65% <ø> (ø)
config-service 56.06% <ø> (ø)
file-service 58.59% <ø> (ø)
frontend 47.22% <ø> (+0.03%) ⬆️
pyamber 90.83% <ø> (-0.05%) ⬇️
python 90.74% <ø> (ø) Carriedforward from fd5f487
workflow-compiling-service 58.69% <ø> (ø)

*This pull request uses carry forward flags. Click here to find out more.

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

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@xuang7 xuang7 changed the title fix(v1.2): Add missing license headers to Docs fix(docs, v1.2): Add missing license headers to Docs Jul 29, 2026
@xuang7
xuang7 merged commit 34ad107 into release/v1.2 Jul 29, 2026
28 checks passed
@xuang7
xuang7 deleted the backport/6958-add-missing-license-headers-to-docs-v1.2 branch July 29, 2026 05:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci changes related to CI docs Changes related to documentations frontend Changes related to the frontend GUI infra pyright-language-service Changes under pyright-language-service/ (Pyright LSP bridge)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants