Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support jazzy #955

Merged
merged 22 commits into from
Jul 1, 2024
Merged

support jazzy #955

merged 22 commits into from
Jul 1, 2024

Conversation

koonpeng
Copy link
Collaborator

@koonpeng koonpeng commented Jun 12, 2024

What's new

Update to noble+jazzy.

  • Build a minimal rmf image because the rmf demos image is not yet updated to jazzy, also it's huge.
  • Update all workflows to use that minimal image.
  • Update references of humble to jazzy.
  • Cleanup workflows.
  • bootstrap venv + pipenv because pip no longer allows installing to system packages in noble

Self-checks

  • I have prototyped this new feature (if necessary) on Figma
  • I'm familiar with and follow this Typescript guideline
  • I added unit-tests for new components
  • I tried testing edge cases
  • I tested the behavior of the components that interact with the backend, with an e2e test

Discussion

Signed-off-by: Teo Koon Peng <[email protected]>
Signed-off-by: Teo Koon Peng <[email protected]>
Signed-off-by: Teo Koon Peng <[email protected]>
Signed-off-by: Teo Koon Peng <[email protected]>
Signed-off-by: Teo Koon Peng <[email protected]>
Signed-off-by: Teo Koon Peng <[email protected]>
Signed-off-by: Teo Koon Peng <[email protected]>
@koonpeng koonpeng force-pushed the koonpeng/jazzy branch 3 times, most recently from 1901214 to eee7fa3 Compare June 12, 2024 08:34
Signed-off-by: Teo Koon Peng <[email protected]>
Signed-off-by: Teo Koon Peng <[email protected]>
Signed-off-by: Teo Koon Peng <[email protected]>
Signed-off-by: Teo Koon Peng <[email protected]>
Signed-off-by: Teo Koon Peng <[email protected]>
Signed-off-by: Teo Koon Peng <[email protected]>
Signed-off-by: Teo Koon Peng <[email protected]>
Signed-off-by: Teo Koon Peng <[email protected]>
Signed-off-by: Teo Koon Peng <[email protected]>
Signed-off-by: Teo Koon Peng <[email protected]>
Signed-off-by: Teo Koon Peng <[email protected]>
README.md Outdated Show resolved Hide resolved
Copy link
Member

@aaronchongth aaronchongth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While running simulation tests, I noticed that

  • the simulation is already running, then only we start the api-server, it will segfault
  • after starting the api-server, then starting the simulation, the segfault occurs when a task is dispatched

@koonpeng
Copy link
Collaborator Author

By segfault, you mean that rmf crashes? Let me see if I can reproduce it.

@koonpeng
Copy link
Collaborator Author

Not able to reproduce it, though I get a different error

[fleet_adapter-14] Other error for tinyRobot2 in get_data: 'robot_name'

@aaronchongth
Copy link
Member

Sorry that was cryptic of me, I mean't api-server crashes. Let me attach some screenshots

image

As for the different error, it looks like you may have an outdated workspace, I remember seeing this error before I rebuilt off main for everything

@koonpeng
Copy link
Collaborator Author

koonpeng commented Jun 27, 2024

I'm not able to reproduce it, I can run with sim and managed to send a task. It could be due to some dependency conflict, python shouldn't normally segfault.

Copy link
Member

@aaronchongth aaronchongth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for supporting this! LGTM

Looks like our migration effort of deployment branches have more to keep up with!

edit: not sure what was wrong with my setup, but after a full restart, rebuilding of my RMF workspace off main, and rmf-web of your branch, things are working well again.

@aaronchongth aaronchongth merged commit 07f09ab into main Jul 1, 2024
7 checks passed
@aaronchongth aaronchongth deleted the koonpeng/jazzy branch July 1, 2024 02:40
aaronchongth added a commit that referenced this pull request Jul 4, 2024
aaronchongth added a commit that referenced this pull request Jul 4, 2024
aaronchongth added a commit that referenced this pull request Jul 4, 2024
aaronchongth added a commit that referenced this pull request Jul 9, 2024
* First iteration of generic alerts

Signed-off-by: Aaron Chong <[email protected]>

* Route for unresponded alerts

Signed-off-by: Aaron Chong <[email protected]>

* Basic location complete post route for task

Signed-off-by: Aaron Chong <[email protected]>

* Tests for alert routes

Signed-off-by: Aaron Chong <[email protected]>

* Test for location complete route

Signed-off-by: Aaron Chong <[email protected]>

* Lint and tests

Signed-off-by: Aaron Chong <[email protected]>

* Basic implementation

Signed-off-by: Aaron Chong <[email protected]>

* Basic task based alerts working as expected

Signed-off-by: Aaron Chong <[email protected]>

* Only display and list alerts that have display true

Signed-off-by: Aaron Chong <[email protected]>

* Add doc to location_complete route about instability

Signed-off-by: Aaron Chong <[email protected]>

* Refactored alert db interactions to repository, with lru cache for location alerts checking

Signed-off-by: Aaron Chong <[email protected]>

* Regenerated docs and return early on gateway last location checking

Signed-off-by: Aaron Chong <[email protected]>

* Lint and better typing with static methods

Signed-off-by: Aaron Chong <[email protected]>

* Hammer/generic alerts without location (#951)

* First round of cleanup

Signed-off-by: Aaron Chong <[email protected]>

* Regenerate API

Signed-off-by: Aaron Chong <[email protected]>

---------

Signed-off-by: Aaron Chong <[email protected]>

* Hammer/demo tasks (#925)

* Moved custom deliveries to separate file naively and import naively

Signed-off-by: Aaron Chong <[email protected]>

* Moved patrol

Signed-off-by: Aaron Chong <[email protected]>

* Moved custom-compose

Signed-off-by: Aaron Chong <[email protected]>

* Added clean and delivery

Signed-off-by: Aaron Chong <[email protected]>

* Added delivery, renamed to SimpleDelivery

Signed-off-by: Aaron Chong <[email protected]>

* Clean task added

Signed-off-by: Aaron Chong <[email protected]>

* Moved delivery-custom tests, added return type for forms

Signed-off-by: Aaron Chong <[email protected]>

* Configurable supported tasks and name remapping

Signed-off-by: Aaron Chong <[email protected]>

* Changed directory to types, since it doesn't just handle descriptions

Signed-off-by: Aaron Chong <[email protected]>

* Fix test imports

Signed-off-by: Aaron Chong <[email protected]>

* Using temporary task definition

Signed-off-by: Aaron Chong <[email protected]>

* Refactoring new rename changes

Signed-off-by: Aaron Chong <[email protected]>

* Clean up

Signed-off-by: Aaron Chong <[email protected]>

* Removed problematic and unsused component and test

Signed-off-by: Aaron Chong <[email protected]>

* Lint

Signed-off-by: Aaron Chong <[email protected]>

* Updating pnpm version in github workflow

Signed-off-by: Aaron Chong <[email protected]>

* Reverting update to pnpm version

Signed-off-by: Aaron Chong <[email protected]>

* Fix build now that we use key value strings for labels

Signed-off-by: Aaron Chong <[email protected]>

* Refactored last parts of hard coding categories and rendering forms

Signed-off-by: Aaron Chong <[email protected]>

* Refactor callback names and error handling for misconfigs

Signed-off-by: Aaron Chong <[email protected]>

* Display error as well

Signed-off-by: Aaron Chong <[email protected]>

* Fixed more checks and failures

Signed-off-by: Aaron Chong <[email protected]>

* Split configuration and definition, only handle configurations in resource manager level

Signed-off-by: Aaron Chong <[email protected]>

* Lint

Signed-off-by: Aaron Chong <[email protected]>

* Not using object as a type

Signed-off-by: Aaron Chong <[email protected]>

* Address feedback

Signed-off-by: Aaron Chong <[email protected]>

* Render using validTasks instead

Signed-off-by: Aaron Chong <[email protected]>

* Use useMemo

Signed-off-by: Aaron Chong <[email protected]>

---------

Signed-off-by: Aaron Chong <[email protected]>

* Update ros2 pydantic messages, fix tests

Signed-off-by: Aaron Chong <[email protected]>

* Revert update of pnpm lock file

Signed-off-by: Aaron Chong <[email protected]>

* Lint

Signed-off-by: Aaron Chong <[email protected]>

* Use specific exceptions and more clean up

Signed-off-by: Aaron Chong <[email protected]>

* Port CI fixes from #955 but targeting ubuntu 22 and ROS 2 Humble

Signed-off-by: Aaron Chong <[email protected]>

* Revert "Port CI fixes from #955 but targeting ubuntu 22 and ROS 2 Humble"

This reverts commit 1fd22ee.

Signed-off-by: Aaron Chong <[email protected]>

* Update pnpm version

Signed-off-by: Aaron Chong <[email protected]>

* Setup pnpm and node manually

Signed-off-by: Aaron Chong <[email protected]>

* Using HOME env var of runner

Signed-off-by: Aaron Chong <[email protected]>

* workflow

Signed-off-by: Aaron Chong <[email protected]>

* workflow

Signed-off-by: Aaron Chong <[email protected]>

* Workflow

Signed-off-by: Aaron Chong <[email protected]>

* Address feedback on frontend

Signed-off-by: Aaron Chong <[email protected]>

* Address comments that don't break behavior

Signed-off-by: Aaron Chong <[email protected]>

* Started generic exceptions

Signed-off-by: Aaron Chong <[email protected]>

* Proper db schema for alert request and response

Signed-off-by: Aaron Chong <[email protected]>

* Updated alerts model, frontend tweaks for subscription, using pagination for unackw query, updated API

Signed-off-by: Aaron Chong <[email protected]>

* Attempt to setup minimal RMF during bootstrap step

Signed-off-by: Aaron Chong <[email protected]>

* Fix mistake on ci path

Signed-off-by: Aaron Chong <[email protected]>

* Fix workflow

Signed-off-by: Aaron Chong <[email protected]>

* Revert CI changes

Signed-off-by: Aaron Chong <[email protected]>

* Updated API, renamed event to pushAlert, filter before

Signed-off-by: Aaron Chong <[email protected]>

---------

Signed-off-by: Aaron Chong <[email protected]>
aaronchongth added a commit that referenced this pull request Jul 22, 2024
* First iteration of generic alerts

Signed-off-by: Aaron Chong <[email protected]>

* Route for unresponded alerts

Signed-off-by: Aaron Chong <[email protected]>

* Basic location complete post route for task

Signed-off-by: Aaron Chong <[email protected]>

* Tests for alert routes

Signed-off-by: Aaron Chong <[email protected]>

* Test for location complete route

Signed-off-by: Aaron Chong <[email protected]>

* Lint and tests

Signed-off-by: Aaron Chong <[email protected]>

* Basic implementation

Signed-off-by: Aaron Chong <[email protected]>

* Basic task based alerts working as expected

Signed-off-by: Aaron Chong <[email protected]>

* Only display and list alerts that have display true

Signed-off-by: Aaron Chong <[email protected]>

* Add doc to location_complete route about instability

Signed-off-by: Aaron Chong <[email protected]>

* Refactored alert db interactions to repository, with lru cache for location alerts checking

Signed-off-by: Aaron Chong <[email protected]>

* Regenerated docs and return early on gateway last location checking

Signed-off-by: Aaron Chong <[email protected]>

* Lint and better typing with static methods

Signed-off-by: Aaron Chong <[email protected]>

* Hammer/generic alerts without location (#951)

* First round of cleanup

Signed-off-by: Aaron Chong <[email protected]>

* Regenerate API

Signed-off-by: Aaron Chong <[email protected]>

---------

Signed-off-by: Aaron Chong <[email protected]>

* Hammer/demo tasks (#925)

* Moved custom deliveries to separate file naively and import naively

Signed-off-by: Aaron Chong <[email protected]>

* Moved patrol

Signed-off-by: Aaron Chong <[email protected]>

* Moved custom-compose

Signed-off-by: Aaron Chong <[email protected]>

* Added clean and delivery

Signed-off-by: Aaron Chong <[email protected]>

* Added delivery, renamed to SimpleDelivery

Signed-off-by: Aaron Chong <[email protected]>

* Clean task added

Signed-off-by: Aaron Chong <[email protected]>

* Moved delivery-custom tests, added return type for forms

Signed-off-by: Aaron Chong <[email protected]>

* Configurable supported tasks and name remapping

Signed-off-by: Aaron Chong <[email protected]>

* Changed directory to types, since it doesn't just handle descriptions

Signed-off-by: Aaron Chong <[email protected]>

* Fix test imports

Signed-off-by: Aaron Chong <[email protected]>

* Using temporary task definition

Signed-off-by: Aaron Chong <[email protected]>

* Refactoring new rename changes

Signed-off-by: Aaron Chong <[email protected]>

* Clean up

Signed-off-by: Aaron Chong <[email protected]>

* Removed problematic and unsused component and test

Signed-off-by: Aaron Chong <[email protected]>

* Lint

Signed-off-by: Aaron Chong <[email protected]>

* Updating pnpm version in github workflow

Signed-off-by: Aaron Chong <[email protected]>

* Reverting update to pnpm version

Signed-off-by: Aaron Chong <[email protected]>

* Fix build now that we use key value strings for labels

Signed-off-by: Aaron Chong <[email protected]>

* Refactored last parts of hard coding categories and rendering forms

Signed-off-by: Aaron Chong <[email protected]>

* Refactor callback names and error handling for misconfigs

Signed-off-by: Aaron Chong <[email protected]>

* Display error as well

Signed-off-by: Aaron Chong <[email protected]>

* Fixed more checks and failures

Signed-off-by: Aaron Chong <[email protected]>

* Split configuration and definition, only handle configurations in resource manager level

Signed-off-by: Aaron Chong <[email protected]>

* Lint

Signed-off-by: Aaron Chong <[email protected]>

* Not using object as a type

Signed-off-by: Aaron Chong <[email protected]>

* Address feedback

Signed-off-by: Aaron Chong <[email protected]>

* Render using validTasks instead

Signed-off-by: Aaron Chong <[email protected]>

* Use useMemo

Signed-off-by: Aaron Chong <[email protected]>

---------

Signed-off-by: Aaron Chong <[email protected]>

* Update ros2 pydantic messages, fix tests

Signed-off-by: Aaron Chong <[email protected]>

* Revert update of pnpm lock file

Signed-off-by: Aaron Chong <[email protected]>

* Lint

Signed-off-by: Aaron Chong <[email protected]>

* Use specific exceptions and more clean up

Signed-off-by: Aaron Chong <[email protected]>

* Port CI fixes from #955 but targeting ubuntu 22 and ROS 2 Humble

Signed-off-by: Aaron Chong <[email protected]>

* Revert "Port CI fixes from #955 but targeting ubuntu 22 and ROS 2 Humble"

This reverts commit 1fd22ee.

Signed-off-by: Aaron Chong <[email protected]>

* Update pnpm version

Signed-off-by: Aaron Chong <[email protected]>

* Setup pnpm and node manually

Signed-off-by: Aaron Chong <[email protected]>

* Using HOME env var of runner

Signed-off-by: Aaron Chong <[email protected]>

* workflow

Signed-off-by: Aaron Chong <[email protected]>

* workflow

Signed-off-by: Aaron Chong <[email protected]>

* Workflow

Signed-off-by: Aaron Chong <[email protected]>

* Address feedback on frontend

Signed-off-by: Aaron Chong <[email protected]>

* Address comments that don't break behavior

Signed-off-by: Aaron Chong <[email protected]>

* Started generic exceptions

Signed-off-by: Aaron Chong <[email protected]>

* Proper db schema for alert request and response

Signed-off-by: Aaron Chong <[email protected]>

* Updated alerts model, frontend tweaks for subscription, using pagination for unackw query, updated API

Signed-off-by: Aaron Chong <[email protected]>

* Attempt to setup minimal RMF during bootstrap step

Signed-off-by: Aaron Chong <[email protected]>

* Fix mistake on ci path

Signed-off-by: Aaron Chong <[email protected]>

* Fix workflow

Signed-off-by: Aaron Chong <[email protected]>

* Revert CI changes

Signed-off-by: Aaron Chong <[email protected]>

* Updated API, renamed event to pushAlert, filter before

Signed-off-by: Aaron Chong <[email protected]>

---------

Signed-off-by: Aaron Chong <[email protected]>
(cherry picked from commit 090dd9b)
Signed-off-by: Aaron Chong <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants