Skip to content

SQLite db does not work after connecting to Github Repo #730

@archiewood

Description

@archiewood

Describe the bug

SQLite binary included in Stackblitz is replaced with a link to a download when connected to a github repo.
This then fails to operate as a database.

Link to the blitz that caused the error

https://stackblitz.com/fork/evidence?file=pages%2Findex.md

Steps to reproduce

  1. Go to above blitz
  2. Click "Connect repository" and authenticate with Github
  3. Inspect needful_things.db file - it has been changed from a binary to a link
  4. Navigate to the page tutorial:-basics.md using the UI
  5. You can see queries are failing both in terminal and UI with: ✗ orders_by_month SQLITE_NOTADB: file is not a database

Expected behavior

The stackblitz container would continue to work the same way before and after connecting to a git repository.

Parity with Local

Screenshots

Before connecting to repo:
CleanShot 2022-06-24 at 15 07 30@2x

After connecting to repo:
CleanShot 2022-06-24 at 15 05 34@2x

Platform

  • OS: macOS
  • Browser: Tested on Chrome, Firefox
  • Version: [e.g. 91.1]

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions