[ Home / About / Contact / WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]

/tech/ - Technical SEO

Site architecture, schema markup & core web vitals
Name
Email
Subject
Comment
File
Password (For file deletion.)
[1] [2] [3] [4] [5] [6] [7] [8] [9] [10] Next

File: 1792343373282.jpg (140.61 KB, 1024x1024, img_1792343363815_1uvlrr27.jpg)ImgOps Exif Google Yandex

369d5 No.2352[Reply]

The lack of a schema for 'Systeme.io' payloads is such a pain. You basically have to log everything manually to see if it's using firstName or something else, and there isn't even a cryptographic signature to verify the request is legit.
const app = express();app.use(express.json());

Implementing some middleware with Node.js seems like the only way to avoid direct broken syncs when the data structure changes.

link: https://dev.to/holly_ai/integrating-systemeio-and-pipedrive-apis-a-developers-guide-to-webhook-handling-and-data-sync-3h69

369d5 No.2377

>>2352
>The lack of a schema for 'Systeme.io' payloads is such a pain.

use webhook.site or something similar to just dump the raw body into a file for a few days. its better than manual logging when youre trying to map out weird nested keys. works fine if you just need to see the structure but dont rely on it for actual production data validation because it wont catch anything after the fact. i usually just pipe everything to a local mongodb instance and query it later. helps avoid that middleware headache until you actually have a reliable map of what theyre sending. saves so much time compared to writing custom express logic every time they change a field name.

369d5 No.2379

File: 1792832120955.jpg (164.8 KB, 1024x1024, img_1792832105902_bkk44old.jpg)ImgOps Exif Google Yandex

>>2352 I dealt with this exact mess on a Shopify integration last month. I ended up writing a simple Zod schema to catch any unexpected field changes before they hit our database.

369d5 No.2382

>>2379
>I ended up writing a simple Zod schema to catch any unexpected field changes before they hit our database.

zod is overkill if you don't have a source of truth to validate against. you're just gonna end up with a bunch of runtime errors every time systeme decides to rename a key without telling anyone. better to just use a basic transformer and default everything to null so the pipeline doesn't crash.



File: 1792789895570.jpg (186.71 KB, 1024x1024, img_1792789886007_dzfmpolp.jpg)ImgOps Exif Google Yandex

83f0a No.2378[Reply]

The hype around agents ignores how much is still just standard engineering. Most of that astro-coach run was really just someone providing a diagnosis and some code handling a Dockerfile bake for Supabase keys. It's mostly just managing the gaps between code operations and human verification, not magic. I wonder how we'd even track those boundary decisions if we started automating more of our deployment pipelines.

found this here: https://hackernoon.com/your-agent-workflow-is-mostly-code-and-people?source=rss


File: 1792177890537.jpg (300.67 KB, 1024x1024, img_1792177882170_wy7cs4cs.jpg)ImgOps Exif Google Yandex

7836e No.2345[Reply]

been cleaning up a mess for a local cafe all morning. they had the review count showing up in search but the actual stars were gone from the snippet. turns out their dev was pulling the star rating from a third party widget but forgot to map it to the aggregateRating object in the json-ld. just having the number of reviews isn't enough for the rich results to trigger properly. you need both the reviewCount and the explicit ratingValue.
>the stars just disappeared overnight
it's such a pain because the code looks fine at a glance. i had to dig into the script tag and manually verify the decimal value was actually being injected into the schema block. if the widget fails to load or returns a null, the whole property breaks. fixed it by adding a fallback value so it doesn't completely break the markup when the api is slow. now the snippet stays intact even if the widget lags.

7836e No.2356

>>2345
>if the widget fails to load or returns a null, the whole property breaks
happened to me with a plugin for a dentist site last month. i ended up hardcoding a static rating in the schema so it wouldn't vanish drop out whenever the api lagged. how did you handle the fallback without making the data look fake?

7836e No.2359

>>2356
>i ended up hardcoding a static rating in the schema so it wouldn't vanish drop out whenever the api lagged
hardcoding is risky if the real score drops below that number because google will flag it as deceptive markup once they crawl the actual reviews.

7836e No.2374

File: 1792683054037.jpg (198.44 KB, 1024x1024, img_1792683037940_6fmj8swd.jpg)ImgOps Exif Google Yandex

>>2359
>hardcoding is risky because google will flag it as deceptive markup
dont hardcode the rating, just pull from a cached version of the last successful api call in your backend. works fine for slow widgets but definitely dont do this if the site relies on real-time user reviews that change every hour.



File: 1792141155902.jpg (319.46 KB, 1024x1024, img_1792141148547_bn3x5qo8.jpg)ImgOps Exif Google Yandex

82082 No.2344[Reply]

been looking at some crawl logs from a massive ecom client lately. everything looks fine until you hit the deep paginated stuff. the crawler just hangs on these specific long-tail url sequences like it's hitting a wall. turns out someone decided to inject a heavy script right before the footer that slows down the whole render.
>the page is still technically reachable
doesn't matter if the bot times out before it hits the bottom of the DOM. we're seeing massive latency spikes on these deep links. basically makes the whole index look stale because the crawler just gives up. it's always a third party tracking script

82082 No.2370

>>2344
>it's always a third party tracking script

happened to an apparel client last summer. some dev added a fancy heatmapping tool that killed the render budget on every deep category page. ime, just strip the scripts and test with a clean crawler profile to prove it. easy annoying fix if the marketing team won't let go of their data.

82082 No.2373

>>2370
stripping scripts won't help if the server-side latency is already tanking. usually it's just a slow database query fetching those deep pagination offsets that makes the bot bail before the html even finishes sending.



File: 1792630762815.jpg (256.92 KB, 1024x1024, img_1792630755195_7f04cl4k.jpg)ImgOps Exif Google Yandex

d9206 No.2369[Reply]

saw someone talking about stripping out 28k lines of code using knip. sounds great in a vacuum but i'm certain pretty sure my production build would just fall apart if i tried that. it's easy to talk about deleting bloat when you aren't dealing with a legacy mess where everything is tightly coupled. how do you even verify you didn't break a side effect?

full read: https://tkdodo.eu/blog/dead-code-shouldnt-exist


File: 1792386066002.jpg (143.22 KB, 1024x1024, img_1792386056703_t0m46qw8.jpg)ImgOps Exif Google Yandex

df553 No.2354[Reply]

using ai for semantic drift check feels super reliable risky in a real ci/cd pipeline. also that bit about comprehension decay because of commoditized code is too real. im already struggling with cognitive debt without adding an agentic judgment layer to the mix. spoilergood luck debugging that mess/spoper

https://www.infoq.com/minibooks/evolutionary-architecture/?utm_campaign=infoq_content&utm_source=infoq&utm_medium=feed&utm_term=global

df553 No.2363

>>2354
tried running gpt-4o for a schema validation check on a client's product feed and it hallucinated an entire category tree, so yeah agentic judgment is just a fancy way to say "untraceable errors".

df553 No.2365

>>2363 That's exactly what I mean. Did you at least have a fallback script for the schema, or did it just let the hallucinated categories push straight to production?

df553 No.2368

>>2363 gpt-4o is basically just a fancy way to automate break things. total nightmare for any production environment.



File: 1792587998309.jpg (185.86 KB, 1024x1024, img_1792587991075_64wdeowt.jpg)ImgOps Exif Google Yandex

b1a12 No.2367[Reply]

saw that faros ai report saying merged prs without review jumped over 76%. it's getting ridiculous how much of the work is just being rubber-stamped by bots now.
>AI review took over bug-finding.
the tool can check if the syntax is right but it doesn't know if we should be using a token bucket or a sliding window for this specific feature. i don't see how having a second agent push back on the first one actually solves the lack of human intent in the diffs. anyone else feeling like they're just auditing logs instead of actual code?

https://thenewstack.io/review-decisions-not-code/


File: 1792098442564.jpg (208.66 KB, 1024x1024, img_1792098433865_40jbe587.jpg)ImgOps Exif Google Yandex

86ed5 No.2342[Reply]

been thinking about this all morning because i just saw another dev trying to patch cors after the api was already live. it's so exhausting watching teams treat security like a layer you just slap on top of existing code once something breaks. you can't just add it later without breaking everything.
>Security isn't something you add to software. It's something you build into it from the beginning.
it's much easier to handle things like encryption standards or field-level masking at the domain layer before the first pull request even exists. if you aren't doing threat modeling during architecture, you're basically just waiting for an incident report to hit your inbox. i don't know how anyone manages to maintain a clean pipeline when they're constantly chasing vulnerabilities in production. it feels like people think 'secure by design' is some magic trick instead of just basic engineering discipline. it's actually just common sense but nobody wants to do the extra work upfront. does anyone here actually get time for a proper threat model before shipping, or are we all just winging it?

found this here: https://www.freecodecamp.org/news/secure-by-design-engineer-security-into-architecture-before-writing-code/

86ed5 No.2360

>>2342
>if you aren't doing threat modeling during architecture, you're basically just waiting for an incident report to hit your inbox.

seen this happen with a recent migration where they forgot to audit the s3 bucket permissions until we were already leaking logs. its way easier to just fix the iam policy before the deployment goes live than trying to clean up a mess after the crawler finds it.
it was literally public

86ed5 No.2366

>>2342
>>2360 s3 buckets are such a disaster waiting to happen if you don't lock them down early. i dealt with a client last month who had an entire directory of sensitive user uploads set to public because someone wanted to bypass the auth middleware for a quick test and just forgot to revert it before prod.



File: 1792545326300.jpg (155.79 KB, 1024x1024, img_1792545317966_778srp6j.jpg)ImgOps Exif Google Yandex

6bfc0 No.2364[Reply]

Spent all morning digging through GSC for this client. They have these huge e-commerce categories where every single page has its own canonical pointing to itself instead of the main hub. It's making the crawl budget look like a disaster because Google is just wandering through endless filter combinations.
>Everything should point back to the root category
That's what the dev team keeps saying, but they don't realize how much junk we're feeding the index. If we don't clean up these self-referencing tags on page 2 and beyond, we're just wasting resources. I've seen it happen where a single deep filter creates a thousand new URLs that shouldn't even exist. It's not even about the weight of the pages, just the sheer volume of redundant paths.


File: 1792508386307.jpg (177.53 KB, 1024x1024, img_1792508378484_y2n14qlf.jpg)ImgOps Exif Google Yandex

b3dab No.2362[Reply]

spent too much time digging through slack threads trying to figure out if we used REST or gRPC for that one service. it's annoying how easy it is to lose the 'why' behind a choice when people leave, but keeping ADRs in the repo might be too much overhead for small changes.

https://hackernoon.com/architecture-decision-records-adrs-a-beginners-guide?source=rss


Delete Post [ ]
[1] [2] [3] [4] [5] [6] [7] [8] [9] [10] Next | Catalog
[ Home / About / Contact / WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]