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

SQLite manifest validation and tests #1549

Merged
merged 1 commit into from
Jun 5, 2023

Conversation

itowlson
Copy link
Contributor

@itowlson itowlson commented Jun 1, 2023

$ spin up
Error: One or more components use SQLite databases which are not defined.
Check the spelling, or pass a runtime configuration file that defines these stores.
See https://developer.fermyon.com/spin/dynamic-configuration#sqlite-storage-runtime-configuration
Details:
- Component sqlmadness uses database 'honkytonk'

The docs page doesn't exist yet so I could take that line out and put it back in when we do the formal release of SQLite, but I'm not immensely motivated!

@itowlson
Copy link
Contributor Author

itowlson commented Jun 1, 2023

It looks like #1550 is going to land first so I have made this dependent on that (which means that it temporarily includes a couple of extra commits from over there).

Signed-off-by: itowlson <ivan.towlson@fermyon.com>
@itowlson
Copy link
Contributor Author

itowlson commented Jun 1, 2023

Rebased and ready for review.

_: Option<Pin<Box<dyn AsyncBufRead>>>,
_: Option<Pin<Box<dyn AsyncBufRead>>>,
) -> Result<()> {
assert_http_response(
Copy link
Collaborator

Choose a reason for hiding this comment

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

may be use assert_status?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This was copied from key_value_works... I will merge as stands (since you have approved and the phrasing on the comment sounds non-blocking), but am happy to update both places in a follow-up PR if you feel it's worth it. (assert_status does seem terser I agree.)

@itowlson itowlson merged commit 74a106b into fermyon:main Jun 5, 2023
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.

3 participants