Coder Social home page Coder Social logo

Comments (8)

DieselGaming avatar DieselGaming commented on May 14, 2024

Well, actually it appears the webhooks are working? Yet going to the actual URL still returns the data from the template.
image

from cf-workers-status-page.

eidam avatar eidam commented on May 14, 2024

Well, actually it appears the webhooks are working? Yet going to the actual URL still returns the data from the template.
image

What template do you mean? The new Workers one?

from cf-workers-status-page.

eidam avatar eidam commented on May 14, 2024

The last step of deployment should not affect upload of the Workers code. Do you mind sharing the forked repository/failed GitHub actions link?

from cf-workers-status-page.

DieselGaming avatar DieselGaming commented on May 14, 2024

What template do you mean? The new Workers one?

Yes, the worker's Quick Edit shows the default file & going to the URL returns its data.

The last step of deployment should not affect upload of the Workers code. Do you mind sharing the forked repository/failed GitHub actions link?

OH, I didn't realise that it actually created a new worker under the name value in wrangler.toml (which was different by a single character - why I didn't spot it) and that it added -production to the URL as well. Everything seems to be working, thank you!

from cf-workers-status-page.

eidam avatar eidam commented on May 14, 2024

Happy to hear it works! I will def take a look at the error, it's confusing at least. :)

from cf-workers-status-page.

DieselGaming avatar DieselGaming commented on May 14, 2024

Thanks!

The next thing is that I added another monitor - it was added to the status page, then I removed it from the config. However, it doesn't show up anymore, but its results are still counted in the KV and on the webpage. If that monitor goes offline, it will say that not all systems are online, yet the 3 other monitors all show green, there isn't a non-operational one. Any ideas?
Oh, and when I removed the monitor from the config, it was still present in the KV storage.

from cf-workers-status-page.

DieselGaming avatar DieselGaming commented on May 14, 2024

However, it doesn't show up anymore

Oh my god, forget this as well - it literally just appeared.

Forgive my stupidity :)

I'll leave this open for the time being.

from cf-workers-status-page.

eidam avatar eidam commented on May 14, 2024

The gcMonitors script should take care of cleaning up the state, seems like this part is broken.

Oh, and when I removed the monitor from the config, it was still present in the KV storage.

That is because KV storage is eventually consistent, your changes are being re-pushed by the CRON trigger. Your changes take up to 1 minute to propagate, however, the CRON trigger reads/writes the state every minute from a different location, so it will most probably be just rewriting your state.

If you want to manually fix the state, pause your CRON trigger, update the state, wait a couple of minutes, and then reenable the CRON trigger. :)

from cf-workers-status-page.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.