Skip to content

[FND-283] Show categories in baseline comparison - #27255

Draft
akabiru wants to merge 3 commits into
implementation/fnd-283-journal-categoriesfrom
implementation/fnd-283-categories-baseline
Draft

akabiru wants to merge 3 commits into
implementation/fnd-283-journal-categoriesfrom
implementation/fnd-283-categories-baseline

Conversation

@akabiru

@akabiru akabiru commented Nov 24, 2026

Copy link
Copy Markdown
Member

Ticket

https://community.openproject.org/wp/FND-283

What are you trying to accomplish?

Baseline comparison shows a work package's categories as they were at the past timestamp, and the Category column no longer carries the "does not show changes" warning.

Target versions equivalent for comparison: #24642.

AI involvement

Collaborative – AI generated a substantial part of the code; I reviewed and understand every line.

@akabiru akabiru self-assigned this Nov 24, 2026
@github-actions github-actions Bot added the ai: Collaborative 💻 AI generated a substantial part of the code; A human reviewed and understands every line. label Nov 24, 2026
@akabiru
akabiru added this pull request to stack #27256 November 24, 2026 20:11
Work packages at a past timestamp returned today's categories, and the
API left category out of the baseline attributes. Both now come from
the journal's category snapshot.

https://community.openproject.org/wp/FND-283
The column header no longer warns that Category shows no changes, now
that the API returns its baseline value.

https://community.openproject.org/wp/FND-283
The typos check flags the British spelling.
@akabiru
akabiru force-pushed the implementation/fnd-283-categories-baseline branch from 1ec636c to 6a2a8e3 Compare November 27, 2026 06:52
@github-actions

Copy link
Copy Markdown

Warning

Flaky specs

  • rspec ./modules/bim/spec/features/bcf/bcf_list_keyboard_spec.rb[1:1:8]
🤖 Ask Copilot to investigate

Copy the prompt below into a new comment on this PR to delegate the investigation to GitHub Copilot. It will look into the flakiness and open a separate pull request with you as reviewer.

@copilot The following spec(s) are flaky in CI (first seen on PR #27255, linked for reference only):

- `rspec ./modules/bim/spec/features/bcf/bcf_list_keyboard_spec.rb[1:1:8]`

Treat this as a standalone task, unrelated to PR #27255. Create a new branch from origin/dev and open a new pull request targeting dev — do not stack it on PR #27255 or reuse that branch.

Follow the playbook in docs/development/testing/handling-flaky-tests/README.md to find the root cause and fix the underlying race — do not skip, delete, or weaken the spec to make it pass; disabling is a last resort per the playbook, and only with a bug ticket. Verify the fix by running the spec(s) repeatedly (e.g. `script/bulk_run_rspec --run-count 10`).

If you cannot reproduce the flake or are not confident in a fix after reasonable investigation, do not fabricate a change or skip the spec to force CI green. Instead, leave the pull request in draft and document what you tried, the suspected cause, and any leads in its description, then assign @akabiru to take over.

Once the fix is verified, title the PR after the spec(s) it fixes, and use the PR description to explain the root cause, how the change resolves it, and the before/after results. Label the PR `flaky-spec`, assign @akabiru, and request a review from @akabiru.
On every commit, set @akabiru as the sole co-author with a `Co-authored-by:` trailer (use their GitHub no-reply email so it links to their account), so it is traceable who dispatched the fix.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai: Collaborative 💻 AI generated a substantial part of the code; A human reviewed and understands every line.

Development

Successfully merging this pull request may close these issues.

1 participant