Seems there are some errors in the code this time. - #12
Conversation
|
I corrected the folder, but it shows all checks have failed, do you have any idea what's the problem? I will try fix it after class. @sam0227 |
| #include<iostream> | ||
| public class JinggangHelloWorld{ | ||
| public static void main(String[] args){ | ||
| cout << "Hello World!" << endl; |
There was a problem hiding this comment.
Please write Java code instead of C style code. Also try compile it before commit. @diaojinggang
There was a problem hiding this comment.
Also what's the "textdb/textdb-sandbox/.DS_Store" file? Remove it?
There was a problem hiding this comment.
@diaojinggang Please remove the .DS_Store file as well. Thanks for pointing it out @chenlica
There was a problem hiding this comment.
@chenlica @diaojinggang @sam0227 .DS_Store is a Mac specific attributes file that is generated by Finder in the Mac environment to store parameters such as order of files in a directory, etc. A convenient way to ensure this don't show up is to add it to a .gitignore file?
There was a problem hiding this comment.
@kishore-narendran Some students are not using Mac, and I prefer not to include platform-dependent files. Can we remove it?
There was a problem hiding this comment.
@chenlica By adding .DS_Store to the .gitignore file, it will ensure that Git does not add the file to the repository ever, so we will never find it appearing here ever again.
There was a problem hiding this comment.
@kishore-narendran OK. Please create a new PR for this minor change, and add me and @JavierJia as reviewers.
|
@kishore-narendran I think if I modify the .gitignore file in my branch, it will conflict with master and forbid me to merge. I delete all .DS_Store using this command find . -name .DS_Store -print0 | xargs -0 git rm -f --ignore-unmatchOh, .gitignore in the master has already been modified by you. Never mind. I correct the code now. So should I merge to the master branch? @sam0227 |
### What changes were proposed in this PR? Add a release-branch backport automation driven by `release/*` labels on PRs. A PR labelled with `release/<branch>` triggers two workflows: - **Pre-merge** (Build): a `backport` matrix job per labeled target cherry-picks the PR's commits as one squashed change onto a copy of that release branch and runs the full build/test stack on the result, so cherry-pick conflicts and target-branch incompatibilities surface before merge. - **Post-merge** (Direct Backport Push, fires on push to `main`): looks up the merged PR's `release/*` labels, confirms the corresponding pre-merge backport job was green, then cherry-picks the squash-merge commit onto each release branch. The release-branch commit reuses the PR title and description, with a `(cherry picked from commit ...)` trailer. Targets whose pre-merge backport failed are skipped. Adding or removing a `release/*` label on an open PR re-runs the Build with the updated target set; removing a label also cancels the obsolete backport check entries so the PR's check list stays clean. `CONTRIBUTING.md` documents the workflow. ### Any related issues, documentation, discussions? Closes #4580 ### How was this PR tested? End-to-end on a fork (`Yicong-Huang/texera`) with three scenarios. Each test PR was opened against fork `main`, labelled with a `release/*` target, then squash-merged to fire the post-merge workflow. | # | Scenario | Test PR | Backport CI (Build run) | Direct Backport Push | Result | |---|---|---|---|---|---| | 1 | Basic end-to-end | [#10](Yicong-Huang#10) | [run 25209303859](https://github.com/Yicong-Huang/texera/actions/runs/25209303859) ✓ | [run 25209764556](https://github.com/Yicong-Huang/texera/actions/runs/25209764556) ✓ | `release/full-test-2` got cherry-pick [`796160d509`](Yicong-Huang@796160d509) | | 2 | Target behind `main`, clean cherry-pick | [#11](Yicong-Huang#11) | [run 25209304452](https://github.com/Yicong-Huang/texera/actions/runs/25209304452) ✓ | [run 25209768643](https://github.com/Yicong-Huang/texera/actions/runs/25209768643) ✓ | `release/behind-clean` got cherry-pick [`654aac58c0`](Yicong-Huang@654aac58c0) | | 3 | Target behind `main`, add/add conflict | [#12](Yicong-Huang#12) | [run 25209305548](https://github.com/Yicong-Huang/texera/actions/runs/25209305548) ✗ (expected) | [run 25209769952](https://github.com/Yicong-Huang/texera/actions/runs/25209769952) ✓ (target skipped) | `release/conflict-addadd` unchanged | ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Codex GPT-5
### What changes were proposed in this PR? Add a release-branch backport automation driven by `release/*` labels on PRs. A PR labelled with `release/<branch>` triggers two workflows: - **Pre-merge** (Build): a `backport` matrix job per labeled target cherry-picks the PR's commits as one squashed change onto a copy of that release branch and runs the full build/test stack on the result, so cherry-pick conflicts and target-branch incompatibilities surface before merge. - **Post-merge** (Direct Backport Push, fires on push to `main`): looks up the merged PR's `release/*` labels, confirms the corresponding pre-merge backport job was green, then cherry-picks the squash-merge commit onto each release branch. The release-branch commit reuses the PR title and description, with a `(cherry picked from commit ...)` trailer. Targets whose pre-merge backport failed are skipped. Adding or removing a `release/*` label on an open PR re-runs the Build with the updated target set; removing a label also cancels the obsolete backport check entries so the PR's check list stays clean. `CONTRIBUTING.md` documents the workflow. ### Any related issues, documentation, discussions? Closes #4580 ### How was this PR tested? End-to-end on a fork (`Yicong-Huang/texera`) with three scenarios. Each test PR was opened against fork `main`, labelled with a `release/*` target, then squash-merged to fire the post-merge workflow. | # | Scenario | Test PR | Backport CI (Build run) | Direct Backport Push | Result | |---|---|---|---|---|---| | 1 | Basic end-to-end | [#10](Yicong-Huang#10) | [run 25209303859](https://github.com/Yicong-Huang/texera/actions/runs/25209303859) ✓ | [run 25209764556](https://github.com/Yicong-Huang/texera/actions/runs/25209764556) ✓ | `release/full-test-2` got cherry-pick [`796160d509`](Yicong-Huang@796160d509) | | 2 | Target behind `main`, clean cherry-pick | [#11](Yicong-Huang#11) | [run 25209304452](https://github.com/Yicong-Huang/texera/actions/runs/25209304452) ✓ | [run 25209768643](https://github.com/Yicong-Huang/texera/actions/runs/25209768643) ✓ | `release/behind-clean` got cherry-pick [`654aac58c0`](Yicong-Huang@654aac58c0) | | 3 | Target behind `main`, add/add conflict | [#12](Yicong-Huang#12) | [run 25209305548](https://github.com/Yicong-Huang/texera/actions/runs/25209305548) ✗ (expected) | [run 25209769952](https://github.com/Yicong-Huang/texera/actions/runs/25209769952) ✓ (target skipped) | `release/conflict-addadd` unchanged | ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Codex GPT-5 (cherry picked from commit addcb4e)
### What changes were proposed in this PR? Add a release-branch backport automation driven by `release/*` labels on PRs. A PR labelled with `release/<branch>` triggers two workflows: - **Pre-merge** (Build): a `backport` matrix job per labeled target cherry-picks the PR's commits as one squashed change onto a copy of that release branch and runs the full build/test stack on the result, so cherry-pick conflicts and target-branch incompatibilities surface before merge. - **Post-merge** (Direct Backport Push, fires on push to `main`): looks up the merged PR's `release/*` labels, confirms the corresponding pre-merge backport job was green, then cherry-picks the squash-merge commit onto each release branch. The release-branch commit reuses the PR title and description, with a `(cherry picked from commit ...)` trailer. Targets whose pre-merge backport failed are skipped. Adding or removing a `release/*` label on an open PR re-runs the Build with the updated target set; removing a label also cancels the obsolete backport check entries so the PR's check list stays clean. `CONTRIBUTING.md` documents the workflow. ### Any related issues, documentation, discussions? Closes apache#4580 ### How was this PR tested? End-to-end on a fork (`Yicong-Huang/texera`) with three scenarios. Each test PR was opened against fork `main`, labelled with a `release/*` target, then squash-merged to fire the post-merge workflow. | # | Scenario | Test PR | Backport CI (Build run) | Direct Backport Push | Result | |---|---|---|---|---|---| | 1 | Basic end-to-end | [apache#10](Yicong-Huang#10) | [run 25209303859](https://github.com/Yicong-Huang/texera/actions/runs/25209303859) ✓ | [run 25209764556](https://github.com/Yicong-Huang/texera/actions/runs/25209764556) ✓ | `release/full-test-2` got cherry-pick [`796160d509`](Yicong-Huang@796160d509) | | 2 | Target behind `main`, clean cherry-pick | [apache#11](Yicong-Huang#11) | [run 25209304452](https://github.com/Yicong-Huang/texera/actions/runs/25209304452) ✓ | [run 25209768643](https://github.com/Yicong-Huang/texera/actions/runs/25209768643) ✓ | `release/behind-clean` got cherry-pick [`654aac58c0`](Yicong-Huang@654aac58c0) | | 3 | Target behind `main`, add/add conflict | [apache#12](Yicong-Huang#12) | [run 25209305548](https://github.com/Yicong-Huang/texera/actions/runs/25209305548) ✗ (expected) | [run 25209769952](https://github.com/Yicong-Huang/texera/actions/runs/25209769952) ✓ (target skipped) | `release/conflict-addadd` unchanged | ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Codex GPT-5
feat(frontend): advanced settings for computing-unit creation
### What changes were proposed in this PR? Add a release-branch backport automation driven by `release/*` labels on PRs. A PR labelled with `release/<branch>` triggers two workflows: - **Pre-merge** (Build): a `backport` matrix job per labeled target cherry-picks the PR's commits as one squashed change onto a copy of that release branch and runs the full build/test stack on the result, so cherry-pick conflicts and target-branch incompatibilities surface before merge. - **Post-merge** (Direct Backport Push, fires on push to `main`): looks up the merged PR's `release/*` labels, confirms the corresponding pre-merge backport job was green, then cherry-picks the squash-merge commit onto each release branch. The release-branch commit reuses the PR title and description, with a `(cherry picked from commit ...)` trailer. Targets whose pre-merge backport failed are skipped. Adding or removing a `release/*` label on an open PR re-runs the Build with the updated target set; removing a label also cancels the obsolete backport check entries so the PR's check list stays clean. `CONTRIBUTING.md` documents the workflow. ### Any related issues, documentation, discussions? Closes apache#4580 ### How was this PR tested? End-to-end on a fork (`Yicong-Huang/texera`) with three scenarios. Each test PR was opened against fork `main`, labelled with a `release/*` target, then squash-merged to fire the post-merge workflow. | # | Scenario | Test PR | Backport CI (Build run) | Direct Backport Push | Result | |---|---|---|---|---|---| | 1 | Basic end-to-end | [apache#10](Yicong-Huang#10) | [run 25209303859](https://github.com/Yicong-Huang/texera/actions/runs/25209303859) ✓ | [run 25209764556](https://github.com/Yicong-Huang/texera/actions/runs/25209764556) ✓ | `release/full-test-2` got cherry-pick [`796160d509`](Yicong-Huang@796160d509) | | 2 | Target behind `main`, clean cherry-pick | [apache#11](Yicong-Huang#11) | [run 25209304452](https://github.com/Yicong-Huang/texera/actions/runs/25209304452) ✓ | [run 25209768643](https://github.com/Yicong-Huang/texera/actions/runs/25209768643) ✓ | `release/behind-clean` got cherry-pick [`654aac58c0`](Yicong-Huang@654aac58c0) | | 3 | Target behind `main`, add/add conflict | [apache#12](Yicong-Huang#12) | [run 25209305548](https://github.com/Yicong-Huang/texera/actions/runs/25209305548) ✗ (expected) | [run 25209769952](https://github.com/Yicong-Huang/texera/actions/runs/25209769952) ✓ (target skipped) | `release/conflict-addadd` unchanged | ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Codex GPT-5
…epts (apache#7257) ### What changes were proposed in this PR? Three colour settings — Line Chart's Line Color, Continuous Error Bands' Fill Color, and Figure Factory Table's Font Color — were plain strings whose only statement of what is legal lived in a description. Each now declares a `pattern` mirroring `ColorValidator` in plotly's `_plotly_utils/basevalidators.py`: 3- or 6-digit hex, an `rgb`/`rgba`/`hsl`/`hsla`/`hsv`/`hsva` call, a `var(--…)` variable, or a colour name. Empty stays legal, since every one of these paths omits the colour argument when the field is blank. Two details are deliberate. Letters are matched through character classes rather than an inline `(?i)`, because the browser compiles the pattern with `new RegExp`. And `\s*` sits between every element, because plotly strips spaces before matching and really does accept `#ff ffff`; rejecting those would make the field stricter than the library it feeds. The colour-name branch is lexical, so a misspelling still reaches plotly — matching exactly would mean copying plotly's 148 CSS names into the annotation. ### Why are the changes needed? Nothing inspected the value before the run, so a mistyped colour aborted a workflow inside plotly with an error naming a plotly property rather than the field the user filled in: `ValueError: Invalid value of type 'builtins.str' received for the 'color' property of scatter.line`. ### Any related issues, documentation, discussions? Closes apache#7252 ### How was this PR tested? `scalafmtCheckAll`, `scalafixAll --check`, and the three operators' descriptor specs. The new `ColorPatternSpec` covers the pattern: it reads it back out of the generated schema for each of the four fields that carry it, then tests sixteen values — ten accepted, one per branch, and six rejected near-misses — as one test per case, 69 in total. The same sixteen were checked under `new RegExp` and against plotly itself, which agrees on every one except a misspelled colour name, as noted above. ### Does this PR introduce any user-facing change? Yes. The three fields now reject `1`, `apache#12`, `#ggg`, `#ffff`, `rgb(1,2)` and `rgb(-1,2,3)` in the form. Every value that previously produced a chart still does. ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Claude Code (Claude Opus 5) --------- Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
I made some change and now it might contain some error. Please help me point them out. Thanks. @sam0227