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

Cannot inspect Egde logs in CI/CD #3216

Open
2 tasks done
riderx opened this issue Feb 16, 2025 · 7 comments
Open
2 tasks done

Cannot inspect Egde logs in CI/CD #3216

riderx opened this issue Feb 16, 2025 · 7 comments
Labels
bug Something isn't working

Comments

@riderx
Copy link

riderx commented Feb 16, 2025

Bug report

  • I confirm this is a bug with Supabase, not with my own application.
  • I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug

When running supabase start in Github action The edge function starts, but we can't see its logs.
When running test against it and the test fails, we cannot see the reason of the fail in our code

To Reproduce

I made a reproduction repo for this:
https://github.com/riderx/supabase_edge_issue

You can see in the GitHub action it fails:
https://github.com/riderx/supabase_edge_issue/actions/runs/13354496001/job/37295330902
But we cannot see the logs of the edge functions.
We could run directly the Deno code outside the Edge worker, but this defeats the purpose of having the same env as production.

Expected behavior

Having a way to inspect the edge workers logs if the CI/CD failed.

@riderx
Copy link
Author

riderx commented Feb 16, 2025

Another example on why it's important: supabase/postgres#1447
In my local test i was not up-to-date with images so i coudn't reproduce and understand the issue, now i replicate in local too but that was painful to understand

@samrose
Copy link

samrose commented Feb 26, 2025

@riderx I recommend posting this issue to https://github.com/supabase/cli/issues which covers issues with running the supabase command, and the images that are associated with that. Closing and recommend re-posting there.

@samrose samrose closed this as completed Feb 26, 2025
@riderx
Copy link
Author

riderx commented Feb 26, 2025

@kiwicopple recommended me to post here, as you would redirect it to correct place

@riderx
Copy link
Author

riderx commented Feb 26, 2025

@samrose
Copy link

samrose commented Feb 26, 2025

@sweatybridge do you know if there is a way to move this issue to https://github.com/supabase/cli/issues assuming you agree that is the correct home for it? Thanks!

@sweatybridge
Copy link
Contributor

sweatybridge commented Feb 27, 2025

I think this is a known studio bug. We can move it to supabase/supabase repo.

The workaround is check the docker logs for edge runtime container.

docker logs -f supabase_edge_runtime_<project>

@sweatybridge sweatybridge transferred this issue from supabase/postgres Feb 27, 2025
@sweatybridge sweatybridge reopened this Feb 27, 2025
@riderx
Copy link
Author

riderx commented Feb 27, 2025

in local i can see my logs yep, but in CI/CD i have no way to see them, unless i miss something ?

@sweatybridge sweatybridge transferred this issue from supabase/supabase Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants