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

Candidature: réutilisation du traitement par lot pour le refus d'une seule candidature #5502

Merged

Conversation

xavfernandez
Copy link
Contributor

🤔 Pourquoi ?

Les deux parcours sont censés suivre la même logique.

🍰 Comment ?

Décrivez en quelques mots la solution retenue et mise en oeuvre, les difficultés ou problèmes rencontrés. Attirez l'attention sur les décisions d'architecture ou de conception importantes.

🚨 À vérifier

  • Mettre à jour le CHANGELOG_breaking_changes.md ?
  • Ajouter l'étiquette « Bug » ?

🏝️ Comment tester ?

Les instructions pour reproduire le problème, les profils de test, le parcours spécifique à utiliser, etc. Si vous disposez d'une recette jetable, mettre l'URL pour tester dans cette partie.

💻 Captures d'écran

@xavfernandez xavfernandez added the no-changelog Ne doit pas figurer dans le journal des changements. label Jan 30, 2025
@xavfernandez xavfernandez self-assigned this Jan 30, 2025
@xavfernandez xavfernandez added the 1-recette-jetable [Payé à l’heure] Crée une recette jetable sur CC label Jan 30, 2025
name="refuse",
),
# TODO(xfernandez): remove this path in a week
path(
"<uuid:job_application_id>/siae/refuse/<slug:step>",
process_views.JobApplicationRefuseView.as_view(url_name="refuse"),
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Je garde ce chemin accessible et sans test pour ne pas casser les parcours en cours.
Ce chemin n'ayant plus de "name" plus aucun utilisateur ne devrait y être redirigé.

Copy link

🥁 La recette jetable est prête ! 👉 Je veux tester cette PR !

Copy link
Contributor

@tonial tonial left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

"step_data": {},
"step_files": {},
"extra_data": {},
[refuse_session_name] = [k for k in client.session.keys() if k not in KNOWN_SESSION_KEYS]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

il nous faudrait un helper pour remplacer ce
[k for k in client.session.keys() if k not in KNOWN_SESSION_KEYS]

@xavfernandez xavfernandez force-pushed the xfernandez/reuse_batch_refuse_for_single_refuse branch 6 times, most recently from 0cb2a0d to 76a44c9 Compare February 3, 2025 15:48
@xavfernandez xavfernandez force-pushed the xfernandez/reuse_batch_refuse_for_single_refuse branch from 76a44c9 to 4168dcf Compare February 4, 2025 15:30
Copy link
Contributor

@rsebille rsebille left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pas mieux.

@xavfernandez xavfernandez added this pull request to the merge queue Feb 6, 2025
Merged via the queue into master with commit ef37d1b Feb 6, 2025
11 checks passed
@xavfernandez xavfernandez deleted the xfernandez/reuse_batch_refuse_for_single_refuse branch February 6, 2025 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1-recette-jetable [Payé à l’heure] Crée une recette jetable sur CC no-changelog Ne doit pas figurer dans le journal des changements.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants