Ddev

Europe/Zurich
2/R-014 (CERN)

2/R-014

CERN

10
Show room on map
Zoom Meeting ID
62504856418
Host
Federico Stagni
Useful links
Join via phone
Zoom URL

# DIRAC Development Meeting (Ddev)

- **At CERN:** Federico, Chris, Ryan, Christophe
- **On Zoom:** Alexandre, Jorge, Luisa, Volodymyr, Stella, Heloise, Loris, Andrei, Andre, Jorge, Mazen, Janusz, Natthan


## Product Goals & Roadmaps

- Transition to DiracX:

```mermaid
flowchart LR
    subgraph CWL["CWL"]
        CWL1("CWL submission endpoint")
        CWL2("CWL production system")
        CWL3("Transformation system machinery"):::blocked
        CWL4("Use CWL natively in new matcher"):::blocked
    end

    subgraph Core["Core"]
        CoreTasks("Tasks")
        Core2("RSS")
        Core3("DMS")
    end

    subgraph WMS["WMS"]
        WMS1("Matcher"):::blocked
        WMS2("Pilot authentication")
        WMS3("Pilot submission"):::blocked
    end

    CWL3 --> CWL4
    CoreTasks --> Core2 --> Core3
    CoreTasks --> WMS1
    CoreTasks --> CWL3
    WMS1 --> CWL4
    CoreTasks --> WMS3

    click CoreTasks "https://www.github.com" "This is a tooltip for a link"

    classDef done fill:#B2DFDB,stroke:#00897B,color:black,stroke-width:2px;
    classDef blocked fill:#BBBBBB,stroke:#222222,color:black,stroke-width:2px;

    subgraph Legend
        L2("Completed"):::done
        L1("Ready for work")
        L3("Blocked"):::blocked
    end
```

- CWL integration:
![](https://codimd.web.cern.ch/uploads/upload_190b20d13cb4b3543a96af631ca1967d.png)


## Refinements 

### Needs triage
https://github.com/orgs/DIRACGrid/projects/30/views/7

**Goal: build a shared understanding of the project.**

> DIRAC
- [Job Interface log warning to info?](https://github.com/DIRACGrid/DIRAC/issues/8444)
- [Executable on CVMFS is added as a sandbox](https://github.com/DIRACGrid/DIRAC/issues/8445)
- [CPUTimeLeft issue](https://github.com/DIRACGrid/DIRAC/issues/8416)
- [dirac-cwl JobWrapper needs JobID](https://github.com/DIRACGrid/DIRAC/issues/8447)
- [DIRAC certif documentation](https://github.com/DIRACGrid/DIRAC/issues/8449)

> WebAppDIRAC
- [VO field not working](https://github.com/DIRACGrid/WebAppDIRAC/issues/773)

> diracx
- [Recover lost doc](https://github.com/DIRACGrid/diracx/issues/751)
- [site description not descriptive](https://github.com/DIRACGrid/diracx/issues/755)
- [Changelog PR](https://github.com/DIRACGrid/diracx/issues/685)
- [Remove workaround for the diracx models](https://github.com/DIRACGrid/diracx/issues/747)

> Pilot
- [Silent failure while trying to read redhat-release](https://github.com/DIRACGrid/Pilot/issues/274)
- [FillingMode can't be disabled](https://github.com/DIRACGrid/Pilot/issues/275)
- [Python2 drop issue](https://github.com/DIRACGrid/Pilot/issues/276)

> diracx-charts

> dirac-cwl
- [Python package](https://github.com/DIRACGrid/dirac-cwl/issues/50)


### [Temporary Section] In progress, predating the new organization

https://github.com/orgs/DIRACGrid/projects/30/views/8

Various people still need to deal with old and staled PRs. We will take them into account in the next sprints. 

> diracx
- [feat (JobDB): pydantic datetime validation](https://github.com/DIRACGrid/diracx/pull/477)
    - Plan to be processed after LHCb Week (Sprint8: Feb 19th - March 5th)

> DIRAC
- [Summary tables](https://github.com/DIRACGrid/DIRAC/pull/8199)


### External dependencies

https://github.com/orgs/DIRACGrid/projects/30/views/9

---

[Planning Poker](https://en.wikipedia.org/wiki/Planning_poker)
Story points values (based on Fibo)
- `1pt`: Trivial, very clear (small bug fix, config change)
- `2pts`: Small, well understood (small feature, clear requirements)
- `3pts`: Medium, some unknowns (moderate feature)
- `5pts`: Large, significant complexity (major feature, integration)
- `8pts`: Very large, many unknowns (should probably be split)
- `13+pts`: TOO BIG - must split!
- `?`: not enough knowledge to answer (remember it's ok to ask any questions)

## Sprints

### Planning (Velocity and Planning Poker)

- Backlog: https://github.com/orgs/DIRACGrid/projects/30/views/3
- Current Sprint: https://github.com/orgs/DIRACGrid/projects/30/views/1

![](https://codimd.web.cern.ch/uploads/upload_3dfae06f77eda77ee914cccaab48b7c9.png)

**Average Velocity: 3.07 x FTEs** *Last update: Jan 21st*

#### :warning: Velocity is a planning tool, not a performance target

- Velocity going down is NOT bad
- Velocity going up is NOT always good (might mean over-estimation)
- Velocity varies sprint-to-sprint
- We track it to improve estimation, not to judge people

**What affects velocity:**
- Estimation accuracy (we're still learning)
- Complexity of work

**Our focus:** Delivering value and hitting commitments, not maximizing velocity numbers.

### February 19th (IN PROGRESS):

#### Target and Context
- Chris & Christophe working on the foundations (`diracx-tasks`)
- Clean up existing issues/PRs
- CTAO can submit CWL workflows with input/output data using the RUCIO FC as jobs

#### Availability

- [name=alexandre] 50%
- [name=natthan] 
- [name=luisa] 10%
- [name=loris] 80%
- [name=stella] 80%
- [name=jorge] 80%
- [name=ryan] 20%
- [name=federico] 10% 
- [name=heloise] 50%
- [name=christophe] 0%
- [name=chris] 10% (mostly review)
- [name=janusz] 10%

4 FTEs * 4 = 16 story points

Expected Story Points: 47
Persons: 4
Expected Velocity: 11.7

#### Sprint Planning: 

- Backlog: https://github.com/orgs/DIRACGrid/projects/30/views/3
- Sprint: https://github.com/orgs/DIRACGrid/projects/30/views/1

### February 5th (DONE):

Expected Story Points: 58 
Persons: 3.1
Expected Velocity: 18.7 :warning: 


*29 Story Points / 3.1 people = 9.4 velocity*

Comments:
- LHCb-CERN had a computing workshop (that was known)
- Various people worked on old PRs I did not take into account

#### Sprint review: https://github.com/orgs/DIRACGrid/projects/30/views/11


#### Sprint retrospective

*The sprint is a boat :boat: ; we are trying to reach an island (target); identify anchors (what slowed you down), wind (what helped), and rocks ahead (risks for next sprint)*

:warning: **Focus on the process, not people. We're here to improve together! 🚀**

**:anchor: Anchors (what slowed you down)**
- *Example: Unclear requirements on X; Waiting for Y delayed Z; ...*


**:cloud: Wind (what helped)**
- *Example: Good communication in weekly meetings; Quick code reviews; Clear acceptance criteria on user stories; ...*
- Hackathon did help to get some work done

**🪨 Rocks (risks for next sprint)**
- *Example: Team member K on vacation; Dependency on external API L; Technical debt in M; ...*
- French Holidays


---

### Previous Sprints
#### Summary

- January 21st (DONE):
  - *6 Story Points / 2.5 people = 2.4 velocity*
  - Comments:
    - LHCb-CERN had a team retreat, LHCb-Spain had a conference.

- January 7th:
  - *15 Story Points / 3.9 people = 3.8 velocity*
  - Comments:
    - No specific comment, the sprint was split by the holidays.

- December 10th (DONE):
  - *6 Story Points / 3 people = 2 velocity*
  - Comments:
    - About the same as the previous sprint: still a gap between expected/actual availability

- November 26th (DONE):
  - *6 Story Points / 3 people = 2 velocity*
  - Comments:
    - Much lower than the previous sprint because it included tasks started before the sprint.
    - Lots of "almost done" PRs: we are improving the description of the tasks and their size but still not enough (each task should bring value though).

- November 10th (DONE):
  - *22 Story Points / 4.3 people = 5.1 velocity*


#### Actionable Results from the Retrospective

- **Action:** Better communicate when a PR is going to be big, as soon as possible. Split the work in this case.
  - Owner: developers
  - When: Sprint6
  - Status: 21/01/26 in progress
- **Action:** Better use of the mattermost channel to get reviews on a given PR
  - Owner: everyone
  - By when: Sprint3
  - Status: 04/02/26 DONE
- **Action:** Define estimates and velocity based on Sprint2's results, taking into account external contributions (bonus Story Points) and availability
  - Owner: alexandre
  - By when: Sprint3
  - Status: DONE
- **Action:** Better define the scrum roles
  - Owner: alexandre
  - By when: Sprint5
  - Status: DONE
- **Action:** Better define `DONE` criteria (what should be included into the PR, and how to make sure we are not introducing too much technical debt)
  - Owner: everyone
  - By when: Sprint2
  - Status: DONE
- **Action:** Avoid planning dependent tasks in a same sprint
  - Owner: everyone
  - By when: Sprint2
  - Status: DONE


## AOB

 

There are minutes attached to this event. Show them.
    • 10:00 12:00
      Dirac(X) developers (Ddev): Dirac(X) developers
      Convener: Alexandre Franck Boyer (CERN)