mirror of
https://github.com/hoshikawa2/agent_platform_oci.git
synced 2026-09-07 18:23:46 +00:00
2.8 KiB
2.8 KiB
Alterações do pacote OKE load test — 2026-08-17
- substituído o fluxo de criação de novo OCI Load Balancer pelo reaproveitamento de
EXISTING_LB_OCID; - Service externo alterado para
NodePort, comBACKEND_NODE_PORTconfigurável; configure_existing_lb.shcria/reutiliza backend set, backends dos workers e listener;- smoke/load test externo resolvem o IP do LB existente ou usam
LOADTEST_EXTERNAL_URL; - bootstrap headless do Langfuse passa a ser validado com API autenticada;
- criado
sync_langfuse_client_secret.shpara copiar as keys do projeto Langfuse para o namespace do backend; - backend recebe
LANGFUSE_PUBLIC_KEY,LANGFUSE_SECRET_KEYeLANGFUSE_HOSTexplicitamente do Secretlangfuse-client; - checksum de runtime no pod template força rollout quando env/keys mudam;
validate_dependencies.shagora valida Oracle, Mongo, health do Langfuse e API autenticada;- smoke test confirma ingestão do trace no Langfuse (
LANGFUSE_TRACE_OK); 01_deploy_all.shexecuta configuração do LB existente antes das validações;- manual reescrito com fluxo completo, troubleshooting e critérios de aprovação.
v4 - Langfuse Secret synchronization fix
sync_langfuse_client_secret.shno longer sources.env.runtime, preventing backend OCI variables from altering the OCI CLI exec-plugin environment used bykubectl.- A failed
kubectl get secretis no longer mislabeled asSecret not found; the actual Kubernetes authentication/context error is printed. deploy_langfuse.shverifiesSecret/langfuse-runtimeimmediately before synchronization and explicitly passes Langfuse/backend namespaces to the child script.- Synchronization can fall back to
.env.langfuseonly for key values after Kubernetes Secret access has been validated.
Documentação — inicialização manual do Langfuse
- README atualizado para documentar explicitamente o fluxo pela UI após subir o Langfuse.
- Passos incluídos: criação de usuário, organização/empresa, projeto e API keys.
- Documentado onde copiar
pk-lf-*esk-lf-*em.env.langfusee.env.runtime. - Incluída atualização de
Secret/langfuse-runtime, sincronização paraSecret/langfuse-cliente validação obrigatória comLANGFUSE_AUTH_OKantes do deploy do backend. - O bootstrap headless continua existente no código, mas o procedimento operacional recomendado para esta validação passa a confirmar/criar o projeto e as chaves pela UI.
v6 - Langfuse validation fix
- Replaced
kubectl run --overridesJSON with a regular Pod YAML manifest. - Fixed
Invalid JSON Patchcaused by invalid JSON escaping in the validator. - Validator no longer sources
.env.runtime; it reads only required keys. - Added Kubernetes authentication preflight and explicit Langfuse HTTP auth result.