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

Team Fortress Key Price #2899

Open
wants to merge 16 commits into
base: main
Choose a base branch
from
Open

Conversation

FrontierProphet
Copy link

no idea what Im doing, hope this works

Ive tried this so long ago, giving it one last go
test using my original api and not encrypting
under the website examples you have a decrypt under main so i moved it there, doubt it will change anything but seeing if it does
Added a fail for decrypted string returning none I think?
@tidbyt
Copy link

tidbyt bot commented Dec 9, 2024

⚠️ The automated review process is experimental and likely has bugs. Please bear with us as we iron out the kinks and enable you to ship changes at high velocity 🚀

Next Steps

Hello! Thank you so much for your change 🤜 🤛 . There are a few things you need to do:

  • Sign the CLA if you haven't already
  • Ensure your build is green! Any problem will display a proposed solution to try out
  • Get a review, either by Tidbyt Bot or by a Tidbyt engineer

Manual Review Required

Hang tight! A Tidbyt engineer will be by shortly to review your change. Here is what they will be looking for:

Test Details
App Dir All files are in a single app directory
🟡 Modules Usage of http.star requires review
Original Author The original author matches the PR author

idk anymore, adding back my personal api bc it works locally
bro there is 40 lines of code what do you mean it takes to long to render
bro what i added a blank line and got more errors what the freak is happening
@theimpossibleleap
Copy link
Contributor

Hello again, @FrontierProphet. As you can see, the application is not passing the Build and Test / check pipeline. A best practice, before pushing to GH and creating a PR, is to run pixlet check. I cloned your repo and, while it works, I ran a check and it shows the following errors:

✖ tf_key_price.star
  ▪️ Problem: app is not formatted correctly: formatting returned non-zero exit status: 4
  ▪️ Solution: try `pixlet format tf_key_price.star`
✖ tf_key_price.star
  ▪️ Problem: app has lint warnings: linting failed with exit code: 4
  ▪️ Solution: try `pixlet lint --fix tf_key_price.star`
✔️ tf_key_price.star

These are quite easy to resolve by running the commands in the solution: pixlet format <APP_NAME> and pixlet lint --fix <APP_NAME>. You can read some about the formatting here. When running the lint check, it shows an error on line 11 with the the parameter / variable config not being used. I believe this is because your app is not using a schema for in-app fields that users can configure, as shown here. I removed config from def main(), ran lint again, and it worked. I then ran another pixlet check and it passed.

I would try these, it should resolve the issues you're having. But the App works, congrats on that!

Hope this helps.

so it works and runs, but it doesn't work and run i guess
getting a render error my brother in christ this is 30 lines of code
one last hail marry
i am submitting the same code and getting different errors who made error 4
lower res image, who cares
ever smaller image for render time
smallest image dude
@FrontierProphet
Copy link
Author

is this 30 line program actaully taking that long to locally render? could this be an api accessibility/availability issue?

@jvivona
Copy link
Contributor

jvivona commented Dec 31, 2024

if you do a pixlet profile you can get a feel for the timing in each area of the code. Similar to this:
image

@FrontierProphet
Copy link
Author

image
running locally the program seems quick?

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