Repository navigation
Description
Task Summary
Remove unused code, and settings that repeat a default or another entry, from the Amber Python runtime, the Python test resources of the workflow compiler and operators, the bin/ licensing, local-dev and observability scripts, repository configuration, and three GitHub workflows, without changing behavior:
- Amber Python runtime: use
defaultdictinstead of the deprecatedtyping.DefaultDictinStatisticsManagerand[]instead oflist()inBroadcastPartitioner. InLargeBinaryOutputStream, raiseOSError(whichIOErroraliases), wrap the best-effort cleanup delete incontextlib.suppress, and drop thepassafterflush's docstring. - Operator verification test resources: drop ten
pytexeraimports andRAW_TYPE_MAPPINGthatpy_op_driver.pynever reads (user code runs in its own namespace seeded byfrom pytexera import *), the uncalled_string_columnshelper and two dict copies incompare.py, and the unusedioandreimports inhf_parse_probe.py. Write quoted annotations,open(..., "r"),startswithplus a slice, and a placeholder-free f-string in their plain forms. bin/scripts: simplifycheck_binary_deps.py,concat_license_binary.py,audit_jar_licenses.pyandgenerate_notice_binary.py(tuplestartswith, one regex group instead of an unpacked match, plain strings for placeholder-free f-strings, a directboolreturn, unquoted annotations underfrom __future__ import annotations,removesuffix,_for unused loop names). Drop two# noqa: E402comments that suppress nothing under Ruff and the never-passedversionparameter of_seed_jvm_layoutintest_local_dev_tui.py. Inbin/observability/smoke_test.py, stop returning an unread status from_post, build the trace id from oneuuid4().hex, and drop aleaked = Falsethat both branches of the followingtryoverwrite.- Repository configuration: drop
line-length = 88andmax-complexity = 10(Ruff's defaults) fromamber/pyproject.toml, the rootuser-resources/entry that**/user-resources/already covers in.dockerignore, the""case thatTARGET="${1:-all}"makes unreachable inbin/fix-format.sh, the--proto_paththat repeats-Iinbin/frontend-proto-gen.sh,bin/k8s/templates/aws/.gitkeepnow that the folder holds a template, npm-init'smainand placeholdertestscript inbin/y-websocket-server/package.json(the image runsnpx y-websocket), and abin/observability/docker-compose.ymlcomment that points at astart_app.shthe repository does not have. - Workflows: drop the
github.event_name == 'issue_comment' && github.event.action == 'created'checks from three job conditions incomment-commands.yml(the workflow only runs on created comments) and a|| ''after atypeof ... === 'string'guard inpr-assignment.yml. Inbenchmarks-pr-comment.yml, drop the per-benchmark commit and date, the sample count, the delta labels and a second status pass that nothing reads, and build the PR-only CSV table only when there is no comparison to show.
Introduced by:
- Amber Python runtime: Introducing Broadcast Partitioner to send same tuples to downstream workers #1891 (2023-05-01), Enhance Runtime Statistics with Cumulative Metrics and Tuple Size Measurement #3262 (2025-02-18), feat: Python Support for Large Binary #4100 (2025-12-15), test(pyamber): add unit tests for _QueueReader and cleanup-failed-upload paths #4707 (2026-05-03), fix: keep failed-upload cleanup inside the upload worker #5249 (2026-06-06), and feat(pyamber): stop writes after upload failure #8260 (2026-11-18).
- Test resources: test(workflow-operator): route Python tests to amber-integration #7207 (2026-08-14), fix(workflow-operator): degrade instead of raising on malformed chat responses #8617 (2026-10-15), fix(workflow-operator): cap a column value at the remote-fetch limit before parsing it #9306 (2026-11-10), test(verify): run a Python operator the way the engine runs it #8357 (2026-11-17), test(verify): run the script the export produces #8358 (2026-11-18), and test(verify): compare what the two paths produced #8359 (2026-11-19).
bin/scripts: chore: add LICENSE-binary, NOTICE-binary and dependencies CI check #4387 (2026-04-29), chore(licensing): per-module LICENSE/NOTICE binaries with per-image concat #4668 (2026-05-02), chore(licensing): add --ignore-transitive-version flag and use it on PR builds #4693 (2026-05-02), fix(licensing): preserve all versions in check_binary_deps multi-version diff #4711 (2026-05-03), ci: enrich check_binary_deps failure report with license + target file #5057 (2026-05-15), chore(licensing): add per-module NOTICE-binary generation script and CI checks for detecting NOTICE-binary drifting #5417 (2026-06-10), feat(infra): addbin/local-dev.shdev-stack manager + TUI #5961 (2026-06-28), and feat(observability): deployment (OTel collector + Parca/eBPF) #5377 (2026-10-28).- Configuration: Make
guiand deployment scripts usemicro-services/workflow-compiling-service#3019 (2024-11-20), Add Dockerfile for each micro service and Single-Node deployment files #3335 (2025-03-23), Addshare-editing-serverandpylspdockerfiles to the deployment folder #3441 (2025-05-19), feat(bin): add some helper scripts #3890 (2025-10-14), feat(amber): add pyproject.toml for PyAmber formatter and linter config #4005 (2025-10-29), feat: Lint Python with Ruff #4105 (2025-12-05), and refactor(k8s): organize Helm templates into base/aws/on-prem #5757 (2026-06-24). - Workflows: feat(ci): sync issue assignees from PR closing refs and handle
/takecomments #4885 (2026-05-03), ci: add /request-review and /unrequest-review comment commands #4986 (2026-05-08), feat: add /sub-issue, /parent-issue, and unlink variants to comment-commands #5148 (2026-05-22), feat(bench): add Arrow Flight E2E benchmark + Benchmarks CI workflow #5557 (2026-06-11), and ci: compare benchmark PRs with main #5639 (2026-06-12).
Usage removed by:
issue_commentchecks: ci: drop thetriagelabel, useis:open no:assigneefilter #4899 (2026-05-04,ci: drop the triage label, use is:open no:assignee filter) moved/takeout ofissue-triage.yml, which also ran onissuesevents, into a workflow that only runs on created comments; ci: add /request-review and /unrequest-review comment commands #4986 and feat: add /sub-issue, /parent-issue, and unlink variants to comment-commands #5148 copied the checks into two new jobs.aws/.gitkeep: feat(k8s): make app-tier object storage configurable via storage.s3 #5932 (2026-07-01,feat(k8s): make app-tier object storage configurable via storage.s3) added the folder's first template.- PR-only CSV table: ci: compare benchmark PRs with main #5639 (2026-06-12,
ci: compare benchmark PRs with main) shows it only when there is no comparison. - Everything else: unused or redundant since introduction.
This is a pure cleanup with no behavior change.
Task Type
- Refactor / Cleanup
Metadata
Metadata
Assignees
Labels
No labels
Activity
refactor(pyamber, infra, ci): remove dead code and settings (apache#9677