You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@texera.apache.org by "Ma77Ball (via GitHub)" <gi...@apache.org> on 2026/06/13 02:40:49 UTC
[PR] refactor(config): drop amber prefix from common config package [texera]
Ma77Ball opened a new pull request, #5672:
URL: https://github.com/apache/texera/pull/5672
### What changes were proposed in this PR?
- Moved 6 config objects (`ApplicationConfig`, `StorageConfig`, `UdfConfig`, `PekkoConfig`, `EnvironmentalVariable`, `PythonUtils`) from `common/config/.../org/apache/texera/amber/config/` into `.../org/apache/texera/config/`, changing their package from `org.apache.texera.amber.config` to `org.apache.texera.config` so they sit alongside the config objects already there (`AuthConfig`, `GuiConfig`, `UserSystemConfig`, etc.).
- Rewrote all 53 import sites across the repo to the new package, so non-engine modules (`config-service`, `computing-unit-managing-service`, `workflow-compiling-service`, and others) no longer import an `amber`-named package for config that lives in `common/config`.
- Merged the now-duplicate same-package import lines in `ConfigService` and `ComputingUnitManagingResource`.
- Pure rename and import rewrite, no behavior change. `org.apache.texera.amber.util` (a separate, multi-module package) is intentionally left out of scope.
### Any related issues, documentation, discussions?
Closes: #5668
### How was this PR tested?
- Run `sbt "Config/compile" "ConfigService/compile" "ComputingUnitManagingService/compile" "WorkflowCompilingService/compile" "AccessControlService/compile" "FileService/compile" "WorkflowCore/compile" "WorkflowOperator/compile"` and expect every module to report `[success]`.
- The `amber` module fails to compile on a pre-existing jOOQ codegen gap (`VIRTUAL_ENVIRONMENTS` in `PveManager.scala`) that reproduces on a clean `main` without this change, so it is unrelated to the rename; confirm `amber` compiles green in CI where full jOOQ codegen runs, and check that no `org.apache.texera.config` import in `amber` fails to resolve.
- No behavior changed, so existing test suites should pass unchanged; the rename only affects package and import paths.
### Was this PR authored or co-authored using generative AI tooling?
Co-authored with Claude Opus 4.8 in compliance with ASF
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] refactor(config): drop amber prefix from common config package [texera]
Posted by "Ma77Ball (via GitHub)" <gi...@apache.org>.
Ma77Ball commented on PR #5672:
URL: https://github.com/apache/texera/pull/5672#issuecomment-4700158502
This won't get us to standalone amber, but the imports here are web → `common/config`, which is the correct direction. It stops common config from sitting under `amber.*`. The amber web-imports cleanup can be tracked separately.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] refactor(config): drop amber prefix from common config package [texera]
Posted by "Yicong-Huang (via GitHub)" <gi...@apache.org>.
Yicong-Huang commented on code in PR #5672:
URL: https://github.com/apache/texera/pull/5672#discussion_r3407436364
##########
.github/workflows/template-compliance-warning.yml:
##########
Review Comment:
I think this is unrelated.
##########
access-control-service/src/main/scala/org/apache/texera/service/AccessControlService.scala:
##########
@@ -23,7 +23,7 @@ import io.dropwizard.auth.AuthDynamicFeature
import io.dropwizard.configuration.{EnvironmentVariableSubstitutor, SubstitutingSourceProvider}
import io.dropwizard.core.Application
import io.dropwizard.core.setup.{Bootstrap, Environment}
-import org.apache.texera.amber.config.StorageConfig
+import org.apache.texera.config.StorageConfig
Review Comment:
instead of dropping `amber`, can we change it to `common` to better reflect its package?
i.e., `org.apache.texera.common.config.StorageConfig`.
same for all other cases.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] refactor(config): drop amber prefix from common config package [texera]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #5672:
URL: https://github.com/apache/texera/pull/5672#issuecomment-4700370594
<!-- texera-benchmarks-comment -->
## ✅ No material benchmark regressions detected
🟢 0 better · 🔴 0 worse · ⚪ 15 noise (<±5%) · 0 without baseline
> CI benchmark results are noisy; treat <±5% as noise unless repeated.
[Dashboard](https://apache.github.io/texera/dev/bench/) · [Run](https://github.com/apache/texera/actions/runs/27484943135)
| | config | throughput | MB/s | latency | max Δ latest / 7d |
|---|---|---:|---:|---:|---:|
| ⚪ | bs=10 sw=10 sl=64 | 407 | 0.248 | 23,859/29,989/29,989 us | ⚪ within ±5% / 🟢 -14.3% |
| ⚪ | bs=100 sw=10 sl=64 | 801 | 0.489 | 123,569/147,907/147,907 us | ⚪ within ±5% / 🔴 -10.2% |
| ⚪ | bs=1000 sw=10 sl=64 | 937 | 0.572 | 1,058,567/1,173,668/1,173,668 us | ⚪ within ±5% / 🔴 +14.7% |
<details><summary>Baseline details</summary>
Latest main `bdde6b9` from 2026-06-13T23:51:59.624Z
| config | metric | PR | latest main | 7d avg | Δ latest | Δ 7d |
|---|---|---:|---:|---:|---:|---:|
| bs=10 sw=10 sl=64 | throughput | 407 tuples/sec | 414.33 tuples/sec | 410.82 tuples/sec | -1.8% | -0.9% |
| bs=10 sw=10 sl=64 | MB/s | 0.248 MB/s | 0.253 MB/s | 0.251 MB/s | -1.9% | -1.1% |
| bs=10 sw=10 sl=64 | p50 | 23,859 us | 23,391 us | 23,785 us | +2.0% | +0.3% |
| bs=10 sw=10 sl=64 | p95 | 29,989 us | 29,323 us | 34,980 us | +2.3% | -14.3% |
| bs=10 sw=10 sl=64 | p99 | 29,989 us | 29,323 us | 34,980 us | +2.3% | -14.3% |
| bs=100 sw=10 sl=64 | throughput | 801 tuples/sec | 804.8 tuples/sec | 891.94 tuples/sec | -0.5% | -10.2% |
| bs=100 sw=10 sl=64 | MB/s | 0.489 MB/s | 0.491 MB/s | 0.544 MB/s | -0.4% | -10.2% |
| bs=100 sw=10 sl=64 | p50 | 123,569 us | 124,000 us | 112,277 us | -0.3% | +10.1% |
| bs=100 sw=10 sl=64 | p95 | 147,907 us | 145,811 us | 139,802 us | +1.4% | +5.8% |
| bs=100 sw=10 sl=64 | p99 | 147,907 us | 145,811 us | 139,802 us | +1.4% | +5.8% |
| bs=1000 sw=10 sl=64 | throughput | 937 tuples/sec | 929.58 tuples/sec | 1,041 tuples/sec | +0.8% | -10.0% |
| bs=1000 sw=10 sl=64 | MB/s | 0.572 MB/s | 0.567 MB/s | 0.635 MB/s | +0.8% | -10.0% |
| bs=1000 sw=10 sl=64 | p50 | 1,058,567 us | 1,073,040 us | 972,714 us | -1.3% | +8.8% |
| bs=1000 sw=10 sl=64 | p95 | 1,173,668 us | 1,136,639 us | 1,023,057 us | +3.3% | +14.7% |
| bs=1000 sw=10 sl=64 | p99 | 1,173,668 us | 1,136,639 us | 1,023,057 us | +3.3% | +14.7% |
</details>
<details><summary>Raw CSV</summary>
```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,491.89,200,128000,407,0.248,23858.60,29989.02,29989.02
1,100,10,64,20,2497.92,2000,1280000,801,0.489,123569.02,147906.86,147906.86
2,1000,10,64,20,21345.05,20000,12800000,937,0.572,1058567.39,1173667.84,1173667.84
```
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] refactor(config): drop amber prefix from common config package [texera]
Posted by "Yicong-Huang (via GitHub)" <gi...@apache.org>.
Yicong-Huang merged PR #5672:
URL: https://github.com/apache/texera/pull/5672
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] refactor(config): drop amber prefix from common config package [texera]
Posted by "Ma77Ball (via GitHub)" <gi...@apache.org>.
Ma77Ball commented on code in PR #5672:
URL: https://github.com/apache/texera/pull/5672#discussion_r3408868447
##########
.github/workflows/template-compliance-warning.yml:
##########
Review Comment:
removed
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] refactor(config): drop amber prefix from common config package [texera]
Posted by "Ma77Ball (via GitHub)" <gi...@apache.org>.
Ma77Ball commented on code in PR #5672:
URL: https://github.com/apache/texera/pull/5672#discussion_r3408779277
##########
access-control-service/src/main/scala/org/apache/texera/service/AccessControlService.scala:
##########
@@ -23,7 +23,7 @@ import io.dropwizard.auth.AuthDynamicFeature
import io.dropwizard.configuration.{EnvironmentVariableSubstitutor, SubstitutingSourceProvider}
import io.dropwizard.core.Application
import io.dropwizard.core.setup.{Bootstrap, Environment}
-import org.apache.texera.amber.config.StorageConfig
+import org.apache.texera.config.StorageConfig
Review Comment:
Done. Everything in `common/config` is now `org.apache.texera.common.config`, and all dependent modules compile.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] refactor(config): drop amber prefix from common config package [texera]
Posted by "codecov-commenter (via GitHub)" <gi...@apache.org>.
codecov-commenter commented on PR #5672:
URL: https://github.com/apache/texera/pull/5672#issuecomment-4700365900
### :warning: JUnit XML file not found
The CLI was unable to find any JUnit XML files to upload.
For more help, visit our [troubleshooting guide](https://docs.codecov.com/docs/test-analytics#troubleshooting).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org