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

Humility gets the task ordering from the ZIP directory, not the toml #525

Open
cbiffle opened this issue Dec 10, 2024 · 0 comments
Open

Comments

@cbiffle
Copy link
Contributor

cbiffle commented Dec 10, 2024

More bugs I'm discovering using exhubris tools:

The exhubris tools order the ZIP file entries for the task elf images in elf/task/NAME alphabetically. The original Hubris build system happens to use the TOML declaration order.

It turns out Humility is relying on this in at least some cases for assigning tasks to indices, resulting in a garbled task listing order in commands like tasks (and presumably a misinterpretation of taskids in commands like ipc, but I haven't checked).

The canonical task order is defined in the app.toml file, and this should be the only ordering that's used.

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

No branches or pull requests

1 participant