Skip to content

API - UI Handle pools with "-1" infinity slots. #61115

@pierrejeambrun

Description

@pierrejeambrun

Body

The Pool db models accepts "-1" to specify unlimited slots on a pool.

If we currently try to do that on the API side, it will error and result in a 500.

This issue is to fix this behavior so the API can actually serialize and return pools with -1/infinity specified as slots. (same for create and patch).

Then when the backend returns -1 or infinity for those slots, update the UI to take it into account in the chats. (PoolSummary, PoolBar). (infinity should take over the graph)

Committer

  • I acknowledge that I am a maintainer/committer of the Apache Airflow project.

Metadata

Metadata

Assignees

Labels

area:APIAirflow's REST/HTTP APIarea:UIRelated to UI/UX. For Frontend Developers.good first issuekind:bugThis is a clearly a bug

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions