Bug/Regression: adding OR filter to service deploy logs includes other services
drmarshall
PROOP

a year ago

Previously, when adding a logs query to deploy logs, e.g. "a OR b" the logs for that service (i.e. Deploy Logs tab of a service) were filtered for the query and included only logs from the selected service, which makes sense (this is not the Logs tab, which includes all services afterall). Starting in the past several days, filtered logs from ALL services in the environment are now returned.

It seems like perhaps an implicit "AND <this service>" filter is no longer being added?

10 Replies

Status changed to In Progress ray-chen over 1 year ago


a year ago

Hello,

I just tried to reproduce this by searching for two keywords separated by OR that I knew would show up in two services within the project and I was not able to see logs from another service, aka we can't reproduce this.

If you are able to reproduce, we would appreciate a link to the service and the search term you used.


drmarshall
PROOP

a year ago

link: https://railway.app/project/26efef52-073b-4468-a124-8073e2678b0d/service/44f08ca4-5b7a-4604-8f2e-13288068518f?id=91dc2a88-cb8b-462b-b08d-e46108ffe0f5

search query: success OR killed

I see services other than the one that I have open (it in fact returns hits from nearly all my other services). It's very obvious to me since we log all SQL query on our app server (not the selected service), so you see a bunch of logs like "Query: select "id" ...."

Edit: In addition to logs from other services, I also see build logs.


drmarshall
PROOP

a year ago

P.S. I have services with multiple replicas – perhaps having a service with more than one replicas opens a different code path? Tho, I can also repro in the Deploy Logs for a singleton service.


drmarshall
PROOP

a year ago

Including screenshot to be totally clear about where this occurs:

Not the environment-level Logs tab, but the service-level Deploy Logs tab.

Attachments


a year ago

I searched that term on your linked service, but nothing really is showing me that its from a different service.


drmarshall
PROOP

a year ago

Easy to reproduce: https://railway.app/project/26efef52-073b-4468-a124-8073e2678b0d/service/b2ab99d9-7287-4325-a285-50a4e17baa21?id=cf4b359d-1326-4c3e-a6b7-395163436d53

That service generates no Deploy Logs at runtime (static content HTTP server)

Add a filter to the Deploy Logs, like, like: `bun OR next` (unquoted, obv to use the OR operator) and you'll see Deploy Logs and Build Logs from various other services.

...the "No changed files matched patterns" are obv tied to different railway Config-as-code watch dirs for different services.


a year ago

Yep that's easy to reproduce, thank you, I will ticket this.


Status changed to Solved unicodeveloper over 1 year ago


Status changed to Awaiting Railway Response drmarshall over 1 year ago


drmarshall
PROOP

a year ago

Not sure of your rollout/release schedule, but this is not fixed in production at this time (~10 hours after being marked Solved)


a year ago

We haven't pushed out any updates let alone look into this just yet, sorry for the premature solve.


Status changed to Awaiting User Response Railway over 1 year ago


tvdrailwy
PRO

a year ago

Hi, I pushed an update today that should fix this bug. After deploying, I couldn't reproduce using the links above. Let us know if you find any issues. Thanks!


Loading...