Prueba Automatizada de Publicación

Prueba automatizada de publicación cruzada entre DevTo y Hashnode con detección de borrado por git, parsing de frontmatter y gestión de IDs para despublicación.

11 sept 2025 • 2 min read • Q2BSTUDIO Team

Inteligencia-Artificial-

Prueba Automatizada de Publicación

Esta entrada es una prueba creada para verificar que el sistema automatizado de publicación cruzada funciona correctamente tras implementar la detección de borrado basada en git. La prueba cubre la creación de nuevas entradas en DevTo y Hashnode, el parseo del frontmatter y la extracción de metadatos, el almacenamiento de identificadores por plataforma dev_to_id y hashnode_id, y el flujo de despublicación usando git show --name-status HEAD para detectar posts eliminados.

Qué se prueba: nueva creación de post en DevTo y Hashnode; parseo del frontmatter y extracción de metadata; almacenamiento de IDs por plataforma; detección de borrado basada en git; flujo de despublicación cuando se elimina el post. Mejoras recientes: detección de borrado corregida usando git show --name-status HEAD; flujo simplificado sin comparación de commits; manejo de errores mejorado en la búsqueda del historial git; lógica más limpia y fácil de depurar.

Flujo esperado: publicación: GitHub Actions detecta nueva entrada; el publicador de DevTo crea el artículo; el publicador de Hashnode crea la entrada; el frontmatter se actualiza con los IDs de cada plataforma. Despublicación al eliminar: GitHub Actions detecta el archivo eliminado mediante git show --name-status HEAD; los scripts localizan el post en el historial git; extraen los IDs del frontmatter; llaman a las APIs de despublicación de ambas plataformas.

Contenido de prueba para verificar el sistema: function testCobelPost() { console.log( Cobel test post is working ); return { published: true, platforms: [ devto , hashnode ], deletionDetection: git show --name-status HEAD , status: success }; }

Sobre Q2BSTUDIO: somos una empresa de desarrollo de software especializada en aplicaciones a medida y software a medida, con experiencia en inteligencia artificial, ciberseguridad, servicios cloud aws y azure y soluciones de inteligencia de negocio. Desarrollamos proyectos a medida y ofrecemos consultoría para transformar procesos mediante automatización y agentes IA, además de implementar power bi y soluciones analíticas para mejorar la toma de decisiones.

Si tu objetivo es modernizar procesos o crear aplicaciones personalizadas, podemos ayudarte con desarrollo de aplicaciones a medida y con soluciones de automatización de procesos. Ofrecemos también servicios en ciberseguridad y pentesting, integración con servicios cloud aws y azure, proyectos de inteligencia artificial y soluciones de inteligencia de negocio con power bi para impulsar el valor de los datos.

Conclusión: si lees esto en DevTo o Hashnode, el flujo automatizado de publicación de Q2BSTUDIO está funcionando correctamente. El siguiente paso de verificación será eliminar la entrada y comprobar que la despublicación se realiza correctamente usando la detección basada en git.

A BREAK?

Play for a moment before you go

OUR SERVICES

How we can help you

Artificial intelligence

AI agents, chatbots, and intelligent assistants that automate tasks and serve your customers 24/7 to improve the efficiency of your business.

More info

Software Development

Web, mobile, and desktop applications, intranets, e-commerce, SaaS, and management platforms designed for your company's specific needs.

More info

Cloud services

Migration, infrastructure, managed hosting, high availability, and security on Microsoft Azure and Amazon Web Services to help your business scale without limits.

More info

Cybersecurity and pentesting

Security audits, penetration testing and protection of applications, data and infrastructure on-premise and cloud, with ethical hacking and regulatory compliance.

More info

Business Intelligence

Dashboards and data analysis with Power BI: we integrate your sources, design dashboards and KPIs and turn your data into decisions.

More info

Process automation

We automate repetitive tasks and connect your applications with n8n, Power Automate, Make, and RPA, eliminating manual work and increasing productivity.

More info

Training for Companies

We train your teams in technology with criteria: web development, databases, Git, best practices and security, automation with n8n, artificial intelligence for companies and creation of AI solutions with Azure AI Foundry.

More info

Code Auditing

We audit the code that you, your team or an AI create: we tell you what is good and what to improve, we secure it and make it ready for production, web or app.

More info

AI Image Generation

We create for you the images that your business needs with artificial intelligence: product, networks, advertising, illustration and avatars. You tell us what you want and we deliver it ready to use.

More info

AI Video Generation

We create videos with artificial intelligence for you: promotional, networking, virtual presenters, dubbing and animations. You tell us the idea and we will deliver it assembled and ready to publish.

More info

AI Conversational Avatars

We create conversational avatars with AI – digital humans with a face and voice – that serve your customers and teams with the knowledge of your company, on your website, interactive monitors, WhatsApp or Teams.

More info

Online Marketing and AI

Google Ads, Meta Ads, LinkedIn Ads and AI Engine Positioning (GEO/AEO): we attract customers and make your brand appear where they search for you, also on ChatGPT, Gemini and Perplexity.

More info

Do you have a project in mind?

Tell us your vision and we'll turn it into a software solution. Whatever the scope, we make your idea real.

Live Chat